Using the Link Function
Forum rules
Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Using the Link Function
I have created a link on the forum, (from within the acp from new forums page), for a chat facility. Obviously when the user clicks on the link it opens the chat as if you are going into a forum. I couldn't see any setting on the settings for the link - but is there a way of making just this link (and NOT) the forums to be opened as a new window so the users can easily move across both.
Re: Using the Link Function
open
forumlist_body.html
find
replace with
Save, upload, and purge the cache
All 'forums' that are links will now open in new tab/page
forumlist_body.html
find
Code: Select all
<a class="forumlink" href="{forumrow.U_VIEWFORUM}">
Code: Select all
<a class="forumlink" href="{forumrow.U_VIEWFORUM}" onclick="window.open(this.href);return false;">
All 'forums' that are links will now open in new tab/page
Re: Using the Link Function
Thanks for this James. Can I just clarify something.
By editing this code, out of the 3 types, (Category, forum and Link) - ONLY the link will open as a new window, the category and forums won't?
I just want to be clear.
By editing this code, out of the 3 types, (Category, forum and Link) - ONLY the link will open as a new window, the category and forums won't?
I just want to be clear.
Re: Using the Link Function
Yes, it will just open the links in a new page. All other functions of the board are not changed
Re: Using the Link Function
Thank you James, I'll try it out now.
Kev
Kev
Re: Using the Link Function
Sorted. Thanks James.
Kev
Kev