New class does not show up in admin interface

Author Message

Maciej Zasuwa

Thursday 30 December 2010 1:02:17 pm

Hi,

I have a problem with a new class. I created one and went thru the procedure, i.e. wrote a template (tpl file) and put the proper reference in override.ini file. Everything looks fine in frontend only. When I want to display my new class in backend (admin interface) I got blank page. In other words - I got blank space in maincontent part where tables like translations, locations, children objects, etc are expected.

What did I miss? I think there must be also some override for admin interface necessary. I went thru plenty of posts on this forum, but they are mostly limited to overriding templates for frontend display.

I would appreciate any help.
BR,
Maciej

Edi Modrić

Friday 31 December 2010 9:18:19 am

Hi Maciej, this is a weird one.

The only thing that comes to my mind right now is that you accidentally applied your override rules to admin siteaccess.

Admin interface doesn't need any overrides or special templates for each class. It always uses it's own templates do display every class out there.

So, make sure that the overrides you added to override.ini are NOT being applied to admin site access. For example, if you keep your overrides in settings/override/override.ini.append.php, move them to settings/my_frontend_siteaccess/override.ini.append.php

eZ Publish certified developer

http://ez.no/certification/verify/350658

Maciej Zasuwa

Saturday 01 January 2011 1:13:55 pm

Hi Edi,

thanks a lot. You perfectly pointed the reason of the problem. Now it is fixed. Thanks again!

BR,
Maciej

Edi Modrić

Saturday 01 January 2011 2:14:02 pm

Glad to be of help :)

eZ Publish certified developer

http://ez.no/certification/verify/350658

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 02:48:31
Script start
Timing: Jan 18 2025 02:48:31
Module start 'layout'
Timing: Jan 18 2025 02:48:31
Module start 'content'
Timing: Jan 18 2025 02:48:32
Module end 'content'
Timing: Jan 18 2025 02:48:32
Script end

Main resources:

Total runtime0.7276 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.0066 588.0469152.6406
Module start 'layout' 0.00670.0024 740.687539.4844
Module start 'content' 0.00900.7170 780.1719546.4141
Module end 'content' 0.72600.0016 1,326.585912.1250
Script end 0.7276  1,338.7109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4777160.0002
Check MTime0.00140.1908160.0001
Mysql Total
Database connection0.00090.117010.0009
Mysqli_queries0.678193.1921600.0113
Looping result0.00050.0682580.0000
Template Total0.697795.920.3489
Template load0.00220.303020.0011
Template processing0.695595.587520.3478
Template load and register function0.00020.025810.0002
states
state_id_array0.00090.127810.0009
state_identifier_array0.00080.105420.0004
Override
Cache load0.00180.2514230.0001
Sytem overhead
Fetch class attribute can translate value0.00100.143620.0005
Fetch class attribute name0.00100.132950.0002
XML
Image XML parsing0.00070.102320.0004
class_abstraction
Instantiating content class attribute0.00000.001960.0000
General
dbfile0.00100.1376160.0001
String conversion0.00000.001240.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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/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: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs