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