The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Forum Banner Redirect

View previous topic View next topic Go down

Solved Forum Banner Redirect

Post by ShowStopper on February 26th 2012, 4:29 am

I want the Portal to be the homepage, but when someone clicks on the banner, I want it to send them to the forum. How can I do this?


Last edited by ShowStopper on February 26th 2012, 6:43 am; edited 1 time in total

ShowStopper
Forumember

Female Posts : 68
Reputation : 1
Language : English | HTML | Javascript | CSS

http://heroesnetwork.forumotion.net

Back to top Go down

Solved Re: Forum Banner Redirect

Post by ankillien on February 26th 2012, 5:58 am

Hi,

Try adding this code in Admin CP > Modules > Javascript management. Add it for all pages.

Code:
$(function(){
  $('#i_logo').parent('a').click(function(){
    window.location='YOU FORUM LINK HERE';
    return false;
  });
});

Add you forum link in the code where it says "YOU FORUM LINK HERE". Hope it helps Very Happy

ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

http://www.webartzforum.com/

Back to top Go down

Solved Re: Forum Banner Redirect

Post by ShowStopper on February 26th 2012, 6:43 am

It worked, thank you.

ShowStopper
Forumember

Female Posts : 68
Reputation : 1
Language : English | HTML | Javascript | CSS

http://heroesnetwork.forumotion.net

Back to top Go down

Solved Re: Forum Banner Redirect

Post by Sanket on February 26th 2012, 7:43 am

Topic Solved & Locked

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum