Class object

Author Message

Sirvash Sharma

Friday 05 May 2006 6:25:10 am

Hi,
I am using one class object in my template. its working fine but i wanna remove extra ordinery things like object info, version,translation, related objects.

I am using this code below.

<form name="children" method="post" action="/index.php/news_admin/content/action">
<input class="button" type="submit" name="NewButton" value="Create Here New news" title=" " />
<input type="hidden" name="ContentNodeID" value="2" />
<input type="hidden" name="ContentObjectID" value="1" />
<input type="hidden" name="ClassID" value="26" />
<input type="hidden" name="NodeID" value="2" />
</form>

Please suggest me regarding this code.
Thanx

Xavier Dutoit

Friday 05 May 2006 6:58:35 am

Hi,

I'm not sure I understood what you're trying to do. Could you describe ?

ez stores a lot of things about translation, version... but I don't get your problem with that, as that's mostly transparent anyway.

X+

http://www.sydesy.com

Sirvash Sharma

Saturday 06 May 2006 1:34:18 am

Hi Xavier Dutoit,
I am using my class id=26 in my template which has been designed by me. its work fine
but view the ez content also version, translation etc. i wanna hide it only show the my class
content.
Please suggest me to resolve this problem.
Thanks

Sirvash Sharma

Saturday 06 May 2006 2:27:18 am

Hi Xavier Dutoit,
I am using class id=26 which has been designed by me its own templates.its shows all component and work fine but also view the ez component like version, translation, object
related etc. i wanna hide some ez component only show the my class component.

Thanks to reply please suggest me to resolve this problem.

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 01:07:21
Script start
Timing: Jan 19 2025 01:07:21
Module start 'layout'
Timing: Jan 19 2025 01:07:21
Module start 'content'
Timing: Jan 19 2025 01:07:23
Module end 'content'
Timing: Jan 19 2025 01:07:23
Script end

Main resources:

Total runtime1.5576 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 589.0313152.6094
Module start 'layout' 0.00790.0048 741.640639.3984
Module start 'content' 0.01271.5434 781.0391556.0781
Module end 'content' 1.55610.0015 1,337.117212.2031
Script end 1.5576  1,349.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.2837160.0003
Check MTime0.00170.1073160.0001
Mysql Total
Database connection0.00110.070410.0011
Mysqli_queries1.495295.9931600.0249
Looping result0.00070.0422580.0000
Template Total1.512697.120.7563
Template load0.00220.144020.0011
Template processing1.510496.965520.7552
Template load and register function0.00010.006910.0001
states
state_id_array0.00170.107310.0017
state_identifier_array0.00170.108820.0008
Override
Cache load0.00200.1268380.0001
Sytem overhead
Fetch class attribute can translate value0.00100.061120.0005
Fetch class attribute name0.00200.128160.0003
XML
Image XML parsing0.00090.059720.0005
class_abstraction
Instantiating content class attribute0.00000.001280.0000
General
dbfile0.00100.0665220.0000
String conversion0.00000.000740.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/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: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs