Page 1 of 1

Problem With Static Pages

Posted: Sat Aug 04, 2007 11:21 pm
by Lothar
I installed the plugin and created a static page, configured as start page. This works well. Then I defined another page as "About". However, I do not get any menu entry to open the page. My template is derived from carl_contest, so I have a modified index.tpl.

What have I done wrong?

Re: Problem With Static Pages

Posted: Sun Aug 05, 2007 12:54 pm
by garvinhicking
Hi!

What's your URL?

Static pages do not add themself automatically to any menu, they only add themselves to the staticpage sidebar plugin, if you configured the staticpage to show up in the menu.

Best regards,
Garvin

Posted: Sun Aug 05, 2007 3:02 pm
by Lothar
My URL is http://blog.telmarkt.de/

I have seen blogs with a menu in the header like http://group8020.com/blog/. I would like to add such a menu and to add static pages to it.

Now I have added the static pages sidebar menu. And I get the entry desired. However, clicking on the link does not show the site.

Where are the static pages stored? Are they always generated from the database? What to enter in the field Permalink and why?

Posted: Mon Aug 06, 2007 11:12 am
by garvinhicking
Hi!
I have seen blogs with a menu in the header like http://group8020.com/blog/. I would like to add such a menu and to add static pages to it.
For that you would either need to use a template that supports menu links (like "Coffe Cup" from David cummins). Or you need to edit your index.tpl template file and insert the links manually.

About your non-working links: You seem to use Serendipity URL rewriting, but your URL in the staticpage looks like:

Code: Select all

http://blog.telmarkt.de/index.php?/pages/impressum.html
instead you should configure that permalink on:

Code: Select all

http://blog.telmarkt.de/pages/impressum.html
Where are the static pages stored? Are they always generated from the database? What to enter in the field Permalink and why?
Yes, from the database. The permalink needs to indicate the URL you want to use to access the page.

Best regards,
Garvin

Posted: Mon Aug 06, 2007 12:57 pm
by Lothar
Hi Garvin,

Code: Select all

http://blog.telmarkt.de/pages/impressum.html 
does not work. What else may be wrong?

How do the permalinks work? Because there is no directory /pages on the server.

In the configuration of a static page there are two entries:
Navigation anzeigen : True
In der Navigation der Seitenleiste einbinden: True
What does the first entry in detail? The second - I assume - defines whether an entry is shown in the sidebar box.

Posted: Mon Aug 06, 2007 2:09 pm
by garvinhicking
Hi!

The permalinks tell serendipity that it should look up the database with the called URL and see if there's a page that corrresponds with it.

Can you please provide a screenshot of the staticpage you try to show (impressum.html)?
In the configuration of a static page there are two entries:
Navigation anzeigen : True
In der Navigation der Seitenleiste einbinden: True
What does the first entry in detail? The second - I assume - defines whether an entry is shown in the sidebar box.
"Navigation anzeigen" means that back/forward navigation to childpages of a staticpage (if existing) will be shown.

Regards,
Garvin

Posted: Mon Aug 06, 2007 2:34 pm
by Lothar
Hi, these are the definitions of the static page:

http://www.edv-berater-online.de/test/S ... ePart1.png
http://www.edv-berater-online.de/test/S ... ePart2.png

I hope this is what you wanted.[/img]

Posted: Mon Aug 06, 2007 3:00 pm
by garvinhicking
Hi!

The permalink is wrong, you may not enter http://blabla, but only the full HTTP *PATH*: "/pages/impressum.html".

HTH,
Garvin

Posted: Mon Aug 06, 2007 3:39 pm
by Lothar
Thank you. Now it does what I wanted to do it.

Well, if one is able to read, he has an advantage. :-)