Absolute href link of an user button

For support and discussion related to templates, themes, and imagesets in phpBB 3.1.
Ideas Centre
Locked
abcd2014
Registered User
Posts: 74
Joined: Sun Feb 18, 2018 12:26 pm

Absolute href link of an user button

Post by abcd2014 »

I add a button in navbar_header.html

It looks like:
<div>
<ul>
<li><a href="mathlaunch.com/forum/">Forum</a></li>
<li><a class="active" href="http://www.mathlaunch.com/">Home</a></li>
</ul>
</div>

When I click a button (i.e. home), FireFox shows the connection link is

mathlaunch.com/forum/mathlaunch.com

How to remove prefix mathlaunch.com/forum, so that, href of Home button points to absolute link mathlaunch.com?

Thanks

.
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Absolute href link of an user button

Post by Lumpy Burgertushie »

this is incorrect: <li><a href="mathlaunch.com/forum/">Forum</a></li>
it should be either <li><a href="index.php">Forum</a></li>
or
<li><a href="http://www.mathlaunch.com/forum/">Forum</a></li>

robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
abcd2014
Registered User
Posts: 74
Joined: Sun Feb 18, 2018 12:26 pm

Re: Absolute href link of an user button

Post by abcd2014 »

Hi robert,

Thanks.
it works fine now.
Locked

Return to “[3.1.x] Styles Support & Discussion”