I deleted first five lines here. But when refreshed in the browser nothing had changed. I even renamed plugin_staticpage.tpl at last but the page appeared as before. Is this some problem with caching? I reloaded the page in FireFox (Ctrl-R) but it didn't help. Is it possible Apache to do some caching? If so, how to refresh / clear it?
I run all on my PC:
Windows XP SP2/Apache 2.0.59/PHP 5.2.3/MySQL 5.0.41/FireFox 2.0.0.6.
The template file that gets used for a staticpage depends on the "article type" you chose for it. When you used "overview" articletype for your staticpage, you must modify plugin_staticpage_overview.tpl instead!
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Maybe there's a permission problem with the compiled smarty template, you might want to delete all *staticpage*.* files in the templates_c/ directory?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
There are two 'plugin_staticpage.tpl' files, one in plugins/serendipity_event_staticpage and the other one in templates/bulletproof. I didn't expect this and didn't look for this file in templates/bulletproof directory ...
It seems that serendipity searches first in templates/current_selected_theme directory for the staticpage templates, and if it does not find them there searches for in plugins/serendipity_event_staticpage.