Deny access from anonymous user on full view

Author Message

Karl Empereur

Thursday 04 November 2004 9:14:54 am

I wane restrict only the full view of articles. Anonymous users got to log in in order to be able to read the full article for 1 specific class. I'v made a different class and .tpl for these types of articles.
I don't wane work for with sections bc I already have 25 different sections (5 languages x 5 layouts)

Karl Empereur

Thursday 04 November 2004 3:30:17 pm

I'v got a solution, found in http://ez.no/community/forum/developer/finding_out_whether_a_user_is_logged_in_or_not

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

Main resources:

Total runtime0.8881 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 589.4766152.6406
Module start 'layout' 0.00480.0025 742.117239.4766
Module start 'content' 0.00730.8792 781.5938456.8359
Module end 'content' 0.88650.0015 1,238.42978.2813
Script end 0.8880  1,246.7109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4027160.0002
Check MTime0.00140.1630160.0001
Mysql Total
Database connection0.00060.062210.0006
Mysqli_queries0.843995.0240520.0162
Looping result0.00050.0577500.0000
Template Total0.857096.520.4285
Template load0.00230.258220.0011
Template processing0.854796.247320.4274
Template load and register function0.00030.033110.0003
states
state_id_array0.00090.098410.0009
state_identifier_array0.00100.118120.0005
Override
Cache load0.00180.207790.0002
Sytem overhead
Fetch class attribute can translate value0.00100.118010.0010
Fetch class attribute name0.00100.111030.0003
XML
Image XML parsing0.00250.283610.0025
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.00350.3986160.0002
String conversion0.00000.000640.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs