Help me with the guestbook

Creating and modifying plugins.
Post Reply
Ingla
Regular
Posts: 5
Joined: Fri Apr 20, 2007 1:54 pm

Help me with the guestbook

Post by Ingla »

Hello everyone.

I'm swedish and are not so good at English, but I'll try to explane my problem anyway.

I need some help with this. I'm very new to CSS and PHP but I can HTML a little. I'm not afraid to try changing in the code anyhow. (I use Alleycode program to wiew and change in the php and css code)

I've just put up my serendipity blog and tryed to configure it like the way I want it. But I wanted a guestbook, so I've installed "serendipity_event_guestbook" (version 2.0) in plugin folder and installed it in both edit and sidepanel. But I can't make it work.

I've read the "Read me" doc and it says like this:
- Permalink ("pageurl") is a full path from http root eg. "/serendipity/pages/guestbook.html" or "/serendipity/index.php?/pages/guestbook.html" (see mod_rewrite)

But I can't find guestbook.htlm in the folder.

In the sidepanel i got this text: PLUGIN_GUESTSIDE_NOENTRIES

My blog is here:
http://www.uddeby.com/petweb/

What have I done wrong or missing?

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

Re: Help me with the guestbook

Post by garvinhicking »

Hi!

Try to enter this in your permalink url:

/petweb/index.php?/pages/guestbook.html

then save the configuration and open this URL:

http://www.uddeby.com/petweb/index.php? ... tbook.html

and you should see it.

This permalink is a virtual path. A file like guestbook.html does not exist, it is dynamically built with the guestbook plugin file, using the plugin_guestbook.tpl Smarty/HTML template.

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/
Ingla
Regular
Posts: 5
Joined: Fri Apr 20, 2007 1:54 pm

Post by Ingla »

Hi garvinhicking and thanks for your answer. :)

I changed the permalink and tryed the link you gave me, but I only get to my first page (Home).

What should I do? I'm so totally new at this. :oops:

When I installed this in plugins, i didn't change anything. Could that be the problem?

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

Post by garvinhicking »

Hi!

Can you tell me what the other options are set to? Especially the "page title" etc. variables?

You usually can open those pathes with index.php?serendipity[subpage]=PAGETITLE...

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/
Ingla
Regular
Posts: 5
Joined: Fri Apr 20, 2007 1:54 pm

Post by Ingla »

Hi
Can you tell me what the other options are set to? Especially the "page title" etc. variables?

You usually can open those pathes with index.php?serendipity[subpage]=PAGETITLE...
Well, i'm not quite sure what you are meaning with the options? Do you mean open the source in petweb/index.php (on the net) or in the settings in admin or opening the php-file on the server. But if you meant the guestbookpage, I can't get the guestbook page at all. I just return to the first page when I enter the link you gave me.

This is a little bit hard, :D I'm not so good to write and understand english. :-) Perhaps I have installed everything wrong?
In my website uddeby.com I create a subfolder "petweb" and inside that i have serendipity installed, I put the guestbook folder in uddeby.com/petweb/plugins folder.

Please tell me exactly what pagetitle you want me to write down.

Yes I know it sound a little stupid, a old lady like me, trying to put up at webside without knowing anything about it, and have trouble with english too. :lol: Try to guid me anyway, please. :) Thanks!

Best regards
Ingla
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

No, I meant these options you get when you go to the s9y admin panel -> configure plugins -> guestbook plugin. There you can configure settings!

HTH,
Garvin

(I might be offline through the weekend, but will reply back here at least on monday, but maybe someone else can also drop in for help :) )
# 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/
Ingla
Regular
Posts: 5
Joined: Fri Apr 20, 2007 1:54 pm

Post by Ingla »

Hi again!
I hade a little bit problem to find everything becouse I have swedish laguage in my admin panel too and had to translate everything in my head to find it.

And in event plugin i found the Guestbook (at last)

Permalink: /petweb/index.php?/pages/guestbook.html
Pagetitel: Gästbok

When I see this now I think?! that I should have wrote guestbook in my pagetitel or write permalink: /petweb/index.php?/pages/Gästbok
Correct me if I'm wrong. :lol: It's just a thought.

/Ingla
Ingla
Regular
Posts: 5
Joined: Fri Apr 20, 2007 1:54 pm

Post by Ingla »

YES! :lol:

It was so, the letters å ä and ö won't work. I changed to "guestbook" instead of "Gästbok" in both the title and in the permalink and now it works. :D

Thanks for helping me! :)

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

Post by garvinhicking »

Hi!

Great! you're welcome & have fun!

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