Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

Add full to nav items

edited August 2011 in Modules
I am working on a site that has several domains whose A-records point to the site's IP address. Something very strange started happening this morning. We noticed that when clicking around in the nav of the site some of these domains start 'taking over' the site name and all the nav elements are prepended with the new domain.

I'm not sure why this is happening but wanted to know if there is a way in the fuel_nav method to insert the desired domain in front of the uri in order to force the domain not to change? I know I could create the nav by looping through the nav items from the db concatenating them together but thought I'd see if there is a way to do that already in place somewhere.


  • edited 12:02PM
    The links in the nav are generated by the site_url() function or anchor function. Those functions use the base_url defined in your config to create the link. If the base_url contains dynamic logic, then that base_url may change.
  • edited 12:02PM
    ok. not sure what was going on. the company has hundreds of other domain names and they handle all the A-record pointing on their own server. They might have been doing some crazy stuff with all of that earlier this morning because the 'domain take-over' thing is no longer happening. I also noticed that their main site domain is contained in the nameservers according to the whois lookup I did on these other domain names. However, the main site itself is pointing via an A-record just like all the others. A little weird.
Sign In or Register to comment.