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.

eZ debug

Timing: Jan 18 2025 11:00:45
Script start
Timing: Jan 18 2025 11:00:45
Module start 'layout'
Timing: Jan 18 2025 11:00:45
Module start 'content'
Timing: Jan 18 2025 11:00:46
Module end 'content'
Timing: Jan 18 2025 11:00:46
Script end

Main resources:

Total runtime0.8800 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 588.1719152.6563
Module start 'layout' 0.00650.0032 740.828139.5078
Module start 'content' 0.00970.8687 780.3359506.7656
Module end 'content' 0.87840.0016 1,287.101612.0938
Script end 0.8800  1,299.1953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3904160.0002
Check MTime0.00140.1571160.0001
Mysql Total
Database connection0.00090.097510.0009
Mysqli_queries0.826393.8970600.0138
Looping result0.00070.0786580.0000
Template Total0.846996.220.4235
Template load0.00200.232220.0010
Template processing0.844996.004820.4224
Template load and register function0.00020.018710.0002
states
state_id_array0.00070.083810.0007
state_identifier_array0.00110.120620.0005
Override
Cache load0.00180.2036250.0001
Sytem overhead
Fetch class attribute can translate value0.00070.079320.0003
Fetch class attribute name0.00200.231140.0005
XML
Image XML parsing0.00030.028520.0001
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00100.1123100.0001
String conversion0.00000.001240.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
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs