I have webpage with more than 700 Albums in CMSMS 1.9.4.3
(A lot, I know)
When upgrading CMSMS page to 1.10.3 and Album module to 1.10.3.
I discovered, that code to show Album in page
{cms_module module='album' albums='33'}
not swowing Albums any more - only blank space in page instead of showing thumbails
In this forum furm I discovered that you must replace 'album' with 'Album', because calls in 1.10 are case sensisitve.
viewtopic.php?f=8&t=58332
Fine, that solutinon works.
BUT I have to manualy change call code in over 700 pages.
Can be this made at once, to replace in all pages call code 'album' with 'Album'
Thank you very much for your help.
Album -repair call code in multiple pages at once
Re: Album -repair call code in multiple pages at once
There's no find and replace in CMSMS, but you should be able to do it in the database easily enough. There's lots of tutorials online for phpmyadmin and command line options. Have a reliable backup before you start, of course.
I know it's a bit late now, but a better option would probably have been to have the module call in the template, and just a method for choosing the album number in the content editor. That way, you'd only have to change it once in the template and not 700 times in content pages.
I know it's a bit late now, but a better option would probably have been to have the module call in the template, and just a method for choosing the album number in the content editor. That way, you'd only have to change it once in the template and not 700 times in content pages.
Not getting the answer you need? CMSMS support options
- paulbaker
- Dev Team Member
- Posts: 1465
- Joined: Sat Apr 18, 2009 10:09 pm
- Location: Maidenhead, UK
- Contact:
Re: Album -repair call code in multiple pages at once
Yeah I would do this in phpmyadmin, exporting the database (which will mean you're backing up at the same time) and opening in my favourite text editor and doing a search and replace. Then importing again. There is probably a quicker/smarter/more programmatic way.
Your CMSMS installation is hidously out of date, point your browser here for how to update it:
https://docs.cmsmadesimple.org/upgrading/to-cmsms-2.x
Your CMSMS installation is hidously out of date, point your browser here for how to update it:
https://docs.cmsmadesimple.org/upgrading/to-cmsms-2.x
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016