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.