Share » Forums » Setup & design » How to stop sitemap, and what is...

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

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

Saturday 24 May 2003 11:03:18 am - 3 replies

Author Message

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 !

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu