Firefox PHP

Changing and editing a template not working

Posted by rapple 
All files from this thread

File Name File Size   Posted by Date  
site1.jpg 216.2 KB open | download Jan Michael 04/11/2010 Read message
Changing and editing a template not working
March 09, 2010 10:42AM
Hello All!

I have a problem changing the phorum template. The documentation is short and not too helpful.
I created a new template directory.
Copied the full content from an existing template (emerald).
Changed the info.php as required.
In admin I selected the new template.

I changed the css.tpl -> nothing! The changes are not visible!
I changed the settings.tpl -> still nothing.
/I changed body color, image paths, commented out lines from css doesn't matter what I do, the result is invisible)

I turned off the cache - nothing.
I purged the cache - nothing.

Well, it would be nice to post some little tutorial on that. I don't know where to go.

Please help!
Re: Changing and editing a template not working
March 09, 2010 11:16AM
If you change CSS code, without the changes being visible in the front end, you are not using that template for the thing that you are looking at.

Note that you can change the template for various levels in Phorum. The default template (the one that you configure in the default forum settings) will be used for the index page.

For the forums, you can either inherit the default settings or configure a different template. So if you are looking at a specific forum and not the index page, then check out the settings of the forum that you are looking at. Make sure that your customized template is selected for that forum as well.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Changing and editing a template not working
March 09, 2010 02:11PM
Please also be sure to do a hard refresh of your browser (often Ctrl-F5) to be sure that the browser has not cached the page content. This is especially important with CSS changes.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Changing and editing a template not working
March 10, 2010 02:13AM
Thank you Maurice and Joe!

The solution was the Ctrl-F5 as Joe suggested. Thanks!
Changing and editing a template not working
April 11, 2010 12:10AM
{! -- Logo size (images/logo.png). Update this if you replace the logo.png -- }
{VAR logo_width "100"}
{VAR logo_height "1000"}

how come it does not change? am i lacking something?
Re: Changing and editing a template not working
April 11, 2010 04:10AM
maybe you are editing the wrong template? tried to clear the cache through the admin?


Thomas Seifert
Re: Changing and editing a template not working
April 11, 2010 05:00AM
what is want is to change the color of the template emerald (inc. in the package) and how do i change the background? i have a .jpg file where am i going to place it?

how can i re-size my logo? thanks.


Re: Changing and editing a template not working
April 11, 2010 08:36PM
how can i apply all the themes? it seems that the themes doesn't work it only works in the main site but when i browse to other forum/folder it goes back to emerald .tpl
Re: Changing and editing a template not working
April 12, 2010 02:04AM
because you didn't select your custom template for the given forum. there is a template setting in each forum's settings.


Thomas Seifert
Re: Changing and editing a template not working
April 12, 2010 03:19AM
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\forum.ciit\index.php:1) in C:\xampp\htdocs\forum.ciit\include\api\user.php on line 2636

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\forum.ciit\index.php:1) in C:\xampp\htdocs\forum.ciit\include\api\user.php on line 2640

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\forum.ciit\index.php:1) in C:\Windows\Temp\tpl-maidens-header-fa3934a643de5e3d180c6e29990ea056.php-stage2 on line 5

at first there are no errors, what could be the problem?
Sorry, only registered users may post in this forum.

Click here to login