Forums / Install & configuration / How to make New design extension

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

How to make New design extension

Author Message

paul bolger

Monday 01 September 2008 4:56:45 pm

Can anybody point me to a succinct guide to making a new design extension? A plain install with the website interface seems to have settings and design files in both the /design and /settings folders as well as the extension, although the design folders are empty. Are these all necessary?

Paul Bolger

André R.

Tuesday 02 September 2008 10:12:09 am

The design folder is created by the installer and can safely be removed (might be the one used if you create a template override with the admin interface though).

As for creating extension there is a article on it:
http://ez.no/developer/articles/an_introduction_to_developing_ez_publish_extensions

But might not be what you where looking for?

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

Andrew Duck

Wednesday 17 September 2008 10:13:57 am

Hi Paul,

I am unaware of a short guide to design extensions at the moment, though it certainly is something I will consider writing in the near future if others are looking for similar information.

In short you are looking to replicate the identical directory structure from a normal design in the /design folder.

Your new extension, for instance "myext" with a design "mydesign".

/extension/myext/design/mydesign

Within this design you would have folders for images, javascript, override/templates, stylesheets and templates as per the ezwebin and similar extensions.

The one other thing that is required is a settings folder: /extension/myext/settings/ with a design.ini.append.php file specifying:

<?php /* #?ini charset="utf-8"?

[ExtensionSettings]
DesignExtensions[]=myext

*/ ?>

Once you have activated your extension via the administration interface (Setup -> Extension) or via settings/override/site.ini.append.php, Exponential will check within your activated extensions and register the fact that <i>myext</i> contains a design.

You can then specify that design name, <i>mydesign</i> within your siteaccess [DesignSettings] block.

I hope that provides a quick overview as to how you can get up and running with your design inside an extension. If you run into any problems shoot back more questions :)

Regards,
Andrew.

Andrew Duck, Executive Director, Quiqcorp Limited
eZ Certified Developer and Trainer.
Member of the Community Project Board
http://quiqcorp.com | http://twitter.com/andrewduck

DeAndre Johnson

Monday 03 November 2008 8:12:59 pm

Yes I also would like for a guide to making a new design extension. That would be a great thing to have.

I am, because I choose to be!