Announcement
Collapse
No announcement yet.
Open a link forum in a new window.
Collapse
X
-
Code:<if condition="$forum[link]"> <if condition="$forum[id]==91">target="_blank"</if></if>
Leave a comment:
-
Lets make it more specific.
I dont know the exact syntax for php and cant modify.
I want this if (the one you stated above) is valid for all links. But I have links that I dont want them to be opened in a new window like vBArcade or Registration link.
I want to expand the if clause like this;
<if condition="$forum['link']"> and $forum[forumid] = 10, open in a new page.
I dont know the exact syntax.
I also found this out
http://www.vbulletin.com/forum/showthread.php?t=116782
Thanks.Leave a comment:
-
Admin Control Panel > Styles & Templates > Style Manager > dropdown: Edit Templates > Expand the group for forum home templates > open the template forumhome_forumbit_level2_post and find the code:Code:<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
Code:<if condition="$forum['link']"> <a href="$forum[link]" target="_blank"><strong>$forum[title]</strong></a> <else /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> </if>
Leave a comment:
-
Open a link forum in a new window.
I have a forum thats a link to FlashChat.
I want it to be opened in a new window. How can I do that ?
Thanks.Tags: None
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Leave a comment: