Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Move your Home...

Quote Reply
Move your Home...
Hello :-)

Is it possible to change the location where the homepage is created? But ONLY the homepage - all others should remain on the default place... I would like to use my directory's homepage also as my portal's homepage, so I would like LSQL to build it one level more up. I hope it can be hardcoded in build module. Can you give me some hint where?

Thank you very much in ahead :-)

Robo
Quote Reply
Re: [Robo] Move your Home... In reply to
Rather than changing the hard code, you could make a re-direct in the existing home page to your new one.


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Robo] Move your Home... In reply to
OR you could create another global such as build_home_url with the following configs:

build_home_url => $build_home_url

And reference $build_home_url as

$build_home_url = "/";

Then in your templates, you could use <%build_home_url%> rather than <%build_root_url%>.

Hope this helps.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Stealth] Move your Home... In reply to
Hmm I'm not sure that is going to work as the build routines need to know the new path too.

You need to edit sub _build_home in nph-build.cgi
Quote Reply
Re: [Paul] Move your Home... In reply to
No problem boys!!

I have found out that it would be best doing it externaly using <? include command in php.

Many thanks to you all Smile

Robo

P.S. My Links SQL directory is almost finished: http://www.frigorista.com/