Forum for discussing general topics related to Couch.
2 posts Page 1 of 1
hi all,

is there a way to get a select box instead of a text box under admin -> creating cloned pages.

I have a field ( currently set as a textbox ) but the data within will repeat for all cloned pages, 5-7 options, so instead of my tying it every time a create a page, i can just select it.
I think you can use relations for this, Devan.

Create a clonable templates, say named 'snippets.php'. Put all the reusable contents into as clonable pages.

Now on the main template, place a 'relation' editable region (many-to-one).
This will show the dropdown you want.

On the front-end, use the selected value to get the related snippet and show its content.
2 posts Page 1 of 1
cron