Can hyperlinks in messages be directed to a new page?
Posted by Yoda
Can hyperlinks in messages be directed to a new page? April 29, 2017 05:45AM |
Registered: 7 years ago Posts: 8 |
Hello,
I am wondering if links in posts can be directed to a new page via target="_blank".
In the read.tpl file there is this variable {MESSAGES->body} to display the message.
Since PHP doesn't seem to be allowed in templates, I could not find a way to manipulate the variable, resp. the html tag of the hyperlink.
Does anyone have an idea for a workaround?
Thanks in advance
Jay
Edited 2 time(s). Last edit at 04/29/2017 05:46AM by Yoda.
I am wondering if links in posts can be directed to a new page via target="_blank".
In the read.tpl file there is this variable {MESSAGES->body} to display the message.
Since PHP doesn't seem to be allowed in templates, I could not find a way to manipulate the variable, resp. the html tag of the hyperlink.
Does anyone have an idea for a workaround?
Thanks in advance
Jay
Edited 2 time(s). Last edit at 04/29/2017 05:46AM by Yoda.
Re: Can hyperlinks in messages be directed to a new page? April 29, 2017 09:43AM |
Admin Registered: 21 years ago Posts: 9,240 |
Re: Can hyperlinks in messages be directed to a new page? May 02, 2017 03:06AM |
Admin Registered: 18 years ago Posts: 744 |
Hi Jay,
and in my option the user should be ably to decide himself if he wants to open a link in the same window, open a new window or open a new tab... ;)
Regards
Oliver
Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
and in my option the user should be ably to decide himself if he wants to open a link in the same window, open a new window or open a new tab... ;)
Regards
Oliver
Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: Can hyperlinks in messages be directed to a new page? May 02, 2017 08:32AM |
Registered: 7 years ago Posts: 8 |
Sorry, only registered users may post in this forum.