thank you for you entry
-
aeng
- Phoca Newbie

- Posts: 5
- Joined: 06 Sep 2008, 13:44
thank you for you entry
When i put i messag in the guestbook i get i message "thank you for your entry". Can this be disabled?
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: thank you for you entry
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
$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

- Posts: 5
- Joined: 06 Sep 2008, 13:44
Re: thank you for you entry
That works fine, thank you!
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: thank you for you entry
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
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: thank you for you entry
Hi, this should solve template developer.
This piece code needs to be in template php/html:
Jan
This piece code needs to be in template php/html:
Code: Select all
<jdoc:include type="message" style="xhtml" />If you find Phoca extensions useful, please support the project
-
nik
- Phoca Newbie

- Posts: 3
- Joined: 07 Apr 2010, 16:34
Re: thank you for you entry
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
Thank you
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: thank you for you entry
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
Jan
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
Jan
If you find Phoca extensions useful, please support the project
-
nik
- Phoca Newbie

- Posts: 3
- Joined: 07 Apr 2010, 16:34
Re: thank you for you entry
I alreadu told you: I see that message in other joomla category !!!
Cashe - well, joomla cashe!
Cashe - well, joomla cashe!