Absolute href link of an user button

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

Absolute href link of an user button

Post by abcd2014 » Fri Mar 02, 2018 7:38 am

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: 64229
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Absolute href link of an user button

Post by Lumpy Burgertushie » Fri Mar 02, 2018 2:34 pm

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
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

abcd2014
Registered User
Posts: 74
Joined: Sun Feb 18, 2018 12:26 pm

Re: Absolute href link of an user button

Post by abcd2014 » Fri Mar 02, 2018 7:33 pm

Hi robert,

Thanks.
it works fine now.

Post Reply

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

Who is online

Users browsing this forum: No registered users and 5 guests