Template code dosn`t show on for users, just for admins ?!?

Author Message

Selmah Maxim

Tuesday 03 June 2003 1:44:19 am

Hi ..

I had worte this line to show the data, I was wondering why no data showing on, but when i had loged in as admin, the code execute normaly !
This mean normal users cann`t see the result, just admins, here is the code :

{let MaindPageAds=fetch('content','list',hash(parent_node_id,$node.node_id, depth,0, class_filter_type, "include", class_filter_array, array($CompanyDataClassID),sort_by,array(array("priority",true()))))}
{$MaindPageAds|attribute(show)}
{section loop=$MaindPageAds name=Ads sequence=array(bglight,bgdark)}

{*section-exclude match=eq($Ads:item.data_map.front_page_view.data_int,"0")*}
({$Ads:item.node_id}). <a href={concat("content/view/full/",$Ads:item.node_id)|ezurl}>{$Ads:item.name|wash}</a>
<font class=small>{$node.object.published|l10n(date)}</font>
<br>
{/section}
{/let}
{/section}

any explanation for this ??!!

Jo Henrik Endrerud

Tuesday 03 June 2003 2:00:16 am

The anonymous users have probably not access to view these objects. Edit the anonymous role and edit the policies.

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

Selmah Maxim

Tuesday 03 June 2003 2:06:28 am

I didn`t set any policies yet !

the class id is 15, and just when i make filter with this id, no result show on for users !

Selmah Maxim

Tuesday 03 June 2003 2:11:44 am

I had set in site.ini ViewCaching=disabled , but still get the old files, when i had deteled the cach the result appeared !

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