Jump to content

the home button

Featured Replies

Posted

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?

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.

  • Author

@Aiwa  if i can remove the home button that is fine too, if your would, how do I remove that button?

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

  • Author

@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."

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.

  • Author

@MeddysongThank you for the assistance  :D .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.

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.

Archived

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

Recently Browsing 0

  • No registered users viewing this page.