maf Posted June 10, 2013 Share Posted June 10, 2013 (edited) Hi, I have created several CMS pages in PS 1.5.4.1 and now I need to reorder the links, so that they appear in a reasonable order in CMS block. But i cannot see any way how to do this. In the Preferences/CMS backoffice page I have a table with all the pages listed within relevant CMS category, and there is a column named Position, but in this column there are only fixed numbers which I cannot change and nothing seems to be dragable or to give me any other chance to reorder the position of my pages (second screenshot). Nor in the CMS block module configuration I haven't found any way to change the position of individual links, while I can change position of CMS blocks, if I create several. I have seen some quite recent tutorials on Prestashop's CMS and there are screenshots with up/down arrows in the Position column at the place, where I have fixed numbers only: What's wrong? I tried to make another clean installation but the problem is there too: Do I miss something? Can you help, please? Edited July 11, 2013 by El Patron (see edit history) 1 Link to comment Share on other sites More sharing options...
maf Posted June 11, 2013 Author Share Posted June 11, 2013 Do you have clickable arrows or numbers in your PrestaShop 1.5.4.1? Give me a help/advice, please. Link to comment Share on other sites More sharing options...
Pronux Posted June 19, 2013 Share Posted June 19, 2013 Same problem here Seems to be a bug, have you found a solution? Link to comment Share on other sites More sharing options...
maf Posted June 19, 2013 Author Share Posted June 19, 2013 (edited) No, I have not found any nice solution yet. May be some editing of database tables, but it is not a solution for the shop user/marketer. Or display CMS pages via another (third-party) module - ContentBox, HTMLBox. I am confused if this is a bug, only two people have this problem? Edited June 19, 2013 by maf (see edit history) 1 Link to comment Share on other sites More sharing options...
Pronux Posted June 19, 2013 Share Posted June 19, 2013 Thanks for your reply, maybe it has something to do with this bug: http://forge.prestashop.com/browse/PSCFV-8614 1 Link to comment Share on other sites More sharing options...
Pronux Posted June 19, 2013 Share Posted June 19, 2013 At least 2 other members seem to have the same problem: http://www.prestashop.com/forums/topic/247667-cms-block-position-der-seiten-andern/ Link to comment Share on other sites More sharing options...
maf Posted June 19, 2013 Author Share Posted June 19, 2013 Wow, you are great, thanks for the link. I looked at the github referenced in the bug report and found that my version of controllers/admin/AdminCmsController.php (PS 1.5.4.1) is the new one (green lines are present, red ones missing). I tried to put back the red lines and now it works, arrows appear and moving the lines/links in backoffice takes effect on frontend :-) I donť now yet if this haven't broken something else (have a backup of the original file for such case). Link to comment Share on other sites More sharing options...
Pronux Posted June 21, 2013 Share Posted June 21, 2013 Ok, thanks for the additional info. I've added a comment on github: https://github.com/Pronux/PrestaShop/commit/e9b8af0e974dfd8d0a05c8dbaea231cfce77472f#commitcomment-3472944 Hope they can fix it for 1.5.4.2 Link to comment Share on other sites More sharing options...
Pronux Posted June 27, 2013 Share Posted June 27, 2013 FYI: Bug was fixed today: https://github.com/PrestaShop/PrestaShop/commit/453bb826ef2081175700b258b0ca799f3de605f6#controllers/admin/AdminCmsController.php 2 Link to comment Share on other sites More sharing options...
Optimus_Sam Posted June 27, 2013 Share Posted June 27, 2013 So what is it exactly that you have to do to fix this? I can't read code... =) Link to comment Share on other sites More sharing options...
maf Posted June 27, 2013 Author Share Posted June 27, 2013 To fix it, you shall edit your controllers/admin/AdminCmsController.php file according the github linked above (https://github.com/P...sController.php), i.e. remove the lines marked with red and add the lines marked green. Thanks for the link, Pronux. 2 Link to comment Share on other sites More sharing options...
DustyZ Posted June 30, 2013 Share Posted June 30, 2013 Worked fine for me! I was going nuts trying to figure out what was causing this. Link to comment Share on other sites More sharing options...
vekia Posted July 10, 2013 Share Posted July 10, 2013 weird, because for me this page works well. can you open the https://github.com/ ? Link to comment Share on other sites More sharing options...
Lyssa Posted July 18, 2013 Share Posted July 18, 2013 (edited) Wow, you guys are magic! I LOVE this forum!!! For anyone looking at this in the future, after changing the sort order in "Preferrences - CMS" I had to go to "Modules - Modules - CMS Block Configuration, and just hit *save*. Only then did the order show up correctly in my footer. Edited July 18, 2013 by Lyssa (see edit history) 2 Link to comment Share on other sites More sharing options...
titi222 Posted July 19, 2013 Share Posted July 19, 2013 Hi I have the same problem I change the file and now I can order my cms pages but nothing is save at this point ! How do I do ? I try method by Lyssa but because nothing it's save at this point, the order on block cms module is the same. 1 Link to comment Share on other sites More sharing options...
vekia Posted July 19, 2013 Share Posted July 19, 2013 can you check browser console log? as you said feature to change the position works, but the changes doesn't appear, right? Link to comment Share on other sites More sharing options...
titi222 Posted July 19, 2013 Share Posted July 19, 2013 can you check browser console log? Sorry but what's that? where I can found it ? I can change position and it's ok. But there is non button to save and when I go back to this page, the changes are not saved. Link to comment Share on other sites More sharing options...
Gee Posted August 5, 2013 Share Posted August 5, 2013 Wow, you guys are magic! I LOVE this forum!!! For anyone looking at this in the future, after changing the sort order in "Preferrences - CMS" I had to go to "Modules - Modules - CMS Block Configuration, and just hit *save*. Only then did the order show up correctly in my footer. It works, but you have to use the up/down arrow instead of the drag & drop, to change the sort order in "Preferrences - CMS". Just go to "Modules - Modules - CMS Block Configuration, and just hit *save*, like said by Lissa! Thanks everybody! 1 Link to comment Share on other sites More sharing options...
sunnyb0y Posted August 7, 2013 Share Posted August 7, 2013 Thanks, this fix works for reordering cms pages. When this fix is implemented though: the My Account and Information columns in the footer on my site swap positions randomly on page load - sometime My Account is the second column and Information is the third - others its the opposite. Link to comment Share on other sites More sharing options...
fab68 Posted August 19, 2013 Share Posted August 19, 2013 I had the same problem, I have made the fix and it now it works perfectly. Thank you ! Link to comment Share on other sites More sharing options...
gr4devel Posted August 27, 2013 Share Posted August 27, 2013 (edited) Sorry for writing here on a SOLVED thread but I've the same problem stated by the thread creator and despite I've just merged my local branch with the PS master and release branches I can't order the CMS links. I can change their position but can't save them. Please help. EDIT: also in the development branch the over mentioned fix isn't present Edited August 27, 2013 by gr4devel (see edit history) Link to comment Share on other sites More sharing options...
fab68 Posted August 30, 2013 Share Posted August 30, 2013 Sorry for writing here on a SOLVED thread but I've the same problem stated by the thread creator and despite I've just merged my local branch with the PS master and release branches I can't order the CMS links. I can change their position but can't save them. Please help. EDIT: also in the development branch the over mentioned fix isn't present Once you have fixed it as explained by Pronux, you can drag the pages up and down or use the arrows. You don't need to save, the position is updated instantly. Maybe you need to reload the page. Link to comment Share on other sites More sharing options...
zeisei Posted January 14, 2014 Share Posted January 14, 2014 You are brilliant. It works fine. And if someone refreshes the BO page of Module blockcms, it then re-arranges the order of CMS links enabled so that they are displayed in order also in the footer. Keep on helping. Link to comment Share on other sites More sharing options...
connectcase Posted April 25, 2014 Share Posted April 25, 2014 Wow, finally! Thanks Gee, your suggestion did the trick for me! Link to comment Share on other sites More sharing options...
Jeff Chan Posted May 11, 2014 Share Posted May 11, 2014 work perfect! thanks for sharing! I've clear the cache and reload the page after re-order the CMS. Thanks Link to comment Share on other sites More sharing options...
Guest Posted June 12, 2014 Share Posted June 12, 2014 Hello. I have a Prestashop 1.5.4 and I had problem with most CMS pages, but without the ones that had sub-categories. So, I found I probably once made a mistake when accidentally changing the paths in Preferences -> SEO&URL, I had in CMS page path: {rewrite}-{id} and it should be: {rewrite}-{id}/ so it just needed to be with slash. So, you have to always remember about the default SEO settings before making changes. I also put the same answer here: http://www.prestashop.com/forums/topic/167752-solved-cms-url-rewrite-problem-page-not-found/ as I found that other problem with links in Prestashop that might solve both topics in some situations. Link to comment Share on other sites More sharing options...
SB.ru Posted August 21, 2014 Share Posted August 21, 2014 (edited) . Edited August 21, 2014 by SB.ru (see edit history) Link to comment Share on other sites More sharing options...
ewhale Posted September 11, 2014 Share Posted September 11, 2014 Is there an update of this script modification for prestashop 1.6.0.9, would really like to reorder my CMS links but do not find the way :S Link to comment Share on other sites More sharing options...
ewhale Posted September 11, 2014 Share Posted September 11, 2014 Alternate solution, simple and easy but not in BO is available here for PS 1.6http://www.prestashop.com/forums/topic/326314-reorder-blockcms-link/ Link to comment Share on other sites More sharing options...
rajinkapoor Posted February 8, 2015 Share Posted February 8, 2015 having the same problem in prestashop 1.6. please help. Thanks Link to comment Share on other sites More sharing options...
web-port.pl Posted May 25, 2015 Share Posted May 25, 2015 (edited) It's great solution WORK! Work in 1.6.14! Edited May 25, 2015 by netark2 (see edit history) Link to comment Share on other sites More sharing options...
PF22 Posted July 8, 2015 Share Posted July 8, 2015 Hi there. It doesn't work for me Prestashop 1.6.0. I changed the position of my last CMS block I created but it didn't appear right in the footer. However in table ps_cms, the "position" is 0, I tried to clear cache but no change... Link to comment Share on other sites More sharing options...
vucumbra Posted December 11, 2016 Share Posted December 11, 2016 not work with ps 1.6.1.10 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