Forum for discussing general topics related to Couch.
5 posts Page 1 of 1
Hi all,

Is it possible to chnge the order the page link on the admin appear?

Basically, what you create new pages the start appearing in the admin area as buttons on the left.

Is there a was the change the order in which these appear?

Thanks

Steven
Hello Steven,

We can use the 'order' parameter of cms:template tag to dictate the order in which the templates get listed in admin-panel e.g.
<cms:template title='Blog' clonable='1' order='10'>

The larger the number, the lower down the template will appear.

Hope this helps.
screenshot-localhost 2015-01-30 21-04-55.png
screenshot-localhost 2015-01-30 21-04-55.png (5.55 KiB) Viewed 2244 times
Thanks for your response.

What I need to order are the buttons which are generated in the admin panel.

See attached image.

Thanks

Steven
Steven,

If by 'button' you meant the 'Homepage' in the screenshot, my reply was concerned with the same.
Assuming the 'Homepage' is 'index.php template, you can set its order by editing index.php file and adding the following highlighted parameter to it -
<cms:template title='Homepage' order='10'>

I must also add here that this sets the order only of the templates e.g. in your screenshot there is only one template (homepage). The other entries in the sidebar ('Users' etc.) are not templates and will always appear below all templates.

Also, needless to say, you need to have atleast two templates showing in the sidebar to see the effect of 'order' parameter. Please add one more template to your system to see how the ordering works.

Does this help?
I get it now!

Perfect!

That's exacly what I needed.

Thanks a million

Steven
5 posts Page 1 of 1
cron