Hello Jan
I have set the guestbook for approve each item before publishing... The problem is in the approval email a direct link is displayed related to the new item but this link is useless because item awaiting approval so nothing can be seen.
Instead displaying the item related link I would like display the direct admin link like that user can just click and login in his admin for take appropriate action... So probably by just adding /administrator somewhere I can do that..
Please can you tell me in witch file I can make this modification ?
Many thank
Remove link in approval email
- Jan
- Phoca Hero
- Posts: 48726
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Remove link in approval email
Hi, the links goes to the main site of Phoca Guestbook, it is not possible to create links to administration area in Joomla! (becasue of security reasons - there are many functions to protect it - login, tokens, ...)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 54
- Joined: 10 Nov 2008, 18:19
Re: Remove link in approval email
Thank for reply....
The link I would like is just http://www.mysite.com/administrator and no more....You say this is not possible ????
Anyway can you tell me in witch file the link is present...??? If I can't replace the original link I want just remove it because users will not understand why they can''t see nothing...
The link I would like is just http://www.mysite.com/administrator and no more....You say this is not possible ????
Anyway can you tell me in witch file the link is present...??? If I can't replace the original link I want just remove it because users will not understand why they can''t see nothing...
-
- Phoca Enthusiast
- Posts: 54
- Joined: 10 Nov 2008, 18:19
Re: Remove link in approval email
hi Jan
I have found inside front/controllers/phocaguestbook.php the code related to email message and the value $url where it seem the link is displayed....I have try to remove this value but the link continue to be displayed inside message...
Can you please tell me how to remove totally the link ?
thank
I have found inside front/controllers/phocaguestbook.php the code related to email message and the value $url where it seem the link is displayed....I have try to remove this value but the link continue to be displayed inside message...
Can you please tell me how to remove totally the link ?
thank
- Jan
- Phoca Hero
- Posts: 48726
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Remove link in approval email
Hi, where exactly did you remove it, the front is only working folder, no influence on the component, you should change it in:
components/com_phocaguestbook/controllers/phocaguestbook.php
and comment e.g.:
. JText::_( 'Click the link' ) ."\n"
. $url."\n\n"
Jan
components/com_phocaguestbook/controllers/phocaguestbook.php
and comment e.g.:
. JText::_( 'Click the link' ) ."\n"
. $url."\n\n"
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 54
- Joined: 10 Nov 2008, 18:19
Re: Remove link in approval email
you rock !! many thank
- Jan
- Phoca Hero
- Posts: 48726
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Remove link in approval email
Ok
If you find Phoca extensions useful, please support the project