Page 1 of 1

Non-blog page using s9y style, possibly the sidebar, too

Posted: Tue Aug 02, 2005 8:57 pm
by jrj127
I use s9y for my main website. I wanted to have a link to a page which I would write with HTML but is not a blog, yet still uses the same style so it looks like a seamless transition.

Do I just refer to templates/default/styles.css when writing my custom html?

Is there a way to implement the same sidebar in this custom html page as the sidebar which appears on the main blog page? It would make navigation much simpler. Or, do I have to create the navigation links manually to mimic the sidebar links I need for navigation? Thanks!

Posted: Tue Aug 02, 2005 9:04 pm
by Col. Kurtz
thought about using the static page plugin? or do you want a complete different page?

Posted: Tue Aug 02, 2005 9:20 pm
by jrj127
Do you have an example of what the static page plugin can do?

I am running s9y-0.8beta2 and installed the event plugin, then I tried installing the sidebar plugin and got the below errors. When I get hope I will upgrade to the latest version.

Code: Select all

Trying to open URL http://netmirror.org/mirror/serendipity/package_sidebar.xml...


Trying to open URL http://cvs.sourceforge.net/viewcvs.py/*checkout*/php-blog/additional......
Trying to open URL http://cvs.sourceforge.net/viewcvs.py/*checkout*/php-blog/additional......
Trying to open URL http://cvs.sourceforge.net/viewcvs.py/*checkout*/php-blog/additional......
Trying to open URL http://cvs.sourceforge.net/viewcvs.py/*checkout*/php-blog/additional......
Trying to open URL http://cvs.sourceforge.net/viewcvs.py/*checkout*/php-blog/additional......
Trying to open URL http://cvs.sourceforge.net/viewcvs.py/*checkout*/php-blog/additional......
Trying to open URL http://cvs.sourceforge.net/viewcvs.py/*checkout*/php-blog/additional......
Trying to open URL http://cvs.sourceforge.net/viewcvs.py/*checkout*/php-blog/additional......
Can't write to file /var/www/html//plugins/serendipity_event_staticpage/UTF-8/lang_de.inc.php.Trying to open URL http://cvs.sourceforge.net/viewcvs.py/*checkout*/php-blog/additional......
Can't write to file /var/www/html//plugins/serendipity_event_staticpage/UTF-8/lang_ko.inc.php.Trying to open URL http://cvs.sourceforge.net/viewcvs.py/*checkout*/php-blog/additional......
Can't write to file /var/www/html//plugins/serendipity_event_staticpage/UTF-8/lang_it.inc.php.Trying to open URL http://cvs.sourceforge.net/viewcvs.py/*checkout*/php-blog/additional......
Can't write to file /var/www/html//plugins/serendipity_event_staticpage/UTF-8/lang_ja.inc.php.Error: serendipity_plugin_staticpage:ed525b98fd21a7dadf105b7ea1af6ad0 (serendipity_plugin_staticpage)

Fatal error: Call to a member function on a non-object in /var/www/html/include/admin/plugins.inc.php on line 665

Posted: Tue Aug 02, 2005 9:31 pm
by Col. Kurtz
The static page plugin will create pages that use your template with all the sidebars. You can put any content you want there. And its not an entry, that means it doesnt belong to any category and wont be replaced by newer entries.

For example: www.scbayer.hohle-phrasen.de is the page of my sport-club (in german), if you look at the menu, "aktuelles" is a link to a category, while "links" is a static page. If you look at the links page you see its the same design as everywhere else, but its not an entry.

Sorry but I dont have an idea where your error comes from. I´d suggest trying to upload the plugin files manually.

Posted: Tue Aug 02, 2005 9:56 pm
by gwilsonmail
Can't write to file /var/www/html//plugins/serendipity_event_staticpage/UTF-8/lang_de.inc.php.Trying to open URL
Looks as if your plugins directory can't be written to.

chmod to 777 or 766

Posted: Wed Aug 03, 2005 1:29 am
by MySchizoBuddy
Col. Kurtz
under static page entry form. there is an entry called Template (Smarty) and it defaults to plugin_staticpage.tpl which i don't have. Do u know what should i enter here. index.tpl or something else.

Posted: Wed Aug 03, 2005 8:13 am
by jrj127
I upgraded to s9y-0.8.2 and everything with the Static Pages works fine. First I installed the Static Pages Event Plugin, then I installed the Static Pages Sidebar Plugin.

Thanks for the help! I like this plugin a lot, it is exactly what I needed.

Posted: Wed Aug 03, 2005 10:00 am
by Col. Kurtz
MySchizoBuddy wrote:Col. Kurtz
under static page entry form. there is an entry called Template (Smarty) and it defaults to plugin_staticpage.tpl which i don't have. Do u know what should i enter here. index.tpl or something else.
I think this is a new feature so you can use different templates for different static pages. In my /blog/plugins/serendipity_event_staticpage/ there is a file with that name! You can change it if you want another template to show. Thats what I think. Havent tried this yet. By default it will show the overall template of your blog.