Skip to main content
Recent Posts
Support / Re: Redirect URL in forum?
Last post by Mrs. Chaos -
Hi Robert!
The website then opens in the same window as the forum. If all extern websites are to be opened in new windows, then you have to do this in the GenericBoards.template.php:

Code: [Select]
<a href="', $board['href'], '" id="b', $board['id'], '">', $board['name'], '</a>';

Replace with:
Code: [Select]
<a', $board['is_redirect'] ? ' target="_blank"' : '', ' href="', $board['href'], '" id="b', $board['id'], '">', $board['name'], '</a>';
Support / Re: Redirect URL in forum?
Last post by radu81 -
Hi and welcome to elkarte!
Yes, Elkarte has this option too. Go to Admin > Forum > Boards > Modify Boards > Create new board
When you create a new board you need to select the option Redirect to a web address:
You can also do it on an existing board, but the board needs to be empty.
Feature Discussion / Re: SEF URLs .. Yes I know it's been discussed
Last post by emanuele -
I kind of found my answer. It was randomly applied in few places during the very first implementation of createList, but apparently without any real schema: in certain places it was added, in others it was not.
So, unless anyone has any objection, I'm going to drop them all and go for the "without strtr" version.