The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Forum Banner Redirect

3 posters

Go down

Solved Forum Banner Redirect

Post by ShowStopper 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
avatar
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 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
ankillien
Energetic

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

Back to top Go down

Solved Re: Forum Banner Redirect

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

It worked, thank you.
avatar
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 February 26th 2012, 7:43 am

Topic Solved & Locked
Sanket
Sanket
ForumGuru

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

Back to top Go down

Back to top

- Similar topics

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