• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: [SOLVED] Changing the order in which Pages are added
PostPosted: Mon Sep 06, 2010 10:39 am 
Offline
New Member

Joined: Mon Sep 06, 2010 10:02 am
Posts: 7
Hi all,

I am trying to redo a site that is written entirely using HTML, CSS and PHP in CMSMS.
I'm still new to CMSMS, so I figure out a lot of things using the Search function in this forum, but now I have encountered an issue which I haven't found the answer to here.

In the original: if the admin created a new article, he'd put the name and link of the page on top of the others, such as this:

MENU
  • Item 3
  • Item 2
  • Item 1

I tried to achieve the same situation in CMSMS. As you all know, if you add a new page there it comes below the others. I was wondering if there is any way to get the same results in CMSMS.
The reason I use Pages instead of the News module, is that they have to appear in the menu. And because they are not frequently updated (and more meant for casual reading), the choice of putting new pages on top in the menu is preferred.

Thanks in advance...


Last edited by F80 on Thu Sep 09, 2010 9:54 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Changing the order in which Pages are added
PostPosted: Mon Sep 06, 2010 6:28 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 10209
Location: Arizona
The simplest way would be to add the page then hit the Reorder Pages button and move the page up...

_________________
Extensions » Modules/Tags click the name of the module/tag or Help to the right to get the parameters it takes
Right click and view source is a great way to see what you have to work with
Check ver. CMSMS, PHP, server OS, in System Information page
Default content, read it here, http://multiintech.com/defaultcontent/
People are Wonderful Business is Great Life is Terrific
Image


Top
 Profile  
 
 Post subject: Re: Changing the order in which Pages are added
PostPosted: Tue Sep 07, 2010 7:04 am 
Offline
New Member

Joined: Mon Sep 06, 2010 10:02 am
Posts: 7
I know and that's for now the way to do it, but the site already has 25 pages and 25 menu-items...
So to manually do that every time eventually becomes a bit of a hassle, that's why I wondered if there was a better way to do that.


Top
 Profile  
 
 Post subject: Re: Changing the order in which Pages are added
PostPosted: Tue Sep 07, 2010 11:06 am 
Offline
Support Guru
Support Guru
User avatar

Joined: Mon Jul 04, 2005 5:12 pm
Posts: 4827
Location: Ferrara, Italy
Try in your menu template

Quote:
.....
{foreach from=$nodelist|@array_reverse item=node}
.....


Alby

_________________
CMSMS Support Team
Italian Admin and Moderator

Plugins: Geolocate hostip, Multiple random image, Image rotator (beta), Content Pagination
Modules: ForumMadeSimple (Howto), TranslationManager
Multilingual: MLE is not CMSMS


Top
 Profile  
 
 Post subject: Re: Changing the order in which Pages are added
PostPosted: Tue Sep 07, 2010 1:00 pm 
Offline
New Member

Joined: Mon Sep 06, 2010 10:02 am
Posts: 7
Thank you for the tip,

I played around with it for a bit and it works fine, except that I can't find a way to make it work without leaving one item (the "Home" item) just on top of the others. I'm sure it's possible, I'm just not that pro with Smarty yet ;)

But thanks again for helping me out!


Top
 Profile  
 
 Post subject: Re: Changing the order in which Pages are added
PostPosted: Thu Sep 09, 2010 9:26 am 
Offline
New Member

Joined: Mon Sep 06, 2010 10:02 am
Posts: 7
I found the way, it's fairly simple if you think about it...

Alby's solution worked, you just have to mark the home page to not show up in the menu.
Then you can hardcode the link in the template (Templates > Layout) above the menu.

Thanks everyone!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Arvixe - A CMSMS Partner