tag:help-archives.hannonhill.com,2010-02-09:/discussions/velocity-formats/12268-system-asset-pseudo-tagCascade CMS: Discussion 2015-08-07T12:59:23Ztag:help-archives.hannonhill.com,2010-02-09:Comment/375644742015-08-04T20:38:02Z2015-08-04T20:38:02ZSystem asset pseudo tag<div><p>Hi Joyce,</p>
<p>If your <code>navigation</code> page is included within the
Index Block and you are using a consistent folder structure, you
could use some XPath to locate that page and output a dynamic
path.</p>
<p>For example, consider the following snippet:</p>
<pre>
<code>#set ( $navigationPage = $_XPathTool.selectSingleNode($contentRoot, "//system-folder[@current]/system-folder[name='inc']/system-page[name='navigation']") )
[system-view:external]
<?php include_once("[system-asset]${navigationPage.getChild("path").value)}[/system-asset]"); ?>
[/system-view:external]</code>
</pre>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/375644742015-08-05T15:36:32Z2015-08-07T12:59:23ZSystem asset pseudo tag<div><p>Hi Ryan,</p>
<p>Ah, of course. This works. Thanks!</p>
<p>Joyce</p></div>Joycetag:help-archives.hannonhill.com,2010-02-09:Comment/375644742015-08-05T16:43:13Z2015-08-05T16:43:13ZSystem asset pseudo tag<div><p>Thank you for following up, Joyce, I am glad to hear my
suggestion did the trick.</p>
<p>I'm going to go ahead and close this discussion, please feel
free to comment or reply to re-open if you have any additional
questions.</p>
<p>Have a great day!</p></div>Ryan Griffith