-
Forum
-
Main forum
-
TrackTime
-
[SOLVED]add custom fields to email templates?
[SOLVED]add custom fields to email templates?
Less
More
-
Posts: 9
-
Thank you received: 0
-
-
06 Aug 2013 20:39 - 12 Aug 2013 14:40 #1312
by eclecticeasel
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 to join the conversation.
Less
More
-
Posts: 618
-
Karma: 14
-
Thank you received: 57
-
-
07 Aug 2013 09:46 #1314
by admin
mhm... no.
at the moment the tokens are fixed.
what were you looking for?
Please Log in to join the conversation.
Less
More
-
Posts: 9
-
Thank you received: 0
-
-
07 Aug 2013 15:27 #1318
by eclecticeasel
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 to join the conversation.
Less
More
-
Posts: 618
-
Karma: 14
-
Thank you received: 57
-
-
09 Aug 2013 10:18 #1325
by admin
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 to join the conversation.
Less
More
-
Posts: 9
-
Thank you received: 0
-
-
09 Aug 2013 15:11 #1327
by eclecticeasel
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 to join the conversation.
-
Forum
-
Main forum
-
TrackTime
-
[SOLVED]add custom fields to email templates?
Time to create page: 0.250 seconds