I am having an issue getting a custom editable field to display on a page in my website. I have tried different combination of <cms:show /> and <cms:get_custom_field />, but am having no luck. I suspect it is because I am still trying to grasp clonable pages. I am creating a client section that will display links to different users. I will use the admin panel to write in different links in each user, and I want it to display on the users page.
Here is my users/index.php file:
How do I get the 'links' to show on another page as just a read only. Can someone point me in the right direction?
Here is my users/index.php file:
- Code: Select all
<?php require_once( '../couch/cms.php' ); ?>
<cms:template clonable='1' title='Users' hidden='1' parent='_user_module_'>
<!--
If additional fields are required for users, they can be defined here in the usual manner.
-->
<cms:editable name='firstname' required='1' title="First Name" type='text' />
<cms:editable name='lname' required='1' title='Last Name' type='text' />
<cms:editable name='phone' required='1' title='Phone Number' type='text' />
<cms:editable name='company' title='Company Name' type='text' />
<cms:editable name='website' required='1' title='Website URL' validator='url' type='text' />
<cms:editable name='links' title='Links' type='richtext' />
</cms:template>
<?php COUCH::invoke(); ?>
How do I get the 'links' to show on another page as just a read only. Can someone point me in the right direction?