cane_cc72 Posted February 7, 2016 Share Posted February 7, 2016 Is it possible to have home page button show within a forum rather then having to back out of forum to see it? Like have it show in navbar globally. Link to comment Share on other sites More sharing options...
SJ77 Posted February 7, 2016 Share Posted February 7, 2016 Could edit template and add it where you want it Link to comment Share on other sites More sharing options...
Nathan Explosion Posted February 7, 2016 Share Posted February 7, 2016 Or just tap on the name of the site..... Link to comment Share on other sites More sharing options...
cane_cc72 Posted February 8, 2016 Author Share Posted February 8, 2016 1 hour ago, Nathan Explosion said: Or just tap on the name of the site..... Yeah I know but gotta please the members....lol Link to comment Share on other sites More sharing options...
cane_cc72 Posted February 8, 2016 Author Share Posted February 8, 2016 1 hour ago, superj707 said: Could edit template and add it where you want it I been looking at that just not sure how to do it with out it showing home button twice when on the Main forum page or (category) page, and not having to edit all page's. Link to comment Share on other sites More sharing options...
cane_cc72 Posted February 8, 2016 Author Share Posted February 8, 2016 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 More sharing options...
SJ77 Posted February 8, 2016 Share Posted February 8, 2016 Maybe use a PHP if statement if url != main forums show button on phone now so I can't type exact code but that should give you the idea Link to comment Share on other sites More sharing options...
cane_cc72 Posted February 8, 2016 Author Share Posted February 8, 2016 2 hours ago, superj707 said: Maybe use a PHP if statement if url != main forums show button on phone now so I can't type exact code but that should give you the idea I will give that a try fingers crossed i get it right lol Link to comment Share on other sites More sharing options...
SJ77 Posted February 8, 2016 Share Posted February 8, 2016 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 More sharing options...
cane_cc72 Posted February 8, 2016 Author Share Posted February 8, 2016 Thank's for the help i'll give it a try. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.