contentRoot path

sbarre5's Avatar

sbarre5

04 Mar, 2015 07:01 PM

Is it possible to get the $contentRoot path when pulling in an XHTML block to an output region?

  1. 1 Posted by Ryan Griffith on 04 Mar, 2015 08:15 PM

    Ryan Griffith's Avatar

    Hi,

    Currently it is not possible to get information about the block itself, only the contents of the Block.

    Instead, you would need to do one of the following:

    • Include the Block using a chooser within the Page's Data Definition and assign a calling page Index Block to the region
    • Bypass a Block all-together and use a stand-alone Velocity Format that uses the Locator Tool to pull in the block you need

    Please let me know if you have any questions.

    Thanks!

  2. Ryan Griffith closed this discussion on 11 Mar, 2015 07:23 PM.

Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

26 Aug, 2016 01:19 PM
25 Aug, 2016 03:02 PM
25 Aug, 2016 12:50 PM
24 Aug, 2016 08:43 PM
24 Aug, 2016 07:20 PM
21 Aug, 2016 01:20 PM