Forums / Setup & design / Package manager to include templates for classes

Package manager to include templates for classes

Author Message

Mark Marsiglio

Friday 24 September 2004 6:53:57 am

When I use the new package manager interface in 3.4 to export some content classes, I cannot figure out how to include the related templates.

The docs here: http://www.ez.no/ez_publish/documentation/ez_publish_3_4/content_object_export_with_ezpm seem to indicate that this is possible, but my templates are not installed on the new system when I install the package. The class definitions come in fine.

The docs say the default setting is to include the templates. When view the class definition in the source installation, I see the override tempaltes named at the bottom of the screen.

After installing on the new system, it does not appear that they are there.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Mark Marsiglio

Friday 24 September 2004 7:05:16 am

I was able to answer my own question.

The options for templates are only included in the content export, not the class export. By selecting an example node of the templates and classes, I was able to export them and import them successfully.

To get the overrides to take effect, I just had to clear the cache. Then I can just delete the imported content and replace it with content that is relevant to the new site.

This is a great feature for anyone who develops eZ sites for multiple clients and tends to create a new class or two that are the same on every site.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Ekkehard Dörre

Friday 24 September 2004 8:50:06 am

... and I think here (ez.no) is a good place to upload new developed und usefull classes.

What do you think?

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Mark Marsiglio

Tuesday 28 September 2004 5:12:25 pm

Great idea. The only thing that would improve the quality of my sites developed with eZ faster than borrowing templates from my other sites would be to borrow templates from lots of other developers' sites.

Certainly some things will not be uploaded because they can be proprietary, but if people want to it will just help the community.

I will add a suggestion in the appropriate place for a place in the Contributions section for classes.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Mark Marsiglio

Tuesday 28 September 2004 5:15:49 pm

Axel beat me to it - a suggestion was added for this on Sunday.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions