How to add a field for subtopic when submitting content

Author Message

aarif ahmed

Thursday 08 April 2004 5:14:41 pm

We'd like to add a filed for "subtopic" when a user upload an article to our site. currently we have afield called "Topic" we 'd like to add another field under it called subtopic. Can it be achieved thru template/ table column field. Can any one point me to some documenation which can help me achieve it.
Your help is much appreciated.

Best Regards

Alex Jones

Friday 09 April 2004 6:12:51 am

You can edit the class itself (Setup > Advanced > Classes > Content) and add another Text Line named subtopic. That should provide you the functionality.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

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 31 2025 06:15:01
Script start
Timing: Jan 31 2025 06:15:01
Module start 'layout'
Timing: Jan 31 2025 06:15:01
Module start 'content'
Timing: Jan 31 2025 06:15:03
Module end 'content'
Timing: Jan 31 2025 06:15:03
Script end

Main resources:

Total runtime2.0328 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.0059 588.3750151.2422
Module start 'layout' 0.00590.0022 739.617236.7109
Module start 'content' 0.00812.0239 776.3281913.9453
Module end 'content' 2.03200.0007 1,690.27347.7969
Script end 2.0327  1,698.0703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.1508160.0002
Check MTime0.00130.0658160.0001
Mysql Total
Database connection0.00130.064610.0013
Mysqli_queries1.990397.9076540.0369
Looping result0.00050.0232520.0000
Template Total2.000298.421.0001
Template load0.00200.100520.0010
Template processing1.998298.297020.9991
Template load and register function0.00140.066810.0014
states
state_id_array0.00180.087910.0018
state_identifier_array0.00140.067020.0007
Override
Cache load0.00170.0819100.0002
Sytem overhead
Fetch class attribute can translate value0.00050.025420.0003
Fetch class attribute name0.00190.095130.0006
XML
Image XML parsing0.00070.035720.0004
class_abstraction
Instantiating content class attribute0.00000.000430.0000
General
dbfile0.00090.0430160.0001
String conversion0.00000.001340.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
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
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: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs