Forum Discussion
StanGromer
2 years agoBoss
I think the answer is yes, but I still don't have an engineer cap, so I pretend to know what I am saying (Our engineer is on PTO else I would go get a smarter answer).
In our Custom Content for our article tiles component we built, we have this (It has like 100+ parameters, we go crazy)
<@component id="Custom.Article-Tiles-Final" carousel768="items:1" featured="true" showText="true" carousel="false" showDate="true" showMoreButton="false" sortBy="id DESC" displayNodes="Blog" end="true" carouselOptions="loop:true,nav:true,margin:0,items:1" displayArticles="1244758" showComments="false" showSubject="true" includeStyles="true" showArticleTeaser="true" showUser="false" start="true" coverPhoto="/html/assets/demo-image-6.jpg" characterLimit="231" carousel992="items:1" carousel1400="items:1" displayAmount="1" showLabels="false" carousel1800="items:1" grid="1" showViews="false" showUpvotes="false" uniqueId="t432t4gre"/>
In the component in Studio, he has this at the top of it
<#-- component settings -->
<#assign displayAmount = env.context.component.getParameter("displayAmount")!"4">
<#assign sortBy = env.context.component.getParameter("sortBy")!"post_time DESC">
<#assign displayNodes = env.context.component.getParameter("displayNodes")>
<#assign displayArticles = env.context.component.getParameter("displayArticles")!"">
<#assign characterLimit = env.context.component.getParameter("characterLimit")!"50">
<#assign featured = env.context.component.getParameter("featured")!"false">
<#assign dateStart = env.context.component.getParameter("dateStart")!"">
<#assign dateEnd = env.context.component.getParameter("dateEnd")!"">
<#assign where = env.context.component.getParameter("where")!"">
<#assign onlyLabel = env.context.component.getParameter("onlyLabel")!"">
<#-- bottomText, bottomLink, dateStart, dateEnd, tabs, where -->
That help at all? Anything more specific I could go look for in the code to help with?
Related Content
- 2 months ago