Jump to content

home page on mobile


cane_cc72

Recommended Posts

I tried adding another instance of the home button in the mobileNavBar but it merges the 2 buttons together below is the code I tried. I must be doing it wrong.

 

  
 <li id='elMobileBreadcrumb'>
				<a href='{setting="base_url"}'>
					<span>{lang="home"}</span>
				</a>
			</li>

 

Link to comment
Share on other sites

19 minutes ago, cane_cc72 said:

I will give that a try fingers crossed i get it right lol

This should get you the URL

$Get_url = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URl'];

this will show you how to set up a php if statement.

http://php.net/manual/en/control-structures.elseif.php

Use ECHO to create your home button.

Then you can control when it show's up.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...