TYPO3新手。试着学习。
假设我的页面上有大约10个内容元素。我会将它们添加到后台UI的"page“列表中。
在使用fluid时,如何通过Typoscript实际使用它们?
我有一个名为"logoTitle“的content元素和一个名为" content”的content元素。都在“正常”栏中。
如何通过Typoscript访问它们?
我试过这样的方法:
content < styles.content.get #only get the "content" one from the normal column
logoTitle < styles.content.get #only get the "logoTitle" one from the normal column谢谢!
发布于 2015-02-13 04:23:10
通常情况下,TYPO3:normal, left, right, border中有4个默认列,因此您可以将元素放入单独的列中(假设content放入normal,logoTitle放入border,那么TS应该如下所示:
content < styles.content.get
logoTitle < styles.content.getBorder编辑
对于更多的列/映射元素,您至少有4种可能性:
Jost
就我个人而言,我更喜欢这样的顺序,因为前两个选项允许保持整洁,无论如何,第三个选项是最传统的-用于将新列呈现为文档中的check colPos关键字。
https://stackoverflow.com/questions/28486945
复制相似问题