[SOLVED]add custom fields to email templates?

More
06 Aug 2013 20:39 - 12 Aug 2013 14:40 #1312 by eclecticeasel
eclecticeasel created the topic: [SOLVED]add custom fields to email templates?
Hello,

I was wondering if there is a way to add my custom fields to any of my templates? Are there tokens already in place to use or do they need to be added in a future feature release?

Thanks,

Terry Arthur
Last Edit: 12 Aug 2013 14:40 by admin.

Please Log in or Create an account to join the conversation.

More
07 Aug 2013 09:46 #1314 by admin
admin replied the topic: Re: how can I add my custom fields to email templates?
mhm... no.
at the moment the tokens are fixed.

what were you looking for?

Please Log in or Create an account to join the conversation.

More
07 Aug 2013 15:27 #1318 by eclecticeasel
eclecticeasel replied the topic: Re: how can I add my custom fields to email templates?
Thanks for the quick response!

The standard project tokens leave out some important access credentials I'd like to include in the project credentials PDF I send to my clients like the info for the remote dev site and special considerations like their ReCaptcha keys etc.

Is it possible to create tokens such as custom_field_1, custom_field_2 etc.?

I'd be happy to do some work myself to implement this if you wouldn't mind pointing me in the right direction.

Thanks again,

Terry Arthur

Please Log in or Create an account to join the conversation.

More
09 Aug 2013 10:18 #1325 by admin
admin replied the topic: Re: how can I add my custom fields to email templates?
mhm... it could be an interesting feature, I'll note it down :)

However, if you want to do it by yourself, you should take a look at the function createTokenArray inside the file that you can find here:
administrator/components/com_tracktime/helpers/token.php

this is where tokens to be parsed are created. just play around and you should be able to parse them :)

Please Log in or Create an account to join the conversation.

More
09 Aug 2013 15:11 #1327 by eclecticeasel
eclecticeasel replied the topic: Re: how can I add my custom fields to email templates?
Thanks for the pointer,

If I can find the time I'll try and see what I can do.

Please do consider it as a feature addition also.

Terry

Please Log in or Create an account to join the conversation.

Time to create page: 0.185 seconds