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 :)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 21:26:29
Script start
Timing: Jan 30 2025 21:26:29
Module start 'layout'
Timing: Jan 30 2025 21:26:29
Module start 'content'
Timing: Jan 30 2025 21:26:29
Module end 'content'
Timing: Jan 30 2025 21:26:29
Script end

Main resources:

Total runtime0.0203 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 588.1250151.2109
Module start 'layout' 0.00490.0036 739.3359220.6875
Module start 'content' 0.00850.0103 960.0234997.6797
Module end 'content' 0.01880.0015 1,957.703129.9922
Script end 0.0203  1,987.6953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002512.3488140.0002
Check MTime0.00104.7968140.0001
Mysql Total
Database connection0.00094.271810.0009
Mysqli_queries0.002110.425730.0007
Looping result0.00000.053910.0000
Template Total0.00115.210.0011
Template load0.00083.976410.0008
Template processing0.00021.200110.0002
Override
Cache load0.00052.679110.0005
General
dbfile0.00021.018480.0000
String conversion0.00000.028140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs