Idea: Standard Usage Notes/Tips/Help Attached to Classes (not objects)

Author Message

Eric Weik

Monday 28 June 2004 1:21:27 pm

Hi all,

This may be a half-baked idea (so be kind), but how about a way to attach some "help text" to content classes (not objects) describing their intended use (i.e. "help", "usage notes", "tips" or something similar). Then the admin interface could output this text whenever the user begins to a create a new content object using that class (or perhaps only if they click on a "tips for using this class" button).

It seems to me that this would go a long way towards helping site developers communicate day-to-day usage notes/tips to editors on how exactly to use a given content class.

Example usage: a short set of instructions and a list of allowed XML tags could be added to the Article class "usage notes". The particulars of which XML tags are allowed, and the level of instructional detail would vary from site to site (so editing this text should be easily done via the admin interface).

Obviously this idea could grow much more complicated in a hurry (i.e. allow different text for different user classes, attach the "usage tips" to the attribute level, not the class level, etc.), but I think a single property added at the class level would be a simple way to help end users, particularly on sites where complex custom classes are being created.

Any thoughts?

-Eric

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

Main resources:

Total runtime0.8704 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.0054 588.3594152.6563
Module start 'layout' 0.00540.0036 741.015639.4922
Module start 'content' 0.00890.8598 780.5078438.2500
Module end 'content' 0.86870.0016 1,218.75788.0938
Script end 0.8703  1,226.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3692160.0002
Check MTime0.00140.1616160.0001
Mysql Total
Database connection0.00100.112610.0010
Mysqli_queries0.828195.1428460.0180
Looping result0.00060.0671440.0000
Template Total0.839796.520.4199
Template load0.00190.215720.0009
Template processing0.837896.257420.4189
Template load and register function0.00030.031810.0003
states
state_id_array0.00090.098010.0009
state_identifier_array0.00120.141820.0006
Override
Cache load0.00150.1691110.0001
Sytem overhead
Fetch class attribute can translate value0.00100.113410.0010
Fetch class attribute name0.00120.136420.0006
XML
Image XML parsing0.00120.132710.0012
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00110.1282160.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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/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