Customising Admin Section

Author Message

Edavalath prashanth Narayanan

Saturday 05 November 2005 2:59:39 am

Hi,
I am Using eZPublish version 3.6.1 with linux Fedora Core and Mysql database.I am trying to Customise the Admin Section of to validate certain features.
1) I am using a text block whose max rows should be 10. But the text Block gets expanded if it exceeds 10 rows and accomodates more than 10 rows.

2) The Question field of the Poll (Option) and the File Upload of Media file Class is marked "required" .But it accepts blank entries.How to enforce the Validation for these?

3) I have to customise the User groups and Poll Classes to include some validations say by blank entries and minimum input characters. which class (php file) i should make use for making my updations?

4) I have to check whether a User Group Name exists in the database at the time of creation of a new User. I think all the creation functions are done by "edit.php" file in "/kernel/content/" folder. Is there any provision to check a User Group exists already with that name.?

Anticipating your Help on these ...

Thanking You in advance..

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 22:13:41
Script start
Timing: Jan 18 2025 22:13:41
Module start 'layout'
Timing: Jan 18 2025 22:13:41
Module start 'content'
Timing: Jan 18 2025 22:13:42
Module end 'content'
Timing: Jan 18 2025 22:13:42
Script end

Main resources:

Total runtime0.8808 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 589.6875152.6250
Module start 'layout' 0.00690.0030 742.312539.4453
Module start 'content' 0.00990.8689 781.7578400.6328
Module end 'content' 0.87890.0019 1,182.39068.1641
Script end 0.8808  1,190.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4302160.0002
Check MTime0.00160.1845160.0001
Mysql Total
Database connection0.00140.153910.0014
Mysqli_queries0.842495.6333460.0183
Looping result0.00040.0501440.0000
Template Total0.848796.420.4244
Template load0.00190.219720.0010
Template processing0.846896.133020.4234
Template load and register function0.00020.025210.0002
states
state_id_array0.00100.108710.0010
state_identifier_array0.00090.101320.0004
Override
Cache load0.00150.1741110.0001
Sytem overhead
Fetch class attribute can translate value0.00060.066510.0006
Fetch class attribute name0.00060.068310.0006
XML
Image XML parsing0.00010.012710.0001
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00070.0849100.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
1content/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
1content/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: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs