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

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
jrj127
Regular
Posts: 18
Joined: Mon Mar 14, 2005 2:28 am
Location: Massachusetts
Contact:

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

Post 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!
Col. Kurtz
Regular
Posts: 450
Joined: Thu May 26, 2005 10:43 am
Location: Bonn, Germany
Contact:

Post by Col. Kurtz »

thought about using the static page plugin? or do you want a complete different page?
jrj127
Regular
Posts: 18
Joined: Mon Mar 14, 2005 2:28 am
Location: Massachusetts
Contact:

Post 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
Col. Kurtz
Regular
Posts: 450
Joined: Thu May 26, 2005 10:43 am
Location: Bonn, Germany
Contact:

Post 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.
gwilsonmail
Regular
Posts: 146
Joined: Tue Jul 12, 2005 9:12 pm
Location: Ottawa, Canada
Contact:

Post 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
Last edited by gwilsonmail on Wed Aug 03, 2005 1:47 am, edited 1 time in total.
gw
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Post 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.
jrj127
Regular
Posts: 18
Joined: Mon Mar 14, 2005 2:28 am
Location: Massachusetts
Contact:

Post 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.
Col. Kurtz
Regular
Posts: 450
Joined: Thu May 26, 2005 10:43 am
Location: Bonn, Germany
Contact:

Post 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.
Post Reply