How to stop sitemap, and what is Rules[],SitePrecheckRules ,PolicyOmitList[] ?!?

Author Message

Selmah Maxim

Saturday 24 May 2003 11:03:18 am

HI ...

any1 know how to stop sitemap ?

what i found in site.ini PolicyOmitList[] , what is it ?
also Rules[] , and SitePrecheckRules how to use ?
can i stop for by rules ??!

Selmah Maxim

Sunday 25 May 2003 1:20:18 am

Hi.. agian ...

what`s up ?
all ZZZZZZzzzzzzz ... or ?

anyway, i coudn`t find the way, so i i had this lines to kernel/content/view.php

if($ViewMode =="sitemap" And $UserGroup[0] !='12') // Admin Group id is 12 //
{
$ViewMode="full";
}
so now the sitemap viewmode is just for the admins !

but any better way ?!

Am wondering why ez team didn`t write more info about Rules,PolicyOmitList and SitePrecheckRules .. any1 know ?

Paul Borgermans

Sunday 25 May 2003 4:09:12 am

Hey,

It's weekend after all :-)

PolicyOmitList is an array where you can specify the modules and/or modules/actions where no role+policy checking is done (=the reverse of disabling).

Rules[] is used to convert from one file format to another, only used for images now (see image.ini).

SitePrecheckRules is new (even unknown to me).

Disabling modules and or modules/actions is for 3.1

hth

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Selmah Maxim

Sunday 25 May 2003 5:36:27 am

Hi :)

maybe u right .. weekend :)

about Rules[], it`s not for files .. etc ..

check user/site.ini :

[SiteAccessRules]
Rules[]
Rules[]=Access;enable
Rules[]=ModuleAll;true
Rules[]=Access;disable
Rules[]=Module;sdk

maybe i`ll stop working on this version.. waiting the next version ... or i`ll try with this version , i had changed in php code, i found many unneeded code, and also some bugs, even i don`t remember what bug i had fixed, coz i didn`t checked the ez.no just after 1 week from starting with ez32, and i had made some changes for my site .

now, i found this that the registred user can agian register, try this :
user/register .. must check if user is loged in or not, it`s can be done via the template, but with this way u make the links hidden, that mean if i write will run !

and the new fix for user editing ... i think also buged, coz no user can edit his account !

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 11:33:31
Script start
Timing: Jan 30 2025 11:33:31
Module start 'layout'
Timing: Jan 30 2025 11:33:31
Module start 'content'
Timing: Jan 30 2025 11:33:32
Module end 'content'
Timing: Jan 30 2025 11:33:32
Script end

Main resources:

Total runtime1.3250 sec
Peak memory usage8,192.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.6250151.2734
Module start 'layout' 0.00500.0038 739.8984220.7656
Module start 'content' 0.00881.3154 960.66414,460.9219
Module end 'content' 1.32430.0007 5,421.585911.7500
Script end 1.3250  5,433.3359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.2286160.0002
Check MTime0.00120.0886160.0001
Mysql Total
Database connection0.00060.045810.0006
Mysqli_queries1.171588.4174600.0195
Looping result0.00050.0354580.0000
Template Total1.270795.920.6354
Template load0.00170.127520.0008
Template processing1.269095.773320.6345
Template load and register function0.00150.110110.0015
states
state_id_array0.00160.122410.0016
state_identifier_array0.00210.158420.0010
Override
Cache load0.00140.1091450.0000
Sytem overhead
Fetch class attribute can translate value0.00160.121220.0008
Fetch class attribute name0.00170.127850.0003
XML
Image XML parsing0.01120.846820.0056
class_abstraction
Instantiating content class attribute0.00000.000750.0000
General
dbfile0.01260.9519170.0007
String conversion0.00000.000440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs