[00:27] luciash ipfreely: check the templates/mail/ folder, there is always one tpl named with _subject suffix I think and without is for the mail body [00:28] luciash ipfreely: same applies for wiki page names iirc [00:30] luciash ipfreely: see https://doc.tiki.org/PluginTracker#Templates_to_create_the_email_subject_and_email_body_ [00:46] jonnyb joined #tikiwiki [01:21] fabricius joined #tikiwiki [01:24] fabricius joined #tikiwiki [01:45] fabricius joined #tikiwiki [10:54] Tiki|bot Recent Bug: - http://dev.tiki.org/item6736-Page-not-found-perhaps-you-are-looking-for-listing-should-be-sorted-A-Z [10:58] Jyhem pom pom pom [11:26] luciash hi Jyhem [11:30] jonnyb joined #tikiwiki [11:53] chibaguy joined #tikiwiki [11:53] chibaguy polom [11:54] Tiki|bot Recent Bug: - http://dev.tiki.org/item6737-Bad-alert-box-on-Edit-this-assigned-module-menu [12:27] jonnyb polom chibaguy [12:28] chibaguy hi jonnyb [12:43] * jonnyb misses Tiki-KGB :( [13:27] luciash pim pom chibaguy jonnyb [13:27] luciash who runs Tiki-KGB? [13:27] jonnyb pompom [13:27] jonnyb nobody, i think [13:28] luciash eh... someone had to add it here, no? [13:28] luciash and keep it up [13:30] luciash it was still working year ago I think [14:00] luciash runs on kimsufi [14:00] luciash tiki-kgb@ks311033.kimsufi.com [14:00] Tiki-KGB luciash: My master told me to not respond. [14:09] montefuscolo joined #tikiwiki [14:55] ipfreely luciash, can i do formating in the tpl? its showing me dates in unix timestamp [14:55] ipfreely Start Time: 1533301200 [14:56] ipfreely i should prolly just do it in templates/mail shouldn't i? [15:08] Jyhem hi ipfreely. You should look up date format modifiers: https://doc.tiki.org/Pretty-Tracker#Syntax_Modifier [15:10] ipfreely ahh, beauty, thank you [15:22] ipfreely Jyhem, any idea why item link fields would be displayed with a number instead of its actual value? [15:23] ipfreely Start Time: 2018-08-04 07:30 [15:23] ipfreely Instructor: 8 [15:23] ipfreely got date working btw, thank you :P\ [15:23] ipfreely Instructor is a link field going to another tracker [15:31] jonnyb ipfreely: you can get the text from an ItemLink field using tracker_field_permName_text in your tpl [15:33] jonnyb also, the full list of smarty modifiers is here https://www.smarty.net/docs/en/language.modifiers.tpl [15:34] jonnyb i don't think we have a porper list of the custom tiki ones, but you can see them all here https://sourceforge.net/p/tikiwiki/code/HEAD/tree/branches/18.x/lib/smarty_tiki/ [15:36] jonnyb for instance https://sourceforge.net/p/tikiwiki/code/HEAD/tree/branches/18.x/lib/smarty_tiki/modifier.tiki_long_datetime.php will format a date using your tiki date prefs (e.g. {$dateVariable|tiki_long_datetime} [15:43] ipfreely sorry jonnyb, im confused, you mean {$f_inVehicletrainingInstructor_text} where inVehicletrainingInstructor is the field perm name? [15:46] jonnyb ah, are you not using plugin list? [15:46] ipfreely no, should i be? this is for a email notification tpl in tplwiki format [15:47] ipfreely i got the date to work [15:47] jonnyb ah, ok - then it's much more tricky i think [15:48] jonnyb those ItemLink fields just store the itemId of the linked item, but in the search index it gets stored as text as well [15:50] ipfreely hrrm, i see, so no way to get the value? [15:50] jonnyb you could do that by embedding a list plugin in your email tpl [15:50] jonnyb but it gets very fiddly :) [15:50] ipfreely hrrm, i see, ill try, see where it gets me :) [15:52] jonnyb there's an example sort of here: https://doc.tiki.org/Smarty-Templates#Tips [15:52] jonnyb might get you started [15:53] ipfreely nice, that will more than get me started, thank you :) [15:53] jonnyb have fun! :D [17:43] jonnyb joined #tikiwiki [19:04] fabricius1 joined #tikiwiki