Home
Products
Support
Company
Clients
Locale
English (US $)
English (CAD $)
English (GBP £)
English (EUR €)
English (BRL R$)
Español (EUR €)
Español (MXN $)
Forums
Custom template directory seems not working
Custom template directory seems not working
Forums
Centova Cast v3
Bugs and issues
Custom template directory seems not working
Register
Login
Username:
Password:
Duration:
1 Hour
1 Day
1 Week
1 Month
Forever
Forgot password?
Topic
Print
1
(current)
Custom template directory seems not working
Read 10287 times
Roberto Brandolini
Jr. Member
Posts: 83
Logged
March 19, 2013, 11:02:15 am
Custom template directory seems not working
Hi Steve,
I follow the guide to customize 2 template files in templates directory.
I create a subdirectory /templates/custom and copied 2 tpl files.
I modify the tpl files but the panel still use the original file.
I try to wait more than an hour thinking was for a cash problem but nothing happen
Does it really work?
Newradio Streaming & Radio Tools
http://www.newradio.it
Centova - Steve B.
Administrator
Posts: 1339
Logged
March 27, 2013, 08:53:43 pm, #1
Re: Custom template directory seems not working
You need to turn off caching temporarily. Add:
fastcgi_cache_bypass 1;
...to the end of /usr/local/centovacast/etc/cc-panel.conf, then restart CC. That's documented elsewhere on the forums as well, I believe.
Jim
Jr. Member
Posts: 94
Logged
March 30, 2013, 08:57:20 am, #2
Re: Custom template directory seems not working
Same problem here. (Centovacast 3.0.1).
I've done as you said by setting fastcgi_cache_bypass 1 (uncommenting the line) and restarting Centovacast (/etc/init.d/centovacast restart).
I'm trying to specifically edit /usr/local/centovacast/web/theme/templates/custom/page.tpl.
Editing the original (non custom directory) page.tpl works fine and even updates straight away without turning the cache off.
Perhaps this is a bug ?
https://www.internet-radio.com
Centova - Steve B.
Administrator
Posts: 1339
Logged
April 03, 2013, 02:30:58 am, #3
Re: Custom template directory seems not working
Quote from: Jim on March 30, 2013, 08:57:20 am
Perhaps this is a bug ?
You, sir, are correct. Fixed for the next build -- thanks!
1
(current)