Theme/Style options
Theme/Style options
I updated my blog with a cvs snapshot from a couple of days ago and after changing my style (or template), I now get 'Theme/Style options' on the screen when I click on 'Manage Styles' and now choices to change templates. I can't change my style now!
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Theme/Style options
Hi!
Please fetch an updated nightly snapshot; a few days ago there was a bug that prevented templates with a config.inc.php to work properly!
Regards,
Garvin
Please fetch an updated nightly snapshot; a few days ago there was a bug that prevented templates with a config.inc.php to work properly!
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/
# 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/
-
thunderlove
- Posts: 2
- Joined: Wed Apr 19, 2006 11:54 am
Might the template in question be 'plain-vanilla'?
There is a problem with that template, and it's on my list of 'problems to tackle to help me learn the inner workings of Serendipity'
In the meantime, if you delete or rename your template's subdirectory (e.g. /templates/plain-vanilla) you can then go back and change your template to one that works.
[EDIT: garvin -- sourceforge is still timing out, that's why updating didn't work for them
]
There is a problem with that template, and it's on my list of 'problems to tackle to help me learn the inner workings of Serendipity'
In the meantime, if you delete or rename your template's subdirectory (e.g. /templates/plain-vanilla) you can then go back and change your template to one that works.
[EDIT: garvin -- sourceforge is still timing out, that's why updating didn't work for them
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Do any of those styles have a config.inc.php file?
If you look in your docs/NEWS file of the installation, what version number to you see on top of that file?
Regards,
Garvin
Do any of those styles have a config.inc.php file?
If you look in your docs/NEWS file of the installation, what version number to you see on top of that file?
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/
# 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/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Where do you have that sunset template from? What does the config.inc.php file look like?
Regards,
Garvin
Where do you have that sunset template from? What does the config.inc.php file look like?
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/
# 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/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Can you please edit your include/admin/templates.inc.php file and look for this:
change that to
And then tell me if it works?
Regards,
Garvin
Can you please edit your include/admin/templates.inc.php file and look for this:
Code: Select all
echo '<h3>' . STYLE_OPTIONS . '</h3>';
@include $serendipity['serendipityPath'] . $serendipity['templatePath'] . $serendipity['template'] . '/config.inc.php';
Code: Select all
echo '<h3>' . STYLE_OPTIONS . '</h3>';
serendipity_smarty_init();
include_once $serendipity['serendipityPath'] . $serendipity['templatePath'] . $serendipity['template'] . '/config.inc.php';
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/
# 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/
That worked. I now see this at the top and the normal list of templates to choose from.
-----
Theme/Style options
This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".
Select the template you wish to use for your blog
-----
Theme/Style options
This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".
Select the template you wish to use for your blog
Maybe I spoke too soon! Now I get this.
-----
Warning: main(/hsphere/local/home/dcockrel/thecockrells.com/blog/templates/carl_contest/config.inc.php): failed to open stream: No such file or directory in /hsphere/local/home/dcockrel/thecockrells.com/blog/include/admin/templates.inc.php on line 65
Warning: main(): Failed opening '/hsphere/local/home/dcockrel/thecockrells.com/blog/templates/carl_contest/config.inc.php' for inclusion (include_path='.:/usr/local/lib/php:/hsphere/local/home/dcockrel/thecockrells.com/blog/:/hsphere/local/home/dcockrel/thecockrells.com/blog/bundled-libs/') in /hsphere/local/home/dcockrel/thecockrells.com/blog/include/admin/templates.inc.php on line 65
This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".
Select the template you wish to use for your blog
-----
Warning: main(/hsphere/local/home/dcockrel/thecockrells.com/blog/templates/carl_contest/config.inc.php): failed to open stream: No such file or directory in /hsphere/local/home/dcockrel/thecockrells.com/blog/include/admin/templates.inc.php on line 65
Warning: main(): Failed opening '/hsphere/local/home/dcockrel/thecockrells.com/blog/templates/carl_contest/config.inc.php' for inclusion (include_path='.:/usr/local/lib/php:/hsphere/local/home/dcockrel/thecockrells.com/blog/:/hsphere/local/home/dcockrel/thecockrells.com/blog/bundled-libs/') in /hsphere/local/home/dcockrel/thecockrells.com/blog/include/admin/templates.inc.php on line 65
This theme/style has no specific options. To see how your template can specify options, read the Technical Documentation on www.s9y.org about "Configuration of Theme options".
Select the template you wish to use for your blog
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Thanks for reporting this! Actually you can ignore that message, but the now proper fix is this code:
Regards,
Garvin
Thanks for reporting this! Actually you can ignore that message, but the now proper fix is this code:
Code: Select all
if (file_exists($serendipity['serendipityPath'] . $serendipity['templatePath'] . $serendipity['template'] . '/config.inc.php')) {
serendipity_smarty_init();
include_once $serendipity['serendipityPath'] . $serendipity['templatePath'] . $serendipity['template'] . '/config.inc.php';
}
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/
# 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/