SDL Tridion 2011 SP1 模式中 Tridion 设计中的动态下拉菜单 [英] Dynamic drop downs in Tridion designing in schema in SDL Tridion 2011 SP1

查看:30
本文介绍了SDL Tridion 2011 SP1 模式中 Tridion 设计中的动态下拉菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在 SDL Tridion 2011 SP1 中创建架构.我注意到一件事.

I am working on a Schema creation in SDL Tridion 2011 SP1. I have struck at one thing.

我必须向用户显示三个下拉菜单.

I have to display three drop downs to user.

  1. 列表:国家
  2. 列表:状态
  3. 列表:位置

如果用户在下拉列表中选择了一个国家,则需要根据它填充州.根据所选状态,我必须填充位置.

If the user selects one country in the drop down, need to populate the states according to it. Depending the selected state I have to populate Locations.

我想通过类别来实现.

  1. 为国家/地区创建类别
  2. 为每个国家/地区创建了作为抽象关键字的国家.
  3. 在每个状态下将位置创建为普通关键字作为普通关键字.

任何人都可以建议如何实现以下目标:

Can any one suggest how to achieve the following:

  1. 我将提供三个下拉菜单,分别是国家、州和地点.
  2. 如果用户选择任何国家/地区,则应相应地填充州,并根据所选的州填充位置.

我需要对 tridion 进行任何定制还是可以直接在 Tridion 中实现?

Do I need to do any customization to tridion or it can be implemented in Tridion directly?

推荐答案

您真的需要选择国家和地区吗?如果您从分类结构中选择 Location 关键字,您是在间接选择国家和州.我会将其实现为单个树类型关键字字段.

Do you really need to select Countries and States? If you select a Location keyword from the taxonomy structure, you are indirectly selecting the Country and State. I would implement this as a single tree type keyword field.

例如选择Dallas",这将意味着您选择了Texas"和USA"

E.g. Select "Dallas" and it will imply that you have selected "Texas" and "USA"

这样你只需要一个字段.在 CME 中,您将看到能够通过包含子关键字查看针对美国分类的项目,并且在内容交付方面,您将能够查询内容.

That way you only need one field. In the CME you will see be able to see items classified against USA by including child keywords, and on the Content Delivery side you will be able to query the content.

这篇关于SDL Tridion 2011 SP1 模式中 Tridion 设计中的动态下拉菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆