Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
karld Posted May 8, 2016 Posted May 8, 2016 Hi does anybody know were you can change the link redirect to new page? This is the redirect option when creating new forum.
IveLeft... Posted May 8, 2016 Posted May 8, 2016 I dont quite understand what you mean ? If you mean the forum re-directs to another URL then its in ACP > Community > Forums > Then either create new and click re-direct OR Click the pencil icon on the RH side of the forum you want to edit and the re-direct is in there
karld Posted May 8, 2016 Author Posted May 8, 2016 When you create a redirect direct link as apposed too a discussion or questions forums etc. When you create these and you click on the link redirect it doesn't open new window but directs you away from your forum.
Adlago Posted May 8, 2016 Posted May 8, 2016 Replace this link with a link to the new address. for example Rediret URL : http://www.yoursait/forums/your forum you want/
karld Posted May 8, 2016 Author Posted May 8, 2016 Hi I have a couple of links already setup but when you click on them they take you to the link but not via a new page i.e not a blank page
Adlago Posted May 8, 2016 Posted May 8, 2016 You want this redirekt in a new window? There is no such option. Maybe someone developer will create a plugin .
karld Posted May 8, 2016 Author Posted May 8, 2016 Hi Adlago I know there isnt an option, i was wondering were this can be edited so redirects to a new window
Adriano Faria Posted May 9, 2016 Posted May 9, 2016 21 hours ago, karld said: Hi does anybody know were you can change the link redirect to new page? This is the redirect option when creating new forum. 19 hours ago, karld said: Hi Adlago I know there isnt an option, i was wondering were this can be edited so redirects to a new window
Andy Millne Posted May 9, 2016 Posted May 9, 2016 You could do this with a template edit. edit the forumRow template find... {{if $forum->password && !$forum->loggedInMemberHasPasswordAccess()}} <a href="{$forum->url()->setQueryString( 'passForm', '1' )}" data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="forum_requires_password"}'>{$forum->_title}</a> {{else}} <a href="{$forum->url()}">{$forum->_title}</a> {{endif}} replace with... {{if $forum->password && !$forum->loggedInMemberHasPasswordAccess()}} <a href="{$forum->url()->setQueryString( 'passForm', '1' )}" data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="forum_requires_password"}'>{$forum->_title}</a> {{else}} <a href="{$forum->url()}"{{if $forum->redirect_on}} target="_blank"{{endif}}>{$forum->_title}</a> {{endif}} Oh Adriano beat me to it. Yes if a plugin exists, use that.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.