如何将视图块分配给 CCK 条目的动态分类术语页面
http://localhost/rkk/work-type/non-profit
我创建了一个工作类型下的词汇和术语。我创建了一些帖子...
然后我创建了一个视图块来列出我的条目,并分配给一个页面...到目前为止一切都很好。
我在条目详细信息页面显示工作类型。我有一个链接“点击查看其他非营利(指定工作类型)作品”。当我单击此链接时,它会列出分配给该特定工作类型的条目。没关系,但它显示标题/正文/阅读更多链接:/我需要此页面的自定义视图,就像我为列出所有帖子所做的视图块一样...
我可以将自定义创建的视图块分配给此分类条目列表页面吗? url 根据工作类型而变化,那么我如何将视图分配给变化的 url :/
感谢帮助!!多谢!
更新更多信息:
我有一个词汇表(工作类型),以及(公司、非营利组织等...)下的术语,
我有一个代表“工作”的 CCK,并且作为一个领域,我有选择的工作类型词汇。
我有一个自定义视图块来显示页面中的作品(缩略图、标题、描述、链接等)。
当我单击一个作品时,它会转到特定的作品条目详细信息页面,我在其中放置一个链接“单击以查看其他-术语(公司)-作品”等。
当我单击此链接时,它会在该链接下显示作品条目特定术语。效果很好。但它显示为默认外观(如下所示),但我需要此页面与主要作品页面列表(缩略图、标题、描述、链接等)相同。我已经有一个用于此的视图,但如何将此视图分配给这个动态 url 分类页面?我找到了模块 http://drupal.org/project/tvi ,但无法使其工作。
http://localhost/rkk/work-type/non-profit
I created a vocabulary and terms under for work-type. and I created some posts...
Then I created a View Block to list my entries, and assigned to a page... everything fine so far.
I display the work-type at entry details page. and I have a link "click to see other non-profit(assigned work type) works". When I click this link, it lists entries assigned to that particular work-type. thats fine, but it displays title/body/readmorelink :/ I need custom view for this page, like I did View Block for listing all posts...
Can I assign custom created View Block to this taxonomy entry list page? the url changes according to work-type, so how do I assign view to changing-url :/
Appreciate helps!! thanks a lot!
UPDATE FOR MORE INFO:
I have a vocabulary (work type), and terms under (corporate, non-profit, etc...)
I have a CCK for "work", and as a field I have select terms of work-type vocabulary.
I have a Custom Views Block to display works in a page (thumb, title, desc, link, etc.).
When I click a work, it goes to particular Work entry details page, I place a link in there "click to see other -term (corporate)- works", etc.
When I click this link, it displays the Work Entries under that particular term. it works fine. but it displays as default look (shown as below), but I need this page same as main works page list (thumb, title, desc, link, etc.) I already have a View for this, but how can assign this View to this dynamic url taxonomy page? I found the module http://drupal.org/project/tvi , but cant make it work.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
用视图覆盖术语页面应该更简单,已经有一个为此预先配置的视图:taxonomy_term(默认情况下禁用)
It should be simpler to overwrite term pages with a view, there's already a pre-configured view for this : taxonomy_term (wich is disabled by default)