[daisy] Variables bound to certain document type

Wojciech Ciesielski ccmail at interia.pl
Fri Feb 1 06:44:40 CST 2008


Bruno Dumon wrote:
> Hi,
>
> On Tue, 2008-01-29 at 12:21 +0100, Wojciech Ciesielski wrote:
>   
>> Hi
>>
>> as in the subject - is it possible to bind a variable definition file to 
>> a certain document type(s) ? It would be perfect if I could limit scope 
>> of a variable definition at a level a bit more granular then site-wide 
>> definitions...
>>
>>     
>
> This is not possible. Any strong/convincing use-case?
>
>   
The same as in the "get documents without variables resolved". I am 
trying to use daisy as CMS in a web site - among others it's purpose is 
to provide non-techies with easy UI to modify different emails sent by 
the web site (like registration confirmation etc.). Those emails contain 
"variables" - like user's name, password, authentication code etc. and 
are provided on runtime when the email is to be sent. So I'd like to 
provide user with list of available variables and prevent typo errors - 
at least give him/her a visual guide of unresolved variables if he/she 
modifies variable in inappropriate way.

I have several types of those email templates and that's why it'd be 
perfect if I could bind a set of variables to a certain document type 
(or document instance).

Regards,
Wojtek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cocoondev.org/pipermail/daisy/attachments/20080201/ba3cfe94/attachment.htm


More information about the daisy mailing list