Show on frontpage : Question

Author Message

John Mina

Tuesday 13 April 2004 2:56:27 am

HI
Not all the users are allowed to send article to front page. So how to prevent editors and article creators from having this option "check box"?

Also how would i make my choice to show on front page wht i need to show only , from a specified folder, not to leave it for chance?
I made up my choice to choose recent articles in folder X, but if i go to Y and asked to show this article on front page it also whos itself though this article is not in folder X .
Any clue ?
Sincerely
JOHN

Björn Dieding@xrow.de

Tuesday 13 April 2004 5:43:41 am

You need to hard code a little for that...

check upon thier group
{$current_user|attribute(show)}

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.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 04:41:40
Script start
Timing: Jan 19 2025 04:41:40
Module start 'layout'
Timing: Jan 19 2025 04:41:40
Module start 'content'
Timing: Jan 19 2025 04:41:40
Module end 'content'
Timing: Jan 19 2025 04:41:40
Script end

Main resources:

Total runtime0.7115 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.0056 589.1563152.6250
Module start 'layout' 0.00560.0035 741.781339.4453
Module start 'content' 0.00920.7008 781.2266522.9531
Module end 'content' 0.71000.0015 1,304.17978.1641
Script end 0.7114  1,312.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.5109160.0002
Check MTime0.00170.2424160.0001
Mysql Total
Database connection0.00090.124010.0009
Mysqli_queries0.665193.4798540.0123
Looping result0.00060.0831520.0000
Template Total0.683996.120.3419
Template load0.00200.280520.0010
Template processing0.681995.837820.3409
Template load and register function0.00020.028610.0002
states
state_id_array0.00090.125510.0009
state_identifier_array0.00080.109520.0004
Override
Cache load0.00170.2322150.0001
Sytem overhead
Fetch class attribute can translate value0.00100.143520.0005
Fetch class attribute name0.00110.158130.0004
XML
Image XML parsing0.00110.161020.0006
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00130.1892160.0001
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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs