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.

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

4 posters

Go down

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

Post by Mr. Eddster Tue 13 Aug - 23:58

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 Wed 14 Aug - 6:23; edited 1 time in total
Mr. Eddster
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 Wed 14 Aug - 0:15

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
Sir. Mayo
Forumember

Male Posts : 978
Reputation : 90
Language : English, Some french.
Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

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 Wed 14 Aug - 1:01

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.

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

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
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 Wed 14 Aug - 1:59

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
Sir. Mayo
Forumember

Male Posts : 978
Reputation : 90
Language : English, Some french.
Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

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 Wed 14 Aug - 2:17

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
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- Wed 14 Aug - 2:47

Hi,

Admin panel > Display > Templates/General > Overall_header When click on logo up top, make it go to portal instead of forum Editer

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 When click on logo up top, make it go to portal instead of forum Ajouter
enjoy Wink
Neptune-
Neptune-
Forumember

Female Posts : 496
Reputation : 104
Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
Location : Scotland, UK

https://www.galaxie-series.net/

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 Wed 14 Aug - 5:46

Neptune- wrote:Hi,

Admin panel > Display > Templates/General > Overall_header When click on logo up top, make it go to portal instead of forum Editer

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 When click on logo up top, make it go to portal instead of forum Ajouter
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
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- Wed 14 Aug - 5:53

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

Female Posts : 496
Reputation : 104
Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
Location : Scotland, UK

https://www.galaxie-series.net/

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 Wed 14 Aug - 6:21

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
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 Wed 14 Aug - 20:45

Topic Solved & Locked


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

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

Male Posts : 51555
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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