Dear s9y folks,
First of all, I'm twice impressed with serendipity. For one, it was the only framework that I managed to install under all constraints that my university imposes on our websites. For another, I'm thrilled by how helpful this forum is and how attentive is the developer. (Not to mention the great quality of the software)
I didn't want exactly a blog, but a general CMS. Serendipity is very flexible, though, and I got everything I wanted after little tweaking. The only thing I'd like to have is an initial (welcome) page. Is that hard to get? Where should I look? It could be something like a permanent single entry.
Thanks,
incubus
EDIT: I feel I posted in the wrong section. Please feel free to move my post to wherever it should belong.
Initial Page
-
carl_galloway
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
incubus, welcome to the world of Serendipity. It is possible to do what you wish, and I can think of three possible methods.
1. install the extended properties plugin and set one of your posts as sticky, this means it will always be at the top of your other entries
2. install the static pages plugin and set one of the static pages as your frontpage
3. customise your chosen template and add some smarty code to your index.tpl just below the <body> tag;
I think method 2 is probably what you are after, and method 3 the least likely, with method one possibly being the quickest and easiest but not necessarilty what you want.
Carl
1. install the extended properties plugin and set one of your posts as sticky, this means it will always be at the top of your other entries
2. install the static pages plugin and set one of the static pages as your frontpage
3. customise your chosen template and add some smarty code to your index.tpl just below the <body> tag;
Code: Select all
{if $startpage}welcome page{else}back to normal blog overview{/if}
Carl
Carl,
Thank you so much for the reply. Looks like #2 is what I'm looking for indeed. But to take that path, I have to solve the only problem that I had in my installation: I cannot add new event plugins through the Administrator page.
I get this error:
Is there a way of installing StaticPage by editing some configuration? Or this would be a bad idea?
Thanks again,
incubus
Thank you so much for the reply. Looks like #2 is what I'm looking for indeed. But to take that path, I have to solve the only problem that I had in my installation: I cannot add new event plugins through the Administrator page.
I get this error:
Code: Select all
Fatal error: Cannot redeclare _pear_call_destructors() (previously declared in ./bundled-libs/HTTP/../PEAR.php:744) in ./bundled-libs/HTTP/../Net/../PEAR.php on line 775Thanks again,
incubus
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Hm, that error indicates that some PEAR problems exist on your server, or your server is not properly evaluating "include_once" PHP code calls. Could it be that you are not using a recentPHP version on your server?
You might be able to solve it by editing your serendipity_config.inc.php file and set the $serendipity['use_PEAR'] variable to true. Then you also need to install any of the bundled PEAR modules that s9y usually requires (like NET_URL and HTTP_Request)...
Bestregards,
Garvin
Hm, that error indicates that some PEAR problems exist on your server, or your server is not properly evaluating "include_once" PHP code calls. Could it be that you are not using a recentPHP version on your server?
You might be able to solve it by editing your serendipity_config.inc.php file and set the $serendipity['use_PEAR'] variable to true. Then you also need to install any of the bundled PEAR modules that s9y usually requires (like NET_URL and HTTP_Request)...
Bestregards,
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/
Ah, yes, I wish I could tell the admins to upgrade things here. Plus, there are all sorts of annoying safe mode measures in place. It's a miracle that I managed to install serendipity.
Reading your previous posts (garvin's), I already included that "use pear" flag, but had no success. But why do it the "hard" way? I opened the sqlite file, found the table for plugins, and manually created an entry for "staticpage".
Voila. It's working wonderfully. Serendipity wins again, with its simplicity. I got everything working just by using "grep" and reading this forum.
Thanks, everybody.
incubus
Reading your previous posts (garvin's), I already included that "use pear" flag, but had no success. But why do it the "hard" way? I opened the sqlite file, found the table for plugins, and manually created an entry for "staticpage".
Voila. It's working wonderfully. Serendipity wins again, with its simplicity. I got everything working just by using "grep" and reading this forum.
Thanks, everybody.
incubus
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Definitely. Great quote. Thanks for that. *gg*
Best regards,
Garvin
Best 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/