[SOLVED] Reset All Layouts to Global Layout Settings
dj-3plet
Joined: 2005-03-12
Posts: 70 |
Posted: Sat, 2005-03-26 13:59 |
hello. i've imported all my G1 albums into G2. i have maybe 100 albums. the layouts in G1 were smaller and i could fit more columns than in G2. Now i want to change all the layouts. all of my previous layouts had 4 columns. now i want 3, but to change the layout requires changing each and every album. is there a way to reset all album layouts to the global layout setting? ---- |
|
Posts: 32509
i just did that.
go to site admin->Layout & Themes->Matrix-> Columns per album page = 4, save.
that did change all albums that use the matrix layout and global settings (for me that were all albums).
Posts: 70
thanks for replying. however, for some reason when i imported my albums from G1, none are set to the global setting, so changing the global setting doesn't affect the albums.
is there a way to force all the albums to select global settings? maybe by fooling around with the database?
Posts: 32509
hmm, first time i do that, so do it at your own risk...
(it worked for me)
the <> 0 line makes sure it doesn't delete the default parameters, i.e. the one of your root album.
then go to yourgalleryurl/lib/tools/test/
and hit "FlushCache" and "FlushTemplates".
that's it.
Posts: 70
it worked! thank you very much! G2 is the best...