We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10298
    • 53 Posts
    Hi
    I am trying to achieve the following. I have a frontpage which have six content blocks placed.

    Each content block is created as subpages to the frontpage. The frontpage template has included TVS with document bindings to the corresponding subdoc.

    My problem is that my customer likes the frontend editing feature and when he clicks the edit button it will not show up the docs text but only the Document binding variable.

    How can achieve a link to the appropriate document ?
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      I had a similar problem, and I made a snippet that checked the user’s login status. If he was logged in as the correct user, it did a $modx->runSnippet(’Wayfinder’....) call, and created a menu to the subdocuments which only the logged in editor user sees.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org