thank you for you entry

Phoca Guestbook - creating guestbooks in Joomla! CMS
aeng
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 06 Sep 2008, 13:44

thank you for you entry

Post by aeng »

When i put i messag in the guestbook i get i message "thank you for your entry". Can this be disabled?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: thank you for you entry

Post by Jan »

Hi, this is a system message, can be disabled only in html/php code:


$this->setRedirect($uri->toString(),$msg );

Delete the $msg on line + - 411

in components\com_phocaguestbook\controllers\phocaguestbook.php
If you find Phoca extensions useful, please support the project
aeng
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 06 Sep 2008, 13:44

Re: thank you for you entry

Post by aeng »

That works fine, thank you!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: thank you for you entry

Post by Jan »

:wink:
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: thank you for you entry

Post by Jan »

Hi, try to test your template, maybe it doesn't have place defined for system messages
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: thank you for you entry

Post by Jan »

Hi, this should solve template developer.

This piece code needs to be in template php/html:

Code: Select all

<jdoc:include type="message" style="xhtml" />
Jan
If you find Phoca extensions useful, please support the project
nik
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 07 Apr 2010, 16:34

Re: thank you for you entry

Post by nik »

Well, I have some strange problem with this: that ''system message'' apiers in wrong place, in other category!?! Is that error in template files or phoca guestbook or...? The second: enteries goes to be visibly afer about 15 minutes even if I disabled cashing! Do you know what can be a problem (specially the first one!)

Thank you
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: thank you for you entry

Post by Jan »

Hi, what you mean in wrong place, displaying the system message depends on template, it set where the messages will be displayed on the site.

Cache - there is no such similar settings in Phoca Guestbook (displaying after xx minutes) so there must be some problem on the server or on other extensions (joomla) settings - cache? if you have tested it then maybe some settings on server :idea: :idea:

Jan
If you find Phoca extensions useful, please support the project
nik
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 07 Apr 2010, 16:34

Re: thank you for you entry

Post by nik »

I alreadu told you: I see that message in other joomla category !!!
Cashe - well, joomla cashe! 8)
Post Reply