Jump to content

Redirect ?


karld

Recommended Posts

Posted

Hi does anybody know were you can change the link redirect to new page?
This is the redirect option when creating new forum.

Posted

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

Posted

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.

 08-May-16 6-56-43 PM.png

Posted

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

Posted

Hi Adlago I know there isnt an option, i was wondering were this can be edited so redirects to a new window

 

Posted
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

 

Posted

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.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...