Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Legion of Honor Posted January 15, 2018 Posted January 15, 2018 I need some assistance on where the home button is mapped. I want to change where it goes when you click it, is there any way to do so?
Aiwa Posted January 15, 2018 Posted January 15, 2018 It should always go to your configured base_url. To move it to something else would contextually change the breadcrumb structure of the site. There isn't a built in setting that I'm aware of that will simply allow you to adjust the 'Home' base breadcrumb without changing a whole slew of other things on your community. What is is you're trying to achieve, leaving the 'Home' button out of it? There may be an alternative.
Legion of Honor Posted January 15, 2018 Author Posted January 15, 2018 @Aiwa if i can remove the home button that is fine too, if your would, how do I remove that button?
Aiwa Posted January 15, 2018 Posted January 15, 2018 There used to be a setting in the ACP, it appears to have gone MIA. You might submit a ticket asking where that setting went. In fact, the setting is still in the search index if you search for breadcrumb in the ACP.
Legion of Honor Posted January 15, 2018 Author Posted January 15, 2018 @Aiwa I did that and unfortunately, they will not assist because it falls under custom coding or modding the board. " Hello, "You could remove it with modification, yes. However, unfortunately, we cannot assist with modification in any way."
Meddysong Posted January 15, 2018 Posted January 15, 2018 It seems you'd have to amend core > front > global > MobileNavBar and change the href attribute in this part: <li id='elMobileBreadcrumb'> <a href='{setting="base_url"}'> <span>{lang="home"}</span> </a> </li> You could replace {lang="home"} with some new text too if it's not going to be pointing to home anymore.
Legion of Honor Posted January 15, 2018 Author Posted January 15, 2018 @MeddysongThank you for the assistance .Instead of base_url, Could I replace it with mysite.com/index.php ? or would that really mess with the breadcrumbs? I tried and its not working I really wish they left the original home button alone so you could choose where you wanted it to point.
Meddysong Posted January 15, 2018 Posted January 15, 2018 Your base_url should be mysite.com/index.php. What have you set your base_url as? <li id='elMobileBreadcrumb'> <a href='https://mysite.com/index.php'> <span>{lang="home"}</span> </a> </li> should work.
Legion of Honor Posted January 15, 2018 Author Posted January 15, 2018 @Meddysong its now good, thanks for the help
Recommended Posts
Archived
This topic is now archived and is closed to further replies.