Custom PHP Page Authentication

Author Message

Budiono bee

Thursday 15 January 2009 2:52:43 pm

Hi All,
Is it possible to create custom php page using ezpublish authentication (user/group) and add it as link in ezpublish menu?
So user cannot access my custom page using direct access in url.

Jean-Yves Zinsou

Thursday 26 February 2009 4:52:30 am

Hi there,
Can't understand your need.
Do you mean that the link to you php page must be available only to users authenticated in eZpublish?

Do Androids Dream of Electric Sheep?
I dream of eZpubliSheep....
------------------------------------------------------------------------
http://www.alma.fr

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

Main resources:

Total runtime0.9332 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.0051 587.9063152.6250
Module start 'layout' 0.00510.0022 740.531339.4453
Module start 'content' 0.00730.9244 779.9766525.8047
Module end 'content' 0.93180.0014 1,305.78138.1641
Script end 0.9331  1,313.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3341160.0002
Check MTime0.00140.1474160.0001
Mysql Total
Database connection0.00060.069410.0006
Mysqli_queries0.893295.7195540.0165
Looping result0.00040.0445520.0000
Template Total0.903396.820.4517
Template load0.00210.220620.0010
Template processing0.901296.577620.4506
Template load and register function0.00010.012110.0001
states
state_id_array0.00080.087810.0008
state_identifier_array0.00170.185220.0009
Override
Cache load0.00170.1830120.0001
Sytem overhead
Fetch class attribute can translate value0.00050.058720.0003
Fetch class attribute name0.00090.095940.0002
XML
Image XML parsing0.00220.235820.0011
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00210.2265220.0001
String conversion0.00000.000540.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
2content/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: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs