shri Posted March 19, 2015 Share Posted March 19, 2015 (edited) I have 8 cms pages in my site. Whenever i try to add them to the ledt column in Modules->Modules-> cms block-> Left Block The cms pages are order automatically and randomly. I want to order them properly in alphabetical order. Does any one have an Idea how to do this?? Edited March 19, 2015 by shri (see edit history) Link to comment Share on other sites More sharing options...
rocky Posted March 19, 2015 Share Posted March 19, 2015 I just checked the code and the module sorts the CMS pages by position. I went to the Preferences > CMS tab and I see the Position column there, though strangely, there's no option to change the position like there is on the Catalog > Categories. If you want to avoid editing code, it seems your only choice is to manually adjust the positions by opening the ps_cms table in phpMyAdmin. If you don't mind editing some code, look for the following at around line 373 of modules/blockcms/BlockCMSModel.php: ORDER BY `position`'; and change it to: ORDER BY cl.`meta_title`'; 1 Link to comment Share on other sites More sharing options...
shri Posted March 19, 2015 Author Share Posted March 19, 2015 Thank you that helped. It looks better now. Link to comment Share on other sites More sharing options...
Guest locen Posted December 11, 2015 Share Posted December 11, 2015 Hi, I would like to see on some pages CMS blocks in the left column and on other pages different blocks. So I would columns different pages CMS. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now