Jump to content

CMS page positions


Recommended Posts

Hi Jess,

have not checked, but from memory, I think they may be displayed in ID order, could try adding another page quickly and see if its the last item as the each new page gets the next id

I suppose you could cut and paste the copy from one CMS page to another so they are in the order your want, but possibly a pain if you have a few pages and meta data etc..

might also be worth testing if you sort cms pages by URl and Title in backoffice, if that affects display (but that may just be backoffice display)

Just a thought really

Link to comment
Share on other sites

Hey Viper :D Yeah I went through the files last night and they are in ID order which is a bit of a pain contemplated on doing it manually but I have four sites im developing using prestashop and then themes so its a bit time consuming so instead ive just left my new playtime magic store with the order i already had will change them around later when I have more time.
Cheers for getting back though :D

Link to comment
Share on other sites

  • 1 month later...
  • 7 months later...
There is no way to do it via back office so any hint as to where the file is to change the order of the cms links in the info block as its not displayed in the blockinfos.tpl like 1.0 :D


I do appreciate that PS is a cart system and not a dedicated CMS but the CMS is ten times better that the one in MAGENTO!!!

couldn't any one of the PS gurus give us the ability to sort the order of the CMS links like they have done for the module positioning? The Category can do with this too!

I am quite surprise that this was not done in the latest update of PS???
Link to comment
Share on other sites

Scott you are the man, thank you very much!!!

I have couple of question.....

1.
Can you instruct me on how to add it to my copy of PS 1.2 so that the modification that you have made will be available on all my future installs?
this way I will not have to do db modification as per your instruction?

2.
At the moment I am having to place 1. , 2. , 3. and so on when I am creating product Categories. Will it be possible for you to create similar to what you have done for the CMS so that I can just Add the Categories and later sort them out as per the new CMS sort hack that you have created?

Thanks again!

Link to comment
Share on other sites

Categories would be a different fix.

If you want to permanently make this d/b change part of your ps install, you could modify install/sql/db.sql, i.e. replace the existing create table for cms with

CREATE TABLE `PREFIX_cms` (
 `id_cms` int(10) unsigned NOT NULL auto_increment,
 `sort_order` int(8) unsigned default '0',
 PRIMARY KEY  (`id_cms`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...