admin content on the users page

Author Message

Felix Laate

Tuesday 07 January 2003 3:07:57 am

Hi (again)!

I can't get rc1 to show the users "side of the story". I generate som content in the admin-interface, then I got to the user-page. But, oops, it only shows (some of) the content that is shown in the adminpage, NOT the asumed result!

Hohoo!

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Jan Borsodi

Tuesday 07 January 2003 4:39:41 am

> Hi (again)!
>
> I can't get rc1 to show the users "side of the story". I
> generate som content in the admin-interface, then I got to
> the user-page. But, oops, it only shows (some of) the
> content that is shown in the adminpage, NOT the asumed
> result!

Did you install the demo data?
If so two problems could be present:

1. There are template overrides for classes present, these overrides will sometimes only show parts of the object.
Look in design/user/override/templates/node/view/ and you'll see lots of files with class_1, class_2 inside the names. Theses are overrides for specific classes, if you remove (or move) them your page should work again.
2. There are roles active which limit the classes the anonymous user(default on user page) can see, this means that some children of objects won't be visible (this is intentional).
Edit the roles policy to show all classes of content/read or add a new policy for specific class for content/read.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Felix Laate

Wednesday 08 January 2003 11:24:07 pm

> > Hi (again)!
> >
> > I can't get rc1 to show the users "side of the story". I
> > generate som content in the admin-interface, then I got
> to
> > the user-page. But, oops, it only shows (some of) the
> > content that is shown in the adminpage, NOT the asumed
> > result!
>
> Did you install the demo data?
> If so two problems could be present:
>
> 1. There are template overrides for classes present, these
> overrides will sometimes only show parts of the object.
> Look in design/user/override/templates/node/view/ and
> you'll see lots of files with class_1, class_2 inside the
> names. Theses are overrides for specific classes, if you
> remove (or move) them your page should work again.
> 2. There are roles active which limit the classes the
> anonymous user(default on user page) can see, this means
> that some children of objects won't be visible (this is
> intentional).
> Edit the roles policy to show all classes of content/read
> or add a new policy for specific class for content/read.

That's it. The roles are now set and the users can view the content.

Thanx alot!

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.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 18 2025 05:04:49
Script start
Timing: Jan 18 2025 05:04:49
Module start 'layout'
Timing: Jan 18 2025 05:04:49
Module start 'content'
Timing: Jan 18 2025 05:04:50
Module end 'content'
Timing: Jan 18 2025 05:04:50
Script end

Main resources:

Total runtime0.5541 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 589.1641152.6406
Module start 'layout' 0.00460.0026 741.804739.4766
Module start 'content' 0.00710.5455 781.2813549.2969
Module end 'content' 0.55270.0014 1,330.578112.4609
Script end 0.5541  1,343.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5886160.0002
Check MTime0.00130.2428160.0001
Mysql Total
Database connection0.00060.111910.0006
Mysqli_queries0.500790.3590570.0088
Looping result0.00050.0955550.0000
Template Total0.526895.120.2634
Template load0.00210.379720.0011
Template processing0.524794.686820.2623
Template load and register function0.00010.022010.0001
states
state_id_array0.00060.115710.0006
state_identifier_array0.00090.156120.0004
Override
Cache load0.00180.3260520.0000
Sytem overhead
Fetch class attribute can translate value0.00070.122220.0003
Fetch class attribute name0.00160.289750.0003
XML
Image XML parsing0.00080.139320.0004
class_abstraction
Instantiating content class attribute0.00000.001660.0000
General
dbfile0.00080.1405230.0000
String conversion0.00000.001040.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/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: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs