static pages...

Creating and modifying plugins.
Post Reply
cg2112
Regular
Posts: 9
Joined: Sat Jan 07, 2006 2:21 am

static pages...

Post by cg2112 »

I'm having some trouble with the static pages plugin, I'm hoping someone else has seen this and has a solution.

I created a few static pages that link from my frontpage. As far as I can tell, the plugin is configured correctly. When I actually go to the static page from the link, though, the pages that I've created don't show up. It just shows what appears to be a blank article.

Any ideas?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: static pages...

Post by garvinhicking »

We need more information:

- Which s9y version are you using
- Which version of the staticpage plugin are you using
- Are you using URL rewriting (see s9y config)
- What's your URL where we might see the phenomenon?
- Can you make a screenshot of the staticpage configuration of that page that doesn't show up correctly?
- Which other event plugins are you using

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/
cg2112
Regular
Posts: 9
Joined: Sat Jan 07, 2006 2:21 am

Post by cg2112 »

I'm using:

s9y 0.9.1
static pages 3.19
Not using URL rewriting (seems to completely break the site)
The URL:

http://www.whiteboard.net
Click on "Robbie" under "About" to see what's going on.

Screenshot of config:

http://www.whiteboard.net/images/static-1.jpg
http://www.whiteboard.net/images/static-2.jpg

Also using:

Shoutbox 1.01
Recent Entries 1.3
Categories 2.0
Blog Admin 1.0
Recent Google Search
HTML Nugget 1.0


Markup: Serendipity 1.1
Markup: NL2BR 1.2
Markup: Track exit 1.4
Export as PDF
Stats 1.23
Spam Protector 1.26
Browser Compat 1.0
Spartacus 2.5
Static Pages 3.19

Thanks for any help you can provide.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Thanks a lot for this info!

Actually (and accidently) I just saw that the "Aboutpage" type template doesn't seem to be using the Page content at all. I don't know why that is, I'll contact the current maintainer of the plugin.

You might want to use a different "pagetype" instead, where the default "plugin_staticpage.tpl" file is used to render the content.

I'll check back here when I figure out the true intention of a "about page".:)

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/
cg2112
Regular
Posts: 9
Joined: Sat Jan 07, 2006 2:21 am

Post by cg2112 »

Setting the page to "article" rather than "aboutpage" seemed to do the trick.
falk
Regular
Posts: 512
Joined: Tue Sep 27, 2005 10:16 am
Location: DD
Contact:

Post by falk »

An aboutpage gives an short introduction of his childpages. When you don't create childpages the aboutpage will be empty. Ergo: aboutpages must have childpages to see something.
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

So an "aboutpage" in the static pages plugin is actually a branch overview page, not a page about the author/website/whatever. It's about its children. If it doesn't have any children, it won't have anything to be about.
falk
Regular
Posts: 512
Joined: Tue Sep 27, 2005 10:16 am
Location: DD
Contact:

Post by falk »

Overview! Yes. I rename this. I think it is better. Thank you.
Post Reply