Hey,
I've created a template for my new site. I used CSS Menu since it's pretty sweet. But I'm having one problem: the links are absolute. I'm working in internal network and that's all I can see (addresses like 192.168.x.x) - and now the site is done and tested - but from outside it is different address: our main server is www.blabla.com; So it's neither working inside and using 192.x.x.x address or from outside using the www one. I think that relative links would resolve the problem. What do u think? Any suggestions?
numer9
CSSMenu: relative links instead of absolute...
Re: CSSMenu: relative links instead of absolute...
I don't think we could totally get rid of it, but I could see it being an option in config.php or something.
Re: CSSMenu: relative links instead of absolute...
Yeah, that would be sweet... but is there any options to do it now? I'm trying to analise the source code of the whole CMS MS (cause CSS Menu just uses $content->GetURL method... but it's not that easy to figure it out...
numer9
numer9
Re: CSSMenu: relative links instead of absolute...
There isn't at the moment. It would take some work to find all of the places..
As far as where GetURL lives, look in lib/contenttypes/Content.inc.php
As far as where GetURL lives, look in lib/contenttypes/Content.inc.php