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.

When click on logo up top, make it go to portal instead of forum

View previous topic View next topic Go down

Solved When click on logo up top, make it go to portal instead of forum

Post by Mr. Eddster on August 13th 2013, 10:58 pm

On my site, i have a logo up top. Whenever i click on it, it goes to the forum page instead of the portal page. I was wondering if there was a way for me to change that, so when i click on the logo up top it goes to the portal??
thanks!


Last edited by Mr. Eddster on August 14th 2013, 5:23 am; edited 1 time in total

Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

Solved Re: When click on logo up top, make it go to portal instead of forum

Post by Sir. Mayo on August 13th 2013, 11:15 pm

yes! I think this can be done I will edit this post with the way to do so once I get home and on my laptop. I'm on a cell phone atm.

Edit:

yes go to
ACP>Display>Generalties> your forum redirects to : (x) the portal
Make sure you press the save button!
See the image if confused on where you should be.

Sir. Mayo
Forumember

Male Posts : 969
Reputation : 87
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

http://sir-mayo.forumotion.com/

Back to top Go down

Solved Re: When click on logo up top, make it go to portal instead of forum

Post by Mr. Eddster on August 14th 2013, 12:01 am

@Sir. Mayo wrote:yes! I think this can be done I will edit this post with the way to do so once I get home and on my laptop. I'm on a cell phone atm.

Edit:

yes go to
ACP>Display>Generalties> your forum redirects to : (x) the portal
Make sure you press the save button!
See  the image if confused on where you should be.
 Thanks for the help, but its actually not what im looking for lol!
i got that set up. Thing is, i have a logo at the top of my site, and when i click on it, it goes to my forum page instead of my portal page
when i click on this logo (i will provide it below) i want it to go to the portal, NOT the forum.



also, when i hover over the logo, in the bottom l;eft of my screen it gives me the url http://sports-forumbuzz.canadian-forum.com/forum if that'd help

i think it'd need to be fixed in the templates if anything

Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

Solved Re: When click on logo up top, make it go to portal instead of forum

Post by Sir. Mayo on August 14th 2013, 12:59 am

Ok place this code in your Javascript codes  management and set the placement  to all pages
Code:
$(function(){
  $('#i_logo').parent('a').click(function(){
    window.location='/portal';
    return false;
  });
});

Sir. Mayo
Forumember

Male Posts : 969
Reputation : 87
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

http://sir-mayo.forumotion.com/

Back to top Go down

Solved Re: When click on logo up top, make it go to portal instead of forum

Post by Mr. Eddster on August 14th 2013, 1:17 am

@Sir. Mayo wrote:Ok place this code in your Javascript codes  management and set the placement  to all pages
Code:
$(function(){
  $('#i_logo').parent('a').click(function(){
    window.location='/portal';
    return false;
  });
});
it worked once then it stopped working... Confused

edit: it works but then once you log out it goes back to the same way, click on the logo and it re directs to forum instead of portal

Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

Solved Re: When click on logo up top, make it go to portal instead of forum

Post by Neptune- on August 14th 2013, 1:47 am

Hi,

Admin panel > Display > Templates/General > Overall_header

Look for : {U_INDEX}
Then replace
Code:
<a href="{U_INDEX}" id="pun-logo"><img src="{LOGO}" alt="{L_INDEX}" /></a>
with
Code:
<a href="/portal" id="pun-logo"><img src="{LOGO}" alt="{L_INDEX}" /></a>
Publish
enjoy Wink

Neptune-
Forumember

Male Posts : 187
Reputation : 21
Language : French (10), English (8), CSS (5), HTML (4), Javascript (1)
Location : France

http://www.planet-series.com/

Back to top Go down

Solved Re: When click on logo up top, make it go to portal instead of forum

Post by Mr. Eddster on August 14th 2013, 4:46 am

@Neptune- wrote:Hi,

Admin panel > Display > Templates/General > Overall_header

Look for : {U_INDEX}
Then replace
Code:
<a href="{U_INDEX}" id="pun-logo"><img src="{LOGO}" alt="{L_INDEX}" /></a>
with
Code:
<a href="/portal" id="pun-logo"><img src="{LOGO}" alt="{L_INDEX}" /></a>
Publish
enjoy Wink
Thank you very much! Razz

i got 1 more question though!
when people log out, it goes back to the forum page, not the portal page. The link i use for this is this:
http://sports-forumbuzz.canadian-forum.com/login?logout=1

is it possible that when users log out, they go to the portal page instead of the forum page?
Thanks!

Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

Solved Re: When click on logo up top, make it go to portal instead of forum

Post by Neptune- on August 14th 2013, 4:53 am

I think you're redirected on the page chosen on Admin-Panel/Display/HomePage/Generalities and do not know how to change this.

Neptune-
Forumember

Male Posts : 187
Reputation : 21
Language : French (10), English (8), CSS (5), HTML (4), Javascript (1)
Location : France

http://www.planet-series.com/

Back to top Go down

Solved Re: When click on logo up top, make it go to portal instead of forum

Post by Mr. Eddster on August 14th 2013, 5:21 am

@Neptune- wrote:I think you're redirected on the page chosen on Admin-Panel/Display/HomePage/Generalities and do not know how to change this.
 eah possibly. but thanks, this is solved then! ill create a new blog for the logout problem! Smile

Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

Solved Re: When click on logo up top, make it go to portal instead of forum

Post by SLGray on August 14th 2013, 7:45 pm

Topic Solved & Locked


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36701
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.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