Lack of critheria : EZP tpl versus EZP ( php ) extension

Lack of critheria : EZP tpl versus EZP ( php ) extension

Tuesday 12 October 2004 9:18:02 am - 3 replies

Modified on Tuesday 12 October 2004 9:24:35 am by Lazaro Ferreira

Author Message

Paul Borgermans

Tuesday 12 October 2004 9:43:58 am

Hi Lazaro,

steps 1) and 2) can be done in templates I guees, the creation of an object behind the scene is best done in a php extension I think, unless it is not so much behind the scene( step 3 is basically then an edit page of an object which gets default fill-in parameters from step 1 and 2).

Maybe you could still get around the "edit" object by hiding all input variables and present a button "Do you want to save the result set"? You may ultimately combine step 2 and 3 with some DHTML ...

Not easy though

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Lazaro Ferreira

Tuesday 12 October 2004 10:47:34 am

Hi Paul,

I think I got it, but assuming that we only use EZP tpl programming, how can we customize (add step 2 result info) the message of the notification that should be triggered at step #3

Thanks

Lazaro
http://www.mzbusiness.com

Paul Borgermans

Tuesday 12 October 2004 10:59:21 am

Well ... for notifications use our contribution in datatypes :-)

http://ez.no/community/contributions/datatypes/personlist_datatype

With some clever .tpl programming, you can add the people who should receive a notification. In the personist datatype this operates outsite the usual notification system: ie, it sends out the emails upon publishing. We may change this in the future however to use the standard notification for users defined in ez publish (the personlist datatype also allows for emailing people NOT registered in an ezp site)

hth

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

You must be logged in to post messages in this topic!

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