Problem with publishing object of a custom class

Author Message

Radovan Hrabcak

Thursday 29 April 2004 11:49:38 pm

Hello,

I have a class, I can create object of that class. Class name is kronoprodukt. When I create an object of that class, I can see it only when I am logged in. How to make it viewable for non loged users? The other issue is that
...
.
..
{let mainMenu=treemenu($module_result.path,$module_result.node_id,array('folder','info_page','kronoprodukt'), 1 )}
{section name=Menu loop=$mainMenu}
{section show=$:item.is_selected}
..
..
i can't see tha objects of that class. Could anyone give me some help or guidelines what to do?

Thanks

Lazaro Ferreira

Friday 30 April 2004 12:09:05 am

Hi,

Have you give read permissions of your objects to the anonymous users ?

Go to User/Roles page, and setup your role policies for objecs of the new class

After that don't forget clearing all the cache

Lazaro
-
http://www.mzbusiness.com

Lazaro
http://www.mzbusiness.com

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 19 2025 18:50:38
Script start
Timing: Jan 19 2025 18:50:38
Module start 'layout'
Timing: Jan 19 2025 18:50:38
Module start 'content'
Timing: Jan 19 2025 18:50:39
Module end 'content'
Timing: Jan 19 2025 18:50:39
Script end

Main resources:

Total runtime1.1052 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 589.3047152.6406
Module start 'layout' 0.00640.0041 741.945339.4766
Module start 'content' 0.01051.0929 781.4219487.8281
Module end 'content' 1.10350.0017 1,269.25008.1250
Script end 1.1051  1,277.3750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2969160.0002
Check MTime0.00140.1252160.0001
Mysql Total
Database connection0.00110.101210.0011
Mysqli_queries1.057095.6403540.0196
Looping result0.00080.0684520.0000
Template Total1.067296.620.5336
Template load0.00170.157520.0009
Template processing1.065496.403720.5327
Template load and register function0.00030.026410.0003
states
state_id_array0.00170.150110.0017
state_identifier_array0.00220.194720.0011
Override
Cache load0.00140.1265230.0001
Sytem overhead
Fetch class attribute can translate value0.00070.061020.0003
Fetch class attribute name0.00220.203220.0011
XML
Image XML parsing0.00020.020520.0001
class_abstraction
Instantiating content class attribute0.00000.001220.0000
General
dbfile0.00360.3257100.0004
String conversion0.00000.000940.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/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: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs