←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |
Who | What | When |
---|---|---|
*** | Lawliet|away is now known as Lawliet | [00:16] |
....... (idle for 33mn) | ||
Lawliet is now known as Lawliet|away | [00:49] | |
..... (idle for 24mn) | ||
Caarrie is now known as Caarrie|sleeping | [01:13] | |
........ (idle for 37mn) | ||
goj|ghost has joined #tikiwiki
goj has quit IRC (Ping timeout: 246 seconds) goj|ghost is now known as goj | [01:50] | |
................ (idle for 1h15mn) | ||
Lawliet|away is now known as Lawliet | [03:08] | |
Lawliet is now known as Lawliet|away | [03:14] | |
Tikiwiki|bot | Recent Bug: Tracker item: #3525 - - Implement Gravatar - http://dev.tikiwiki.org/tiki-view_tracker_item.php?trackerId=5&itemId=3525 | [03:15] |
.... (idle for 16mn) | ||
*** | Lawliet|away is now known as Lawliet | [03:31] |
Tikiwiki|bot | New Forum Posts: Submission of Articles - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=38174 | [03:36] |
..... (idle for 21mn) | ||
New Forum Posts: Problem Uploading CMS Topic Images - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=38175 | [03:57] | |
*** | Lawliet is now known as Lawliet|away | [03:59] |
.... (idle for 16mn) | ||
Lawliet|away is now known as Lawliet | [04:15] | |
............... (idle for 1h13mn) | ||
chealer has quit IRC (Ping timeout: 265 seconds) | [05:28] | |
......... (idle for 42mn) | ||
chealer has joined #tikiwiki
Caarrie|sleeping has quit IRC (Read error: Connection reset by peer) Caarrie|sleeping has joined #tikiwiki Sug4r has quit IRC (Remote host closed the connection) sylvieg has quit IRC (Ping timeout: 265 seconds) sylvieg has joined #tikiwiki ChanServ sets mode: +o sylvieg Sug4r has joined #tikiwiki | [06:10] | |
Lawliet has quit IRC (Quit: Saindo) | [06:32] | |
............ (idle for 59mn) | ||
coaboa has joined #tikiwiki | [07:31] | |
coaboa | good morning | [07:31] |
....... (idle for 31mn) | ||
*** | JoernOtt has joined #tikiwiki | [08:02] |
coaboa | Hi Joern | [08:02] |
*** | JoernOtt is now known as JoernOtt|froscon | [08:02] |
coaboa | does one know how I can add plugin {BACK ()/} to tiki-pagebar.tpl? | [08:07] |
........... (idle for 50mn) | ||
CIA-65 | tikiwiki: 03minger0 * r28656 10/trunk/ (templates/modules/mod-minichat.tpl tiki-minichat_ajax.php): [NEW] minichat module: support for nick names; the channel bar become optional | [08:57] |
....... (idle for 31mn) | ||
*** | marclaporte has joined #tikiwiki | [09:28] |
marclaporte | polom | [09:28] |
coaboa | hello
could you tell me how I would use the wiki plugin {BACK} in a template? {WIKI}{BACK()/}[/WIKI} ? | [09:28] |
marclaporte | I think that could work
perhaps with the literal too | [09:33] |
coaboa | lit wik bac wik lit ? | [09:34] |
*** | redflo has joined #tikiwiki | [09:35] |
marclaporte | http://themes.tiki.org/Template+Tricks&pagenum=13#Add_wiki_syntax_in_Custom_code_text_areas_of_Look_amp_Feel | [09:35] |
coaboa | thx | [09:36] |
does not work in a template... something else to look at?
added a print link to the template which works fine added a print link to the template which works fine and i want to add the back link to tiki-paebar.tpl | [09:41] | |
*** | ohertel has joined #tikiwiki | [09:46] |
ohertel | Hello! | [09:47] |
coaboa | hi | [09:47] |
ohertel | ohertel pokes marc | [09:47] |
marclaporte | polom | [09:48] |
coaboa | adding {wiki}{literal}{BACK()/}{/literal}{/wiki} just braeks the site. Tryed CCC Header & CS Footer. How can I add it to tiki-pagebar.tpl as this has the very same effect (Tiki Trunk).
Is it because of the javascript contained in "BACK" Plugin? | [10:02] |
*** | changi has joined #tikiwiki | [10:11] |
coaboa | btw: {BACK()/} just works fine
if put in a wikipage. hi changi | [10:12] |
*** | JoernOtt|froscon has quit IRC (Remote host closed the connection) | [10:22] |
JoernOtt has joined #tikiwiki
JoernOtt is now known as JoernOtt|froscon | [10:29] | |
marclaporte | polom changi
http://tiki.org/tiki-searchresults.php?highlight=tikiwiki.org&search=Go -> Found "tikiwiki.org" in 12365 pages | [10:30] |
Tikiwiki|bot | New Forum Posts: Problem Uploading CMS Topic Images - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=38175
New Forum Posts: Submission of Articles - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=38174 New Forum Posts: milkyway theme in 5.x? - http://tiki.org/tiki-view_forum_thread.php?forumId=14&comments_parentId=38171 | [10:34] |
...... (idle for 25mn) | ||
changi | hi
changi love his home place | [11:00] |
Tikiwiki|bot | New Forum Posts: Problem Uploading CMS Topic Images - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=38175
New Forum Posts: Submission of Articles - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=38174 New Forum Posts: milkyway theme in 5.x? - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=14&comments_parentId=38171 | [11:05] |
ohertel | changi: your home place? :-) Home sweet home? ;D | [11:12] |
coaboa | how would I address an categorized object from within a template? {if $objectCategoryIds neq ''} shows an Icon but with {if $objectCategoryIds eq '1'} the icon disapears..
I want an specific Icon for a catogory on a page. *a | [11:21] |
ohertel | You sure it really is 1? maybe print $objectCategoryIds out and see whats it like?
'Ids' suggests somehow that this is an array of some kind, not a single number. ^^ | [11:22] |
coaboa | im even not sure if this is the varable of the Category ;-) | [11:23] |
ohertel | ;D
maybe try a {$objectCategoryIds} and see what it shows in the html code. | [11:23] |
coaboa | array | [11:25] |
ohertel | just untaring the source to have a look. ^^ | [11:27] |
coaboa | joking ;-) I'snt there a variable for the category like for $user? | [11:28] |
ohertel | ok, you can get the parts from the array like this: $objectCategoryIds.name
to ge the categ name. If it contains anything, though. ^^ | [11:29] |
coaboa | thx | [11:29] |
ohertel | Not sure, what do you want to do? :)
Oh wait, maybe it is $objectCategoryIds.data.name, if the other one doesnt work. hm... | [11:30] |
coaboa | if categoryId=1 img src=fixedcatogory.png
if categoryId=2 img src=fixedcatogory2.png | [11:31] |
ohertel | ah hm. | [11:31] |
coaboa | etc. hardcoded because im not a programmer ;-) | [11:31] |
ohertel | For the category of what do you want to do that? | [11:32] |
coaboa | wiki page | [11:33] |
ohertel | Ah ok. | [11:33] |
coaboa | similar to topics icons in articles | [11:33] |
ohertel | Ah so, like displaying a nice icon on each page to show its category. | [11:36] |
coaboa | you got it | [11:36] |
ohertel | Problem is that an object can have more than 1 category. ;) | [11:37] |
changi | ohertel: yes home sweet home | [11:37] |
*** | JoernOtt|froscon has quit IRC (Quit: Bye) | [11:37] |
changi | after 2 weeks of vacation | [11:37] |
ohertel | So you would have to look over all categories and print out all logos for all categs assigned ...
Something like that is done in templates/categobjects.tpl {foreach key=t item=i from=$listcat} | [11:37] |
coaboa | no, we have 9 Genres, those need an icon the other cats could be ignored, thats wha i think adding the 9 icons to a template is appropriate
so for me it would be more suitable to fix those Icons to a specific category | [11:39] |
ohertel | That loop gives you the name of the category I think, in {$t}.
So you could then add {if $t eq 'something' } inside the loop | [11:40] |
coaboa | cool | [11:41] |
ohertel | and close it with {/foreach}
maybe try with a {$t} first and see what it prints out. {foreach key=t item=i from=$listcat}{$t}{/foreach} | [11:41] |
coaboa | thx, will try that | [11:42] |
ohertel | If that doesnt work like you need have another look at templatescategobjects.tpl
maybe you learn something from it I didnt see. ;) | [11:42] |
coaboa | ok. Do you know why {wiki}{literal}{BACK()/}{/literal}{/wiki} is not usable (neither in custom areas nor in a template)? | [11:43] |
ohertel | no, sorry. | [11:44] |
coaboa | thx, go digging ;-) | [11:44] |
ohertel | exit
oop, wrong window. :P | [11:44] |
CIA-65 | tikiwiki: 03xavidp * r28657 10/trunk/templates/modules/mod-freetag.tpl: [FIX]Make 'add' button translatable
tikiwiki: 03jonnybradley * r28658 10/trunk/styles/strasa.css: [FIX] strasa: white background for filegal manager and other popups tikiwiki: 03xavidp * r28659 10/branches/proposals/5.x/templates/modules/mod-freetag.tpl: [bp/r28657][FIX]Make 'add' button translatable tikiwiki: 03xavidp * r28660 10/branches/proposals/3.x/templates/modules/mod-freetag.tpl: [bp/r28657][FIX]Make 'add' button translatable | [11:54] |
tikiwiki: 03jonnybradley * r28661 10/trunk/lib/ (6 files in 5 dirs):
tikiwiki: [NEW] ckeditor: tikiplugin plugin - GUI for editing wiki plugins. tikiwiki: Step 2: Initial implementation. tikiwiki: Right or double click on plugins to summon popup form. Will need testing and debugging. tikiwiki: Next, actual wysiwyg previews (hopefully). | [12:07] | |
*** | Caarrie|sleeping is now known as Caarrie|away | [12:09] |
luciash | polom | [12:15] |
ohertel | Hello luci. :) | [12:16] |
luciash | hello oliver
ẗhanks for trying hard to keep tw.o up ;) | [12:16] |
ohertel | ^^ | [12:17] |
coaboa | $t is emty | [12:17] |
ohertel | coaboa: hm, maybe the categs inside the tpl you are in are not available or in another variable and not in 'listcat' | [12:18] |
coaboa | Im in tiki-pagebar.tpl
do I have to edit tiki.tpl? when trying with $objectsCategoryIds.data.name it works but only with neq'' test so I'am lost in how to determine the variable which is used for a specific category *value of the variable for a category | [12:19] |
ohertel | tiki-show_page.tpl is the page used for displaying a wiki. and page_bar is included there. | [12:25] |
coaboa | so catids should exist? | [12:25] |
ohertel | But there are no categs used in either, so nothing to copy. ^^
Hm, there must be a simple way to just print out all the accessible smarty variable, that would be pretty helpful at this point. ;) | [12:25] |
coaboa | ok thx. so how could I then determine the values?
right seems more reasonable to add a div to each page manually ;-) | [12:28] |
CIA-65 | tikiwiki: 03marclaporte * r28662 10/trunk/ (10 files in 3 dirs): tikiwiki.org -> tiki.org changes | [12:29] |
coaboa | is there a way to check for the category name in a template? | [12:30] |
ohertel | Or enhance tiki so it has categ logos. ;) | [12:30] |
coaboa | asked for that a year ago | [12:30] |
ohertel | oh ^^ | [12:30] |
luciash | try the debugger console on ? | [12:33] |
coaboa | dont want to debug, just wanted to add a icon1 for category 1 , icon 2 for category 2 by hand in a template | [12:36] |
luciash | yes, but the debugger console could give you list of available variables for the page you afre on
*are | [12:37] |
ohertel | it does? ah. :) | [12:37] |
coaboa | {DEBUG} in custum code right? | [12:37] |
luciash | hopefully it is still in Tiki
it was a feature actually | [12:37] |
ohertel | coaboa: no, you can enable it somewhere in admin menu | [12:38] |
coaboa | tried to follow the steps on template tricks @ themes.tw.o: now I have info about exce time, memuse, dbquer in footer, added also {debug} to the template and in custom center column code, no effect. | [12:47] |
CIA-65 | tikiwiki: 03marclaporte * r28663 10/trunk/templates/ (16 files): tikiwiki.org -> tiki.org changes | [12:48] |
coaboa | there must be a simple {if $catId=1} | [12:48] |
ohertel | No, it would be a loop in any case as there might be >1 categs.
But it seems as the template doesnt get handed over data about categories. Or in a variable we do not find. ^^ | [12:49] |
CIA-65 | tikiwiki: 03xavidp * r28664 10/trunk/lang/ca/language.php: [ENH]New strings translated | [12:51] |
coaboa | In the hello world documentation is stated something using tiki.tpl but I can not imagine which var could be category ID. My test at least show that $objrectCategoryIds is not empty (unlike$t) | [12:54] |
ohertel | Yah, and it is filled in categories.php $objectCategoryIds = $categlib->get_object_categories($objectType, $key);
hm, and that one... fills an array with all the IDs ... $ret[] = $res["categId"]; and hands them back. So a loop over this variable should give out all categs ... | [12:57] |
coaboa | $res
? | [13:00] |
CIA-65 | tikiwiki: 03xavidp * r28665 10/branches/5.x/lang/ca/language.php: [ENH]New strings translated | [13:00] |
ohertel | nah, $res is in php, its handed over to the smarty variable then.
Did you try: {foreach key=t item=i from=$objectCategoryIds}{$t}{/foreach} this could work, imho | [13:00] |
coaboa | Prints "0" | [13:04] |
ohertel | Ok, and is this page in category 0? :) | [13:05] |
coaboa | which should be cat 1
arrays start with 0 arent they? | [13:05] |
ohertel | yup
maybe try with another page which has a different category. Just to see if that value changes. ;) | [13:05] |
coaboa | stays 0 ;-) | [13:07] |
ohertel | ah wait, maybe this is the index of another array. :P
replace $objectCategoryIds with $objectCategoryIds.0 in that loop and see what you get. :) | [13:08] |
coaboa | now the debugger console is started
$cat | [13:10] |
ohertel | $cat it is? | [13:11] |
coaboa | array containing: Array () categId => "1", name, description parentID, hits etc.
array containing: Array (10) categId => "1", name, description parentID, hits etc. | [13:12] |
ohertel | thats in $cat? | [13:13] |
coaboa | but the nextline shows $categId ""
{$cat} and {$categId}, sorry forgot the braces {$cat} contains eg. name => "Poisi" which is the category name | [13:13] |
ohertel | So there you go. ;) | [13:16] |
coaboa | if $cat eq 'Poisi' then diesunddas or do I have to address the position inside the array somehow?
coding for runaways ;-) | [13:18] |
ohertel | its an array, you need to get it out there...
$cat.0.name or something. I think you can try out in the debug console, no? | [13:19] |
coaboa | yes | [13:20] |
doing by hand, no time left
as $cat stay the same in the debugger console regardless of the category of the page I'am on :-( | [13:29] | |
got it: {if $objectCategoryIds[0] eq '1'} somelink {/if} shows icon one, {if $objectCategoryIds[0] eq '2'} somelink2 {/if} shows the second and so on. Thx for the support
will make it through an ugly list as i have no time for learning if/else ;-) thx ohertel for your patience | [13:41] | |
..... (idle for 24mn) | ||
luciash | coaboa: {elseif ...} | [14:06] |
coaboa | Thx luciash ;-) Does somebody know why: {wiki}{literal}{BACK()/}{/literal}{/wiki} does not work in a template? | [14:18] |
luciash | because {wiki} doesn't support plugins syntax
use this instead: {wikiplugin _name="back"} {/wikiplugin} | [14:22] |
coaboa | thx cool + works like a charm ;-) | [14:25] |
marclaporte | and document!
on template tricks! | [14:34] |
CIA-65 | tikiwiki: 03changi67 * r28666 10/trunk/doc/devtools/ (release.php sharetikidev.sh svnup.sh): [MOD] tikiwiki.org -> tiki.org changes
tikiwiki: 03changi67 * r28667 10/trunk/doc/readme.txt: [MOD] tikiwiki.org -> tiki.org changes | [14:35] |
luciash | are we moving completely to tiki.org ?
will the old URLs still work or redirect with 301 ? going out, bbl | [14:38] |
..... (idle for 20mn) | ||
marclaporte | redirect 301
forever | [15:00] |
......... (idle for 41mn) | ||
Tikiwiki|bot | New Forum Posts: User pages and group editing permissions - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=38177 | [15:42] |
*** | ksign has joined #tikiwiki | [15:44] |
chealer | polom | [15:45] |
*** | ksign has quit IRC (Client Quit) | [15:49] |
........... (idle for 53mn) | ||
Lawliet has joined #tikiwiki | [16:42] | |
.... (idle for 16mn) | ||
CIA-65 | tikiwiki: 03rischconsulting * r28668 10/trunk/tiki-wiki_rss_no_diff.php:
tikiwiki: [ENH]First attempt at rss feed that shows whole wiki page rather than diff. Can tikiwiki: be called directly with same options as tiki-wiki_rss.php, but could eventually tikiwiki: be integrated into feeds admin by someone who knows how to do so if people like tikiwiki: it. | [16:58] |
......... (idle for 42mn) | ||
*** | FrankP has quit IRC (Ping timeout: 240 seconds)
chealer has quit IRC (Remote host closed the connection) | [17:40] |
CIA-65 | tikiwiki: 03Jyhem * r28669 10/trunk/templates/ (blog_post_related_content.tpl tiki-view_blog_post.tpl): [ENH] Related posts links displayed out of post. Tests of display moved in file controlling display | [17:49] |
...... (idle for 27mn) | ||
luciash | re
marclaporte: good :) | [18:16] |
*** | chealer has joined #tikiwiki | [18:17] |
CIA-65 | tikiwiki: 03jonnybradley * r28670 10/trunk/ (7 files in 6 dirs):
tikiwiki: [ENH] ckeditor: Add help button (including functioning plugin help). Wysiwyg help needs writing. tikiwiki: Also fixes for tikiplugin to handle {CODE} plugins better. | [18:17] |
*** | Tikiwiki|bot has quit IRC (Ping timeout: 265 seconds) | [18:26] |
............. (idle for 1h4mn) | ||
Lawliet is now known as Lawliet|away | [19:30] | |
CIA-65 | tikiwiki: 03chealer * r28671 10/trunk/templates/modules/mod-search_box.tpl: [FIX] label for Advanced search | [19:41] |
tikiwiki: 03chealer * r28672 10/trunk/templates/advanced_search_help.tpl: [FIX] remove excessive </p> | [19:47] | |
*** | redflo has quit IRC (Remote host closed the connection) | [19:56] |
CIA-65 | tikiwiki: 03chealer * r28673 10/trunk/templates/tiki.tpl: [FIX] module errors HTML | [20:00] |
*** | coaboa has quit IRC (Remote host closed the connection) | [20:11] |
.... (idle for 15mn) | ||
Lawliet|away is now known as Lawliet
Tikiwiki|bot has joined #tikiwiki | [20:26] | |
...... (idle for 25mn) | ||
redflo has joined #tikiwiki | [20:51] | |
Lawliet is now known as Lawliet|away | [20:58] | |
......... (idle for 43mn) | ||
marclaporte | polom | [21:41] |
luciash | wb marc :) | [21:54] |
*** | ohertel has quit IRC (Quit: ChatZilla 0.9.86 [Firefox 3.6.8/20100722155716]) | [22:07] |
.......... (idle for 45mn) | ||
franck has quit IRC (Ping timeout: 246 seconds)
Lawliet|away is now known as Lawliet | [22:52] |
←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |