Forum
Page Attributes
Hello
I want to add a page attribute setting to allow a user to change the name of a button that is in the menu and would like to use the following
<perch:pages id="enquiry_form" label="Enquiry Form" type="text" suppress="true" divider-before="Enquiry Form" />
But its not working
However i have page attributes set using a select box and they work fine
<perch:pages id="bodyclass" label="Page Theme" help="Select the theme for this page" type="select" options=",Schools|green, Activity|blue, Instructor|orange" suppress="true" divider-before="Page Style Settings" />
im using the following to display the vars and the page theme is displayed but not the text one
echo '<pre>';
print_r(PerchSystem::get_vars());
echo '</pre>';
How is it not working?
Is that opening comma in your options a problem?
From your example: