We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Auto Insert URLS in Templates
I a have a template that uses a select menu to choose a URL for a button in a region. Looks like this:
<a href="<perch:content id="usp-link" type="select" options="* Please Select URL|,Brochures|brochures,Contact Us|/contact" allowempty="false" required="true" label="Page Link" />">
Is there any way to draw the URL list from the pages that exist in Perch? And any way to auto capitalise the name shown in the list like "Brochures|brochures.php"?
And if I am only using Perch navigation for certain pages in the site that use master templates to create pages from inside Perch is there a way to combine hard coded urls in this list with ones created by Perch?
Want to reply to this thread?Login with Perch