upgrading template_look

Author Message

Greg McAvoy-Jensen

Friday 04 January 2008 5:19:05 pm

I'm using some features of 4.0 on a 3.9.4 site and want to upgrade the template_look class and its object. On the development machine I tried replacing the old template_look class with the new one. How do I now create an instance (object) of that class and have it appear properly in the design area? Thank you!

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

André R.

Sunday 06 January 2008 2:51:10 pm

It would be a lot easier to 'upgrade' the current class you have, basically by adding / changing the needed attributes.

But if you enter '/setup' after your base admin url, you'll get access to create / copy / remove and so on.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Greg McAvoy-Jensen

Wednesday 09 January 2008 2:08:26 am

Thank you! That's what I did for the staging server, but your reply helped me get the development server back on track. In case it's helpful to anyone in the future, the process was:

1. In the admin interface setup tab, view the template_look class (under the class group "setup").
2. Be sure the "Class groups" button on top is depressed.
3. At the bottom of the page, add template_look to the Content class group so it will show up in the "Create here" drop down box in the next step.
4. Point the browser to the admin site with /design at the end.
5. "Create here" a template_look.
6. Remove "template_look" from the content class group (see 1-3 above).

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

Valentin Svelland

Saturday 12 January 2008 3:20:38 am

Some info on modding the template look object here:
http://ez.no/developer/forum/setup_design/valentin_s_multisite_guide_v_1_example_uses_ezp_v_3_9_4

------------------------
I made eZ run on www.eigersund.kommune.no, bjerkreim.kommune.no, lund.kommune.no and sokndal.kommune.no. Municipalities should use open source!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.