Page 1 of 1
Current Theme?
Posted: Wed May 30, 2007 6:03 pm
by markw314
I'm a new user to Serendipity, so perhaps I'm missing something obvious. How do I know what theme I'm currently using?
Posted: Wed May 30, 2007 6:28 pm
by d_cee
Hi
If you go to your admin and click on manage styles all the templates have a disc icon besides them (which you would click on if you wanted to install that style for you blog). The template you have installed doesn't have a disc icon beside it.
HTH
Dave
Posted: Wed May 30, 2007 6:46 pm
by markw314
Thanks. Missed that part.
Posted: Thu May 31, 2007 12:22 pm
by undisclosed
Greetings,
I followed the directions provided here (click on disk icon) to
choose/install my desired (bundled) theme. But the Default
theme (carl_contest) is still the only theme that is used. I have
cleaned the browser cache and Forced reload. But no change.
I (and any users) are stuck with Only default (carl_contest) theme.
Looking at the code, it appears that the only way to change the
theme is to dump (back-up) the MySQL DB used. Open it in a
text editor and change to the desired theme. Save the file and
drop the DB and load the changes into the DB. This seems like
an awkward way to change the theme. Isn't there a better way?
Thank you for all your time and consideration.
--Chris
Answer:
Turn smarty off
Turns out the original (default) theme was still being cached by Smarty.
I can't seem to find the knob in Serendipity to manage any of the
Smarty options - cache control and such. Are there any?
Thanks in advance.
--Chris
Posted: Thu May 31, 2007 2:12 pm
by garvinhicking
Hi!
Caching from Smarty should be self-contained. Did you make sure the files in templates_c/ were always writable by Smarty? And make sure that if you edit files on the server the file's timestamp is changed, Smarty uses that for caching logic.
If you ever need to clear cache, just delete the files in templates_c/.
Smarty options are not disclosed to any s9y configuration, as those should be handled by the application itself.
Best regards,
Garvin
Posted: Fri Jun 01, 2007 7:20 am
by undisclosed
Thank you for taking the time to respond.
I know it's all about Smarty. I was just hoping that there might be
a knob within Serendipity for cache control.
Maybe I'll just make a delete/purge Smarty cache button.
Would you, or anyone else be at all interested in including this if I make it?
--Chris
OH. I forgot to answer; yes the template_c folder (and all other files/folders)
have the correct bits set.
Thanks again.