Recent Bug: Tracker item: #3525 - - Implement Gravatar - http://dev.tikiwiki.org/tiki-view_tracker_item.php?trackerId=5&itemId=3525 New Forum Posts: Submission of Articles - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=38174 New Forum Posts: Problem Uploading CMS Topic Images - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=38175 good morning Hi Joern does one know how I can add plugin {BACK ()/} to tiki-pagebar.tpl? 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 polom hello could you tell me how I would use the wiki plugin {BACK} in a template? {WIKI}{BACK()/}[/WIKI} ? I think that could work perhaps with the literal too lit wik bac wik lit ? http://themes.tiki.org/Template+Tricks&pagenum=13#Add_wiki_syntax_in_Custom_code_text_areas_of_Look_amp_Feel thx 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 Hello! hi polom 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? btw: {BACK()/} just works fine if put in a wikipage. hi changi polom changi http://tiki.org/tiki-searchresults.php?highlight=tikiwiki.org&search=Go -> Found "tikiwiki.org" in 12365 pages 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 hi 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 changi: your home place? :-) Home sweet home? ;D 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 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. ^^ im even not sure if this is the varable of the Category ;-) ;D maybe try a {$objectCategoryIds} and see what it shows in the html code. array just untaring the source to have a look. ^^ joking ;-) I'snt there a variable for the category like for $user? ok, you can get the parts from the array like this: $objectCategoryIds.name to ge the categ name. If it contains anything, though. ^^ thx Not sure, what do you want to do? :) Oh wait, maybe it is $objectCategoryIds.data.name, if the other one doesnt work. hm... if categoryId=1 img src=fixedcatogory.png if categoryId=2 img src=fixedcatogory2.png ah hm. etc. hardcoded because im not a programmer ;-) For the category of what do you want to do that? wiki page Ah ok. similar to topics icons in articles Ah so, like displaying a nice icon on each page to show its category. you got it Problem is that an object can have more than 1 category. ;) ohertel: yes home sweet home after 2 weeks of vacation 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} 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 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 cool 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} thx, will try that If that doesnt work like you need have another look at templates\categobjects.tpl maybe you learn something from it I didnt see. ;) ok. Do you know why {wiki}{literal}{BACK()/}{/literal}{/wiki} is not usable (neither in custom areas nor in a template)? no, sorry. thx, go digging ;-) exit oop, wrong window. :P 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 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). polom Hello luci. :) hello oliver ẗhanks for trying hard to keep tw.o up ;) ^^ $t is emty coaboa: hm, maybe the categs inside the tpl you are in are not available or in another variable and not in 'listcat' 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 tiki-show_page.tpl is the page used for displaying a wiki. and page_bar is included there. so catids should exist? 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. ;) ok thx. so how could I then determine the values? right seems more reasonable to add a div to each page manually ;-) tikiwiki: 03marclaporte * r28662 10/trunk/ (10 files in 3 dirs): tikiwiki.org -> tiki.org changes is there a way to check for the category name in a template? Or enhance tiki so it has categ logos. ;) asked for that a year ago oh ^^ try the debugger console on ? dont want to debug, just wanted to add a icon1 for category 1 , icon 2 for category 2 by hand in a template yes, but the debugger console could give you list of available variables for the page you afre on *are it does? ah. :) {DEBUG} in custum code right? hopefully it is still in Tiki it was a feature actually coaboa: no, you can enable it somewhere in admin menu 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. tikiwiki: 03marclaporte * r28663 10/trunk/templates/ (16 files): tikiwiki.org -> tiki.org changes there must be a simple {if $catId=1} 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. ^^ tikiwiki: 03xavidp * r28664 10/trunk/lang/ca/language.php: [ENH]New strings translated 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) 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 ... $res ? tikiwiki: 03xavidp * r28665 10/branches/5.x/lang/ca/language.php: [ENH]New strings translated 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 Prints "0" Ok, and is this page in category 0? :) which should be cat 1 arrays start with 0 arent they? yup maybe try with another page which has a different category. Just to see if that value changes. ;) stays 0 ;-) ah wait, maybe this is the index of another array. :P replace $objectCategoryIds with $objectCategoryIds.0 in that loop and see what you get. :) now the debugger console is started $cat $cat it is? array containing: Array () categId => "1", name, description parentID, hits etc. array containing: Array (10) categId => "1", name, description parentID, hits etc. thats in $cat? but the nextline shows $categId "" {$cat} and {$categId}, sorry forgot the braces {$cat} contains eg. name => "Poisi" which is the category name So there you go. ;) if $cat eq 'Poisi' then diesunddas or do I have to address the position inside the array somehow? coding for runaways ;-) 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? yes 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 :-( 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 coaboa: {elseif ...} Thx luciash ;-) Does somebody know why: {wiki}{literal}{BACK()/}{/literal}{/wiki} does not work in a template? because {wiki} doesn't support plugins syntax use this instead: {wikiplugin _name="back"} {/wikiplugin} thx cool + works like a charm ;-) and document! on template tricks! 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 are we moving completely to tiki.org ? will the old URLs still work or redirect with 301 ? going out, bbl redirect 301 forever New Forum Posts: User pages and group editing permissions - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=38177 polom 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. 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 re marclaporte: good :) 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. tikiwiki: 03chealer * r28671 10/trunk/templates/modules/mod-search_box.tpl: [FIX] label for Advanced search tikiwiki: 03chealer * r28672 10/trunk/templates/advanced_search_help.tpl: [FIX] remove excessive

tikiwiki: 03chealer * r28673 10/trunk/templates/tiki.tpl: [FIX] module errors HTML polom wb marc :)