how to call for templete from original design

Author Message

Marek Tryliński

Sunday 13 April 2008 8:47:44 pm

hi

i'd like to make a small easy extension for sending sms

it would be very nice if i could use one of allready written template,that is located in original /design folder, not inside the extension

that is because i'm a beginner and when i simply copied this template to extensions directory it didnt work

also i actually didnt found simple solution in documentation,so please help me :)

pssorry for duplicating post but i didnt know where to put it

http://ez.no/developer/forum/extensions/how_to_call_for_templete_from_original_design

--
http://trylik.pl/kategorie/ez-publish/

Maxime Thomas

Sunday 13 April 2008 11:05:16 pm

Hi,

I redirect you to this article :

http://ez.no/developer/articles/an_introduction_to_developing_ez_publish_extensions

In my point of view, it's better to put your design in an extension. You will manage it better and faster than in your original design directory ans you will have design and process files in the same place.

Maxime Thomas
[email protected] | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

Piotrek Karaś

Monday 14 April 2008 9:14:55 am

Just as Maxime suggested, this is not a task to be handled within presentation layer. It might require programming, therefore you will have to create an extension with some PHP logic. Then you will also need to decide the interface for using your extension from within eZ Publish (HTTP request for a module/view, datatype, template operator, cronjob, etc...) - without that your logic will not be accessible by anything/anyone...

Good luck!

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

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