bartlomiejZajac
Occasional Observer

FS_REFERENCE choose edited page

Jump to solution

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

0 Kudos
1 Solution

Accepted Solutions
MatthiasM
Crownpeak employee

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

 

View solution in original post

2 Replies
MatthiasM
Crownpeak employee

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

0 Kudos