Forums / Setup & design / browsing path problem !

browsing path problem !

Author Message

Selmah Maxim

Wednesday 21 May 2003 8:38:17 am

Hi ..

My main folder node id is 16, so i want the content/browse start from there, coz of this i had add line to browse.php :

if( $NodeID == 2)$NodeID= 16;

work fine, but the path want work, is always give the browsed url, let say am watching node 18, so all the liks in the path is going to node id 18 !

I had check the $module_result.path , and it`s give this :

Attribute Type Value
0 array Array(2)
>text string 'My folder'
>url string '/content/browse/2/'

the url still going to node id 2, maybe this the problem, so where can i change this ?

thx.

Karsten Jennissen

Wednesday 21 May 2003 8:43:36 am

I think in site.ini there is a setting for this. Under

[SiteSettings] you have
# Which page to show when the root index (/) is accessed
IndexPage=/content/view/sitemap/2/
# Displayed if an error occurs and ErrorHandler is set to defaultpage
DefaultPage=/content/view/sitemap/2/

This is set per logical site so changes should go to /settings/siteaccess/(yoursite)/site.ini.append(.php)

Shouldn't change too much in the PHP files. This'll be a mess for upgrading. :-)

Karsten

Selmah Maxim

Wednesday 21 May 2003 9:02:04 am

i have tried befor from ini files the same result, the best thing that to remove the path from the site, no need for extra links :)

when the next version come, i will not upgrade my site, i`ll make full new site from a to Z :)