Page 1 of 1

[SOLVED] Guestbook css (1.1.3)

Posted: Tue Jan 09, 2007 3:01 pm
by RonnyK
I just installed Guestbook 1.1.3 and am not sure where to put the css-code. No example is available and all data is now put together, line per line. So all lines of all entries are basically listed without any formatting. Does anyone know how/where to setup the css.

Re: Guestbook css (1.1.3)

Posted: Tue Jan 09, 2007 4:02 pm
by Dee
When the Guestbook module is installed it installs a (default/template) stylesheet.
You can simply attach that (or a copy) to the template you are using for the page the Guestbook is on.

Regards,
D

Re: Guestbook css (1.1.3)

Posted: Tue Jan 09, 2007 9:09 pm
by Dee
On a default install (using the Left simple navigation + 1 column template):
- open 'Layout' => 'Templates' in the admin
- click the CSS icon besides the Left simple navigation + 1 column template
- select the Guestbook (default/example stylesheet) stylesheet from the dropdown
- click the "Add a Stylesheet" button

Regards,
D

Re: Guestbook css (1.1.3)

Posted: Wed Jan 10, 2007 7:40 am
by RonnyK
Thanks again Dee,

I didn't notice there was a css attached to the install. The help didn't mention it.

Ronny

Re: [SOLVED] Guestbook css (1.1.3)

Posted: Wed Jan 10, 2007 8:23 am
by Dee
Actually, it is mentioned in the help
An example stylesheet for the default database template is installed with the module.
The default stylesheet is deleted when the module is uninstalled and may be overwitten by an upgrade, so you might want to use a copy if you modify it.
Attach the stylesheet to the page template used.
Een voorbeeld stylesheet voor het standaard sjabloon wordt met de module geinstalleerd.
Deze wordt verwijderd als de module wordt ge-deinstalleerd en kan overschreven worden bij een upgrade, dus het is aan te raden een kopie te gebruiken als deze wordt aangepast.
Koppel de stylesheet aan het gebruikte pagina sjabloon.
and after install
Make sure to set the "Modify Guestbook Entries" permission for users who will be administering Guestbook items and "Modify Guestbook Template" permission for users who should be able to modify the guestbook template.
Attach the Stylesheet named "Guestbook (default/example stylesheet)" to the template used to style the guestbook.
Zorg ervoor dat beheerders van gastenboek berichten de "Modify Gastbuch Entries" rechten hebben. Gebruikers die het gastenboek berichtsjabloon moeten kunnen aanpassen hebben "Modify Guestbook Template" rechten nodig. Koppel de Stylesheet met de naam "Gastenboek (standaard/voorbeeld stylesheet)" aan het gebruikte sjabloon om het gastenboek stijl te geven.

;)

Regards,
D