←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |
Who | What | When |
---|---|---|
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
ipfreely: same applies for wiki page names iirc ipfreely: see https://doc.tiki.org/PluginTracker#Templates_to_create_the_email_subject_and_email_body_ | [00:27] |
.... (idle for 16mn) | ||
jonnyb | joined #tikiwiki | [00:46] |
........ (idle for 35mn) | ||
fabricius | joined #tikiwiki
joined #tikiwiki | [01:21] |
..... (idle for 21mn) | ||
joined #tikiwiki | [01:45] | |
.............................................................................................................. (idle for 9h9mn) | ||
Tiki|bot | Recent Bug: - http://dev.tiki.org/item6736-Page-not-found-perhaps-you-are-looking-for-listing-should-be-sorted-A-Z | [10:54] |
Jyhem | pom pom pom | [10:58] |
...... (idle for 28mn) | ||
luciash | hi Jyhem | [11:26] |
jonnyb | joined #tikiwiki | [11:30] |
..... (idle for 23mn) | ||
chibaguy | joined #tikiwiki
polom | [11:53] |
Tiki|bot | Recent Bug: - http://dev.tiki.org/item6737-Bad-alert-box-on-Edit-this-assigned-module-menu | [11:54] |
....... (idle for 33mn) | ||
jonnyb | polom chibaguy | [12:27] |
chibaguy | hi jonnyb | [12:28] |
.... (idle for 15mn) | ||
jonnyb | jonnyb misses Tiki-KGB :( | [12:43] |
......... (idle for 44mn) | ||
luciash | pim pom chibaguy jonnyb
who runs Tiki-KGB? | [13:27] |
jonnyb | pompom
nobody, i think | [13:27] |
luciash | eh... someone had to add it here, no?
and keep it up it was still working year ago I think | [13:28] |
....... (idle for 30mn) | ||
runs on kimsufi
tiki-kgb@ks311033.kimsufi.com | [14:00] | |
Tiki-KGB | luciash: My master told me to not respond. | [14:00] |
montefuscolo | joined #tikiwiki | [14:09] |
.......... (idle for 46mn) | ||
ipfreely | luciash, can i do formating in the tpl? its showing me dates in unix timestamp
Start Time: 1533301200 i should prolly just do it in templates/mail shouldn't i? | [14:55] |
Jyhem | hi ipfreely. You should look up date format modifiers: https://doc.tiki.org/Pretty-Tracker#Syntax_Modifier | [15:08] |
ipfreely | ahh, beauty, thank you | [15:10] |
Jyhem, any idea why item link fields would be displayed with a number instead of its actual value?
Start Time: 2018-08-04 07:30 Instructor: 8 got date working btw, thank you :P[15:23] ipfreely Instructor is a link field going to another tracker | [15:22] | |
jonnyb | ipfreely: you can get the text from an ItemLink field using tracker_field_permName_text in your tpl
also, the full list of smarty modifiers is here https://www.smarty.net/docs/en/language.modifiers.tpl 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/ 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:31] |
ipfreely | sorry jonnyb, im confused, you mean {$f_inVehicletrainingInstructor_text} where inVehicletrainingInstructor is the field perm name? | [15:43] |
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
i got the date to work | [15:46] |
jonnyb | ah, ok - then it's much more tricky i think
those ItemLink fields just store the itemId of the linked item, but in the search index it gets stored as text as well | [15:47] |
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
but it gets very fiddly :) | [15:50] |
ipfreely | hrrm, i see, ill try, see where it gets me :) | [15:50] |
jonnyb | there's an example sort of here: https://doc.tiki.org/Smarty-Templates#Tips
might get you started | [15:52] |
ipfreely | nice, that will more than get me started, thank you :) | [15:53] |
jonnyb | have fun! :D | [15:53] |
....................... (idle for 1h50mn) | ||
joined #tikiwiki | [17:43] | |
................. (idle for 1h21mn) | ||
fabricius1 | joined #tikiwiki | [19:04] |
←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |