Forum Discussion
Jake_N - Certainly, here are a few docs which can help you -
https://community.khoros.com/t5/Components-endpoints-and-the/Create-a-custom-component/ta-p/108973
https://community.khoros.com/t5/Pages-and-layouts/About-page-layouts/ta-p/108951
I hope this helps.
Thanks VarunGrazitti for the links. I have looked through those several times. However, they do not have the additional information that I am looking for.
My finding:
I figured that I can add quilts inside components by using the following code within a custom component named "custom.test.ftl".
<#assign param = "Hello World" >
<@component id="quilt:BlogArticle" param=param />
Within this quilt, there is another component named "custom.test.get-param.ftl" which I try to grab the param that was passed to the quilt using the code below.
<#attempt>
${env.context.component.getParameter("param")}
<#recover>
${(page.context.component.getParameter("param"))!"No param found!"}
</#attempt>
I expect at least one of these to work but to no avail. I have stopped looking into it unless someone knows a way of doing it? So far this is the most creative way I can figure out.
Related Content
- 9 months ago
- 2 years ago
- 2 years ago