Re: home page at x.com while cat. at x.com/pages/cat/In reply to
Hi,
I did it on a different way on my site. The home page is at http://mishpat.net and the pages are built in http://mishpat.net/law/
LinksSQL builds a home page at http://mishpat.net/law/ but non of the pages point there. The only thing I had to change was the linked title bar.
In build.pm sub build_title_linked I changed the default to the following: $output = qq| <a href="http://mishpat.net">$top</a> :|;
Now all the pages point to http://mishpat.net as the home page, and not to http://mishpat.net/law (so all you have to do is change the URL to yourdomain.com). The page on http://mishpat.net was manually built and is not generated by LinksSQL build (this has other advantages such as the ability to choose which subcategories appear on the home page).
Re: home page at x.com while cat. at x.com/pages/cat/In reply to
i found the solution: open nph-build.cgi and goto sub _build_home and look for : print "Building <a href='$CFG->{build_root_url}/$CFG->{build_index}' target='_blank'>Home Page</a>
then change {build_root_url} to the path of the directory you want your main page to be listed under
Re: home page at x.com while cat. at x.com/pages/cat/In reply to
Another way you can do it ... which is the way I did it, was to make xxxx.com your build directory, and then use the category_path option for all your categories.
A bit of extra work, but once you have it set up it works like a charm.
Re: home page at x.com while cat. at x.com/pages/cat/In reply to
How about adding an optional setup field for 'Alternative Home Page Path', if set, Links will built to the path specified, if not, build to 'build_root_url' ?
Or maybe the other way around, and offer an optional 'Alternative Category Path' ?
I suppose you then get the problem of where to put the New, Pop, Ratings and Detailed pages, oh well ... just a thought