Changes/Refresh - Guestbook

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
afrenyo
Posts: 4
Joined: Fri 2. Dec 2005, 20:43

Changes/Refresh - Guestbook

Post by afrenyo »

Hello all,

I am trying to make changes to the Guetsbook form. I make my mods to the cnt18.article.inc.php file and upload it to its directory, replacing the original.

However, even after clearing the cache through the admin panel, or by dropping and recreating the cache table, my changes don't show up on the Guestbook Page. I even tried to delete and recreate my guestbook article.

Any ideas on what i may be doing wrong?

UPDATE:
OK, i figured out that the template file (default.html) in phpwcms_template/inc_cntpart/guestbook/ overrides the changes in the .php file above.

Can somebody please explain the difference in editing one or the other?

Thanks.
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Sounds like you've figured out the "purpose"... "default.html" is where you make changes. It is a template that (by default) "mirrors" the content-part "coding" that involves the layount of the guestbook. You can make a copy, customize it, give it a name (my_tmpl.html) and choose it ~instead~:

http://www.phpwcms-docu.de/guestbook__comm.phtml
template: Here you can choose the template which you want use. The default.html can be found here phpwcms_template/inc_cntpart/guestbook/
Post Reply