FS_REFERENCE choose edited page
Author: bartlomiejZajac
Publication Date: 5/15/2024 12:32
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
-
Author: MatthiasM - 5/16/2024 9:27
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
0 -
Author: bartlomiejZajac - 5/16/2024 9:52
Thank you very much , its solved!
Best regards
Bartłomiej Zając0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
2 commentaires