Search the FirstSpirit Knowledge Base
Hi!
I would like to have a solution to limit FS_REFERENCE to choose only actual edited page (i need so then i can choose a section from that page). I know its possible to place a page name instead of "root" but i would like to be able to maintain it on every page in my project so that value needs to be dynamic.
Here is my actual input code:
<FS_REFERENCE name="lt_link" hFill="yes" sections="yes" useLanguages="no">
<LANGINFOS>
<LANGINFO lang="*" label="Content Link" description=""/>
</LANGINFOS>
<PROJECTS>
<LOCAL name=".">
<SOURCES>
<FOLDER name="root" store="pagestore"/>
</SOURCES>
</LOCAL>
</PROJECTS>
</FS_REFERENCE>
Best regards
Bartłomiej Zając
Hello Bartłomiej,
you could use the section attribute with the value "only" instead of "yes". Than it should work out of the box.
https://docs.e-spirit.com/odfs/template-develo/forms/input-component/reference/index.html#s0_11
Hello Bartłomiej,
you could use the section attribute with the value "only" instead of "yes". Than it should work out of the box.
https://docs.e-spirit.com/odfs/template-develo/forms/input-component/reference/index.html#s0_11
Thank you very much @MatthiasM , its solved!
Best regards
Bartłomiej Zając