Static Page problems

Creating and modifying plugins.
Ianardo
Regular
Posts: 114
Joined: Sun Nov 28, 2004 3:02 pm
Location: Hastings, U.K.
Contact:

Static Page problems

Post by Ianardo »

I've just downloaded the new Static Page plugin and it doesn't work.
Firstly Spartacus failed in downloading it so I had to download manualy.

Now there's no 'Static Pages' menu item on the Admin Sidebar!
It doesn't even show up under the Event Plugins list!
It's definitely in my plugins folder.

Help! The website relies totally on Static Pages.

Is there a known bug in this plugin or have I missed something?
75% of people make up three quarters of the World's population!
JonasBang
Regular
Posts: 66
Joined: Mon Apr 23, 2007 10:57 pm
Location: Copenhagen, Denmark
Contact:

Post by JonasBang »

I just downloaded Static Page List from : http://spartacus.s9y.org/cvs/additional ... icpage.zip

Uploaded the .zip file to 'plugins' and extracted it.

Then it was available and I could install it from the 'Serendipity Administration Suite' / 'Configure Plugins' / 'Click here to install a new sidebar plugin'.

Now it show up in on the overview list of installed sidebar plugins, and it is visible on the web blog.

BUT !!!

It only contain a link to 'Frontpage', how do I add (and configure) more pages ??

In the description it mention 'It requires StaticPage plugin version 1.22 or greater.' What is that ?? And where to get it ??

Br,
Jonas
JonasBang
Regular
Posts: 66
Joined: Mon Apr 23, 2007 10:57 pm
Location: Copenhagen, Denmark
Contact:

Post by JonasBang »

Ok, I found the 'Static Pages' menu now :)

BUT !!!

The page I just created does not show in the Static Page List, what have I missed ??

Br,
Jonas
JonasBang
Regular
Posts: 66
Joined: Mon Apr 23, 2007 10:57 pm
Location: Copenhagen, Denmark
Contact:

Post by JonasBang »

I've got the feeling, that it could be the Permalink which need to be changed / specified ??

Or, do I need to create the html-page manually, or are Serendipity supposed to create it ??

/Jonas
JonasBang
Regular
Posts: 66
Joined: Mon Apr 23, 2007 10:57 pm
Location: Copenhagen, Denmark
Contact:

Post by JonasBang »

Found the issue:
Language need to be set to 'All languages'.

/Jonas
JonasBang
Regular
Posts: 66
Joined: Mon Apr 23, 2007 10:57 pm
Location: Copenhagen, Denmark
Contact:

Post by JonasBang »

Arghh ... new issue:

Now the menu looks fine, all the static pages are listed, but nothing happen when I click the links ??

http://www.hydraulisktidende.dk/

/Jonas
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Can you make ascreenshot of the staticpages you created, what you entered in the various fields there? Might be that one of them is problematic.

HTH,
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/
JonasBang
Regular
Posts: 66
Joined: Mon Apr 23, 2007 10:57 pm
Location: Copenhagen, Denmark
Contact:

Post by JonasBang »

See these screen dumps :

http://hjem.get2net.dk/jonasbang/static_page/

Br,
Jonas
Ianardo
Regular
Posts: 114
Joined: Sun Nov 28, 2004 3:02 pm
Location: Hastings, U.K.
Contact:

Post by Ianardo »

I solved my problem BTW - had a bit of a blonde moment!
75% of people make up three quarters of the World's population!
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

A clue for us other blondes on the forum?
Judebert
---
Website | Wishlist | PayPal
JonasBang
Regular
Posts: 66
Joined: Mon Apr 23, 2007 10:57 pm
Location: Copenhagen, Denmark
Contact:

Post by JonasBang »

I think I have tried almost all settings now, and I can't get it to work.
The url changes in the address bar, but the page show the frontpage content.
Very strange.
I really hope that someone can help me.
Do I need to setup something manually (i.e. hack some of the html/php files bypassing Serendipity?).

/Jonas
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

In the permalink for staticpages you need to enter a HTTP PATH, not a URL!

So strip the "http://www.hydraulisktidende.dk" from the Path, so that it begins with "/". Then it should work. This should be entered there by default, so you must have mistakenly added the 'http://...' in front of it. If you change s9y configuration directives, always make sure that the format of your new option is like the old default option there. :)

If you use the fallback URL you already can see your staticpage:

http://www.hydraulisktidende.dk/index.p ... Abonnement

So once you fix the permalink path properly, you'll see your page properly. :)

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/
JonasBang
Regular
Posts: 66
Joined: Mon Apr 23, 2007 10:57 pm
Location: Copenhagen, Denmark
Contact:

Post by JonasBang »

Thanks, its working now.
Yes, I changed this in my attempt to get it to work, which then actually f***** it up.

Br,
Jonas
jumar
Regular
Posts: 12
Joined: Thu Jun 28, 2007 12:46 am

Post by jumar »

garvinhicking wrote:Hi!

In the permalink for staticpages you need to enter a HTTP PATH, not a URL!

So strip the "http://www.hydraulisktidende.dk" from the Path, so that it begins with "/". Then it should work. This should be entered there by default, so you must have mistakenly added the 'http://...' in front of it. If you change s9y configuration directives, always make sure that the format of your new option is like the old default option there. :)

If you use the fallback URL you already can see your staticpage:

http://www.hydraulisktidende.dk/index.p ... Abonnement

So once you fix the permalink path properly, you'll see your page properly. :)

Best regards,
Garvin
Hm, I guess I'm a bit blond atm... but I can't get it to work.

My Blog URL is

Code: Select all

http://localhost/serendipity/index.php
I managed to view my contact page (contact form plugin) at

Code: Select all

http://localhost/serendipity/index.php?/pages/kontakt.html
The page URL in the contact form plugin is

Code: Select all

/serendipity/index.php?/pages/kontakt.html
and in the navigation the URL is defined as

Code: Select all

index.php?/pages/kontakt.html
So, far.. so good.
Now I'm trying to do the same for an imprint page (per static pages), but I can't get it to work -.-
Either the URL is not found or I only see the start page... :?
So, how do I have to enter the URLs in the static page entry and the navigation to view my imprint page?
new german Serendipity user
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi jumar!

You gave great examples for the contactform plugin, which works for you. But you forgot to tell us how you configured the staticpage which doesn't show. :-)

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