![]() |
How To Open Forum Link In New Windows ? (Subforum With Link)
1 Attachment(s)
hi, I'm using vb4.0.5
i have a question here about subforum that redirect to another link so, my question is, how to make it opens in new windows when we click it ? i know there is a modification for vb3 but in vb4, which one template that I need to edit ? please see my photo attachment please guys :-( |
Quote:
At forumhome_forumbit_level2_post template, find the following code: HTML Code:
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2> and change it to: HTML Code:
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}" target="_blank">{vb:raw forum.title}</a></h2> |
hi borbole ... do you understand my question ? that's the wrong way.. i dont want to open in new windows for all..but sub-forum that contain redirect link only
the html code should be in condition. (<vb:if></vb:if> condition) argghhh..why vb4 is so different..in vb3, i can do this easily... |
Quote:
Sorry for the misunderstanding. I thought you wanted to open all the forums. Try this. It should do what you want Same template, find the same code HTML Code:
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2> HTML Code:
<vb:if condition="$forum['link']"> |
works great in 4.1.5pl1 thanks borbole
|
All times are GMT. The time now is 08:23 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|