CIA-83: tikiwiki: 03sylvieg * r32417 10/branches/proposals/6.x/tiki-export_tracker_ajax.php: [bp/r32416][FIX]tracker: encode also the fieldnames in the ajax export ***: rtdos has joined #tikiwiki
Lawiz has joined #tikiwiki Lawiz: Hi all! :) is there a way in Tiki to force the URL rewriting with a domain redirection? ***: redflo has left luciash: Lawiz: yes, in apache server .htaccess ***: dcedilotte_zzz is now known as dcedilotte CIA-83: tikiwiki: 03chibaguy * r32418 10/users/chibaguy/trunk_themes/themes/ (17 files in 17 dirs): [KIL] Old theme versions, now in mods. ***: goj has quit IRC (Remote host closed the connection)
goj has joined #tikiwiki
olinuxx has quit IRC (Quit: http://www.linuxmao.org http://tangostudio.tuxfamily.org/)
Caarrie|away is now known as Caarrie|sleeping
goj has quit IRC (Read error: Operation timed out)
olinuxx has joined #tikiwiki
goj has joined #tikiwiki
coaboa||away has joined #tikiwiki
coaboa has quit IRC (Ping timeout: 240 seconds)
Lawiz has quit IRC (Ping timeout: 245 seconds)
Kimberlee has left
dcedilotte is now known as dcedilotte_zzz
redflo has joined #tikiwiki CIA-83: tikiwiki: 03sept_7 * r32419 10/trunk/lib/init/smarty.php: [FIX] notice : add more picture pathes to secure_dir
tikiwiki: 03sept_7 * r32420 10/trunk/ (13 files in 2 dirs):
tikiwiki: [MOD] introduce {autocomplete} smarty plugin for less code duplication and
tikiwiki: better feature testing.... ***: Wilkins has joined #tikiwiki
chibaguy has joined #tikiwiki
ChanServ sets mode: +o chibaguy chibaguy: polom ***: WhiteCalf has joined #tikiwiki
PrezKennedy has quit IRC (Ping timeout: 246 seconds)
PrezWhiteCalf has joined #tikiwiki
WhiteCalf has quit IRC (Ping timeout: 255 seconds)
xavi_ has joined #tikiwiki
xavi_ has left
xavi_ has joined #tikiwiki
xavi_ is now known as xavi xavi: polom ***: WhiteCalf has joined #tikiwiki
PrezWhiteCalf has quit IRC (Ping timeout: 272 seconds) chibaguy: hi xavi -: chibaguy remembers he should do a jShowOff doc page... xavi: hi chibaguy
ah :-)
thanks for remembering -: xavi wishes he could clone Gary chibaguy: I'll gather up the information for that and get started. ***: PrezWhiteCalf has joined #tikiwiki -: xavi reconsiders: better if Gary could clone himslef whenever he (Gary) feels that he needs it chibaguy: heh, I wish I could clone me, too, but maybe not without making improvements ;-) xavi: :-) ***: WhiteCalf has quit IRC (Ping timeout: 260 seconds) chibaguy: well, it's good to document that slideshow because I need to have the info on hand anyway. xavi: he he
that usually happens to me, with most things I document ***: PrezWhiteCalf has quit IRC (Ping timeout: 272 seconds) chibaguy: xavi: I put the info at http://zukakakina.com/jShowOff+demo so far, but it isn't working, naturally :-/
Am I too sleep to notice an obvious problem? xavi: having a look
well, it works for me
if I hit play
it moves to second content
and after a while (10 sec. or so) moves to the third
and manually going forward or backwards also works
what did you mean by "but it isn't working"?
is there any image to be shown besides the test? chibaguy: No image, just the text lines.
Oh, it's working for you? ***: rodrigo_sampaio has joined #tikiwiki chibaguy: Ah, it's working for me in Opera, but not in FF. xavi: ok, I tried with Epiphany-browser
hi rodrigo_sampaio !
btw, Gary, themes will benefit from geshi (if it's installed)
did you try adding "colors=javascript" to the plugin code syntax? chibaguy: well, anyway, it's pretty simple. You can put in any content, and change the configuration as described on the script's web page. xavi: oh well, I mean in zukakakina rodrigo_sampaio: hi xavi!
xavi: I was going to write you an email right now to let you know that I'm back from my vacations xavi: welcome back ! :-) rodrigo_sampaio: xavi: thanks :) xavi: nice trip at the mountains? chibaguy: hi rodrigo_sampaio rodrigo_sampaio: hi chibaguy
xavi: amazing trip xavi: chibaguy: has there been any discussion about adding jShowOff jquery plugin to tiki code base? rodrigo_sampaio: xavi: I stayed the whole month in a place called Frey near Bariloche climbing xavi: rodrigo_sampaio: if you have pics, and public, send me a link some day (I'll look at the in the evening at home one day with Gloria) chibaguy: no, I think everyone's too busy. It never came up, as far as I know. License is MIT and GPL. xavi: chibaguy: so license MIT is compatible, isn't it? chibaguy: yes, i think so
rodrigo_sampaio: which mountains? rodrigo_sampaio: xavi: I will publish something in the next days and then I let you know xavi: to me, this jShowOff jquery thing is a very good candiate to bring new look to the home page of the featured profiles in Tiki7 ;-) chibaguy: yes, and very simple. xavi: rodrigo_sampaio: ok, no hurries, take you time to re-settle down, of course :-) rodrigo_sampaio: chibaguy: a few moutains around Bariloche in Argentina chibaguy: ah
just checking google images; it looks very nice around there. xavi: chibaguy: wait for rodrigo_sampaio's images, They 'll be nicer ;-) chibaguy: oh yeah, for sure. :-) xavi: s/wait for/give it a second go with Tiki|bot: New Forum Posts: How to take powered by tiki out - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=40323 xavi: chibaguy, see pm chibaguy: xavi, I also like this one: http://dev.herr-schuessler.de/jquery/popeye/ xavi: chibaguy: did you consider adding geshi to zukakakina? chibaguy: but the license is gpl so the author would have to agree to a dual license. xavi: if you have ftp access (at least), it's pretty easy to add chibaguy: no, I didn't think about that. xavi: and this way, you'll have syntax highlight of the html, css, js jq code that you write there and show inside plugincodes chibaguy: that'd be good xavi: I did document how to add it , in the page http://doc.tiki.org/PluginCode ***: jonnyb has joined #tikiwiki chibaguy: ok, I'll check on that. xavi: and if it looks too complicated, then it means that this page can be improved, since it's fairly easy jonnyb: polom y'all xavi: hi jonnyb chibaguy: hello jonny
b xavi: chibaguy: I agree, I like popeye a lot!
there seems to be many nice goodies as jquery plugins chibaguy: yep xavi: chibaguy: have you used popeye in any tiki site? chibaguy: No, not yet. xavi: :-) -: xavi looking again for the button "Clone Chibaguy" chibaguy: :-)
I've got to run an errand; will be back soon. ***: Caarrie|sleeping is now known as Caarrie|away
ricks99 has joined #tikiwiki
eromneg has joined #tikiwiki
dcedilotte_zzz is now known as dcedilotte_goneT chibaguy: re jonnyb: hi chibaguy - just going to look into this modules thing chibaguy: ok, thanks. ***: chibaguy has quit IRC (Ping timeout: 240 seconds)
chibaguy has joined #tikiwiki
ChanServ sets mode: +o chibaguy CIA-83: tikiwiki: 03jonnybradley * r32421 10/trunk/lib/smarty_tiki/function.autocomplete.php: [ENH] autocomplete: Add 'options' parameter to smarty function (and some comments) ***: PrezKennedy has joined #tikiwiki xavi: jonnyb: btw & fyi: I tested the amdin modules in trunk, and while I'm there, I cannot click anywhere else in tiki
well, I can click, but links are not working for me
I wonder if it's a known temp. issue
s/amdin/admin jonnyb: the links on the modules are disabled (except for the app menu)
so you can drag them about without ending up somewhere else!
as it says in the remarksbox (starting in bold :P )
should be bigger? or just not do that (believe me, it's really annoying) CIA-83: tikiwiki: 03sept_7 * r32422 10/trunk/lib/init/smarty.php: [FIX] Typo thnx marc
tikiwiki: 03jonnybradley * r32423 10/trunk/styles/layout/design.css: [CSS] design: looser padding for jquery-ui tabs
tikiwiki: 03jonnybradley * r32424 10/trunk/ (3 files in 2 dirs): [ENH] modules revamp: Tabs layout for module parameter sections, and a few other minor fixes jonnyb: you still going chibaguy? r32424 should sort out the modules admin forms (hopefully) CIA-83: tikiwiki: 03jonnybradley * r32425 10/trunk/lib/modules/tiki-admin_modules.js: [FIX] modules revamp: Module flip & edit icons clicks xavi: back
jonnyb: ah, I see jonnyb: :) xavi: he he, sorry, I hadn't read that part (too long all together). After the butllet points I stopped reading
+1 to have that last sentence in red or similar
I understand that it's a feature, but I must admit that I was not aware of that when I read that page
and I must admit that I normally read the interface/pages more than average users jonnyb: you soon would be if it didn't do that, because you'd me somewhere else! xavi: if this serves as a reference CIA-83: tikiwiki: 03sylvieg * r32426 10/trunk/lang/fr/language.php: typo -: ricks99 is going to have to start playing with tiki7/trunk at some point... CIA-83: tikiwiki: 03lphuberdeau * r32427 10/trunk/lib/core/TikiDb/Table.php: [FIX] Allow more complex sortings as well.
tikiwiki: 03sylvieg * r32428 10/branches/proposals/6.x/lang/fr/language.php: [bp/r32426]typo ***: philback has joined #tikiwiki philback: I am having a hard time finding why smarty's not working inside my {jq} code. e.g. {jq} $("#track_102").val="{$x.id|escape}");{/jq} The $x isn't used. The HTML still contains it. Any clue?
Things like $("#track_102").parent().parent().hide(); do work.
So, jq works.
BTW the $x works in the tpl outside of the {jq} jonnyb: hi philback - you need to "escape" back to smarty parsing mode - use two curlies...
jq} $("irc://irc.freenode.net/#track_102").val="{{$x.id|escape}}");{/jq} philback: ok, like {{$x ? jonnyb: yup philback: cool! Thanks! jonnyb: :) philback: you rule. jonnyb: (i don;t document much though, sorry) philback: no issue, I'll add that to the trackers page once it works here. jonnyb: ta philback: works for my textarea.
$("#area_103").text("{{$calitem.name|escape}}");
but not for my text field
$("#track_102").val("{{$calitem.id|escape}}");
no value show jonnyb: odd - trackers use different naming conventions depending on all manner of things philback: anyway, I am much further now :-) jonnyb: the only way usually is to get it to print out exactly what's in the var - could be anything philback: using Firebug now... jonnyb: don't assume what works for textareas is anything like what inputs do philback: $("#track_102").parent().parent().hide();
$("#area_103").parent().parent().parent().hide();
102= text 103=textarea
names also diff
otherwise, jq is a godsend
mmmh, user error: replace user. My fault.
was using wrond $x.y var. Problems compounded :-p
@jonnyb, interested in doing a tracker article for ricks99 together? jonnyb: philback: wouldn't mind doing a skype chat to help, but no time for significant "human language" writing (too difficult!) ricks99: tx guys jonnyb: hi ricks99 - actually, thinking about it i should probably spend the "spare" time reading lphuberdeau's new tracker plans... ricks99: np. just thinking of a short article to highlight trackers. where we've been and where we'r going. ***: PrezKennedy has quit IRC (Ping timeout: 250 seconds) jonnyb: what's the plural of radius? chibaguy: radii jonnyb: hmm, radii ricks99: radii jonnyb: like latin :) xavi: back SDuensin: FrIdAy! xavi: jonnyb, I need some some help for JQuery magic prefilling drop down fields
I thought I had that working, but I've just noticed that it doesn't work
this syntax in a wiki page template:
{wikiplugin _name=jq} if (!$("select[name=track_91]").[0].selectedIndex) $("select[name=track_91]").val("temp2");{/wikiplugin} jonnyb: so that's smarty syntax, right? chibaguy: thanks, jonnyb, I'm svn-upping now. xavi: and the page where it's called, has this call to the trackerlist:
{TRACKERLIST(trackerId="1", wiki="BP Template Section 02")}{TRACKERLIST} jonnyb: chibaguy: i'm just doing a new section for themegen for borders (width etc) - what's next? xavi: jonnyb: yes, that's smarty syntax
and the last one is wiki syntax, to use that previous content as template jonnyb: so does: {wikiplugin _name=jq} alert("woot"); {/wikiplugin} work? xavi: trying jonnyb: why not use wiki syntax (it's a wiki page, right?) xavi: well, yes... but I was planning to merge R output with jquery in smarty templates
however, you are right, I can skip may be the smarty template
s/may be/maybe
trying again without smarty template (it must work then) jonnyb: also try doing it in the firebug command line
ah, you have a JS error
$("select[name=track_91]").[0] should be $("select[name=track_91]")[0] (no dot) xavi: ah, ok, thanks ricks99: i have an i18n question... is it possible to include the page lang selection in a module? we have switch_lang module, but that is for the site interface. is there something specifically for page translation?
... using tiki6 xavi: yay, thanks jonnyb, it's working finally!
tiny dot... ***: redflo has left jonnyb: :D xavi: I need to document it , before I forget how I did it :-) CIA-83: tikiwiki: 03sept_7 * r32429 10/trunk/templates/wiki_edit_actions.tpl: [FIX] Fix "Preview" button to match other buttons "Cancel" and "Save" xavi: ricks99, no idea, I never heard or saw something like that
as already coded ricks99: k. looks like i'll have to modify the translation module CIA-83: tikiwiki: 03sept_7 * r32430 10/branches/proposals/6.x/templates/wiki_edit_actions.tpl: [FIX/bp 32429] Fix "Preview" button to match other buttons "Cancel" and "Save"
tikiwiki: 03sylvieg * r32431 10/trunk/lib/smarty_tiki/function.html_select_time.php: [FIX]tracker: export with a time field with no selection must not filter the items with hour, mn, sec equals to space xavi: jonnyb, so far so good. But my idea was to prefill the dropdown with some values returned by the R plugin
I mean, instead of: CIA-83: tikiwiki: 03sylvieg * r32432 10/branches/proposals/6.x/lib/smarty_tiki/function.html_select_time.php: [bp/r32431][FIX]tracker: export with a time field with no selection must not filter the items with hour, mn, sec equals to space xavi: {JQ()} if (!$("select[name=track_91]")[0].selectedIndex) $("select[name=track_91]").val("temp2") {JQ}
which is working to prefil with "temp2"
I wanted to prefill with the output of a PluginR call
I mean, this syntax:
{R(loadandsave=1)}cat(column2designNumber);{R}
returns number:
4
in the wiki page
but I tried with something like: jonnyb: hmmm xavi: {JQ()} if (!$("select[name=track_91]")[0].selectedIndex) $("select[name=track_91]").val("{{R(loadandsave=1)}}cat(column2designNumber);{{R}}") {JQ}
and it didn't work
number 4 is one of the options in the drop down, but is not pre-selected jonnyb: is it trackerlist? try adding the force_compile param xavi: "trackerlist"? jonnyb: and what does the source end up with (in the browser) xavi: track_91 is in a trackerlist
ah, ok jonnyb: it's a template right?
nested plugins in templates are a nightmare xavi: nope, I'm not using template any more
pure wiki page jonnyb: hmm, ok - that's good (some chance of working :P ) xavi: see: https://161.116.82.31/tiki/BasicPipe+Section+02&itemId=33
afair, you have an account there, don't you? jonnyb: yes, but must focus here
sorry xavi: ok
I understand jonnyb: don't mind little comments here (just can't cope with yet another browser window now!) xavi: he he, I know that feeling jonnyb: looks like the jq plugin stops nested plugins being parsed... xavi: so is pluginJq supposed to cope with another plugin call inside the val("")? jonnyb: can you get the R value into a hidden input for instance, then get it from there by jq? xavi: mmmm, that sounds beyond my skills
but with some url as example, I mguht get what ytou mean jonnyb: doesn't sound like it - i know {tr} works but possibly nothing else
you'd have to put the input & R call in an html plugin - might end up with the same prob xavi: maybe through smarty it's easier?
somehow feed a new smarty var with the R output, and then, use that smarty variable within the jquery value? -: xavi needs to learn more smarty jonnyb: no var needed, just use the {wikiplugin } thing inside an html <input> tag? xavi: ah, ok, ... I'll try
thanks for tip luciash: xavi: hi, i usually do capture jonnyb: the css "border" definition is an extraordinary thing... xavi: hi luciash . What do yo umean by "capture"
? luciash: xavi: for example in PTT i have {capture name="foo" assign="bar"}{wikiplugin _name="include" page="MyPage"}{/wikiplugin}{/capture}
xavi: then i can work with the smarty variable $bar xavi: interesting luciash: xavi: for example {$bar|truncate:220} xavi: thks luciash: and i get content of the include plugin truncated on 220 chars
i mean content of the output generated by the include plugin
xavi: ah, now i read it is not PTT, but pure wiki page, sorry xavi: nope, luciash , I was considering to use PTT if needed
so thanks for tip luciash: but you can use smarty plugin to do the same even out of PTT i suppose
{SMARTY()}...{SMARTY}
(but i must admit i never tested that one yet) xavi: ah, ok
mmm , that smarty plugin seems to allow only the usage of smarty functions already available in a folder in the tiki file tree
so not for custom smarty code, it seems luciash: but capture is standard smarty function
u mean that plugin doesn't allow smarty code in the body ?
that would be pretty useless plugin then :-p
i thought it is simmilar to the HTML plugin just allowing smarty code inside
(with plugin approval of corse)
*course
xavi: is that so ? xavi: I thought as you, but it seems it's not what we expected
and see: http://doc.tiki.org/PluginSmarty luciash: thx, going to look xavi: I tried with smarty code in the body, but nothing happened Tiki|bot: Recent Bug: Tracker item: #3784 - - Machine Translation broken: results in empty page - http://dev.tiki.org/tiki-view_tracker_item.php?trackerId=5&itemId=3784 luciash: xavi: ah :( it seems limited to smarty functions :( useless
xavi: one more reason why we need to keep the smarty code in PTT optional in trunk xavi: +1 ***: RavenC has joined #tikiwiki RavenC: polom
does anyone know if the "Bug_Tracker" profile works with 6.1?
Under Categories, it lists: 3.x, beta, Mini-profile (can be included in other), 4.x, 5.x xavi: RavenC: try it
and if it works, update the cateorization in profiles.t.o RavenC: hehehe.... I had a feeling that was coming!! :) xavi: :-) RavenC: will do xavi... cannot hurt anything Tiki|bot: Info: Fournisseur de services Tiki - http://info.tiki.org/article148-Fournisseur-de-services-Tiki ***: kiilo has joined #tikiwiki RavenC: xavi, worked perfectly. I will update the category now. Thanks xavi: np
jonny, I'm trying with a text field first, and not fully succeeded but nearly... ***: kiilo has quit IRC (Ping timeout: 240 seconds) xavi: jonnyb: in that wiki page I have:
{HTML()}<input type="text" name="testingr" id="testingr" value="temp3" /> {HTML}
and below:
{JQ()} if (!$("#other_track_91").val()) $("#other_track_91").val(testingr) {JQ}
I expected to have the text "temp3" prefilled in the text field 91
but Ihave instead:
[object HTMLInputElement]
"other_track" and not "track" because that's the syntax for a text field of a "dorp down + other" field type jonnyb: what is testingr?
a variable? xavi: yes
well no
I mean, anything, a name fo rthe field philback: Just a bug in wikiplugin trackers: when not logged in, and anonymous being able to insert items in the tracker, I get the captcha. But.. the captcha test keeps telling me: "You have mistyped the antibot code". Any idea on what to do.? A setting or a code dive into the plugin? xavi: it can be anything, I guess jonnyb: ok, so you need to get the val() out of it, yes? xavi: yes philback: The plugin is in my own code, in a tpl with {wikiplugin _name=tracker trackerId=11 fields=110:101:102:108:109:103:104:105:106:107 action=register showmandatory=y url=socius-register.php?registered&itemId}{/wikiplugin} jonnyb: so you need something like ... $("irc://irc.freenode.net/#other_track_91").val($("#testingr").val()) xavi: ok philback: Ahah, the return :-) jonnyb: sorry philback - could well be a bug philback: all right, I am in for a code dive... damn trackers ;-p. xavi: philback: fill in your tank before starting the dive! (to avoid getting out of oxygen ;-) philback: BTW, got a team I coach using Tiki for all doc management and collaborative work! Yay! It's a project with a high profile, so once further, I'll ask for permission to publish. There are tons of material in there.
Well, I already exhausted several bottles in the past, it becomes quite known territory :-)
Power doesn't come cheap indeed! xavi: :-) philback: <putiing debugging mask/> luciash: u guys r typing so fast i hardly catch ;) philback: Don't worry, I'll be mostly typing F7: step over in the next few hours... luciash: :) xavi: yay, again, jonnyb, you got the solution! it works!
thanks again
:-) -: jonnyb wants an ISO standard for debugging shortcuts enforced by law luciash: xavi: with jQuery it's easy... only disadvantage is you depend on JS
(client side) xavi: :-D lphuberdeau: I don't think much of the world works without JS anymore xavi: luciash: yes, I agree luciash: *g* xavi: lphuberdeau: my phone 3g does weird things with js (symbian) luciash: lphuberdeau: yep, but if you want avoid surprises it's better to not to (like with the mandatory fields check) xavi: jonnyb, now I tried with the pluginR output inside the html call, and it's not parsed
I mean, having this code:
{HTML()}<input type="hidden" name="testingr" id="testingr" value="{{R(loadandsave=1)}}cat(column2designNumber);{{R}}" /> {HTML} jonnyb: bleh - was fearing that :( chibaguy: jonnyb, I'm still having trouble with the module parameters. Are they working ok for you? xavi: I get this content added to the text field (literally):
{{R(loadandsave=1)}}cat(column2designNumber);{{R}} jonnyb: xavi: you could split the html into two {html} chunks? xavi: ?
how can I do that? jonnyb: {HTML()}<input type="hidden" name="testingr" id="testingr" value="{HTML}{R(loadandsave=1)}}cat(column2designNumber);{{R}{HTML()}" /> {HTML} xavi: ah, nice trick :-)
testing jonnyb: chibaguy: yes, module params were saving for me - what's broken for oyu? philback: What's that R plugin ? New thing? xavi: philback: see http://doc.tiki.org/PluginR luciash: xavi: somtimes helped me putting the stuff into another plugin "wrapper" (e.g. {DIV()}...{DIV}) and the parsing magically worked again chibaguy: If I assign visibility for one theme, it's ok, but if I add a second, with a semicolon between, it doesn't show up (menu, for example). luciash: nested plugins are buggy xavi: jonnyb: I get then, inside the text field: "<a id="
without quotes
luciash: thanks for tip. I'll try philback: @xavi: super, I am a R user!!!! luciash: xavi: or if u can u can avoid using the {HTML()} plugin and use allow HTML on the page jonnyb: xavi: so the {R} plugin generates a <a> does it? (i thought you said it would be just a number) luciash: xavi: but i see, in collaborative env it is better to use HTML plugin xavi: philback: are you?? :-) philback: Got "The R book" and "Stats avec R" located at 50 cms of my keyboard. That's terrific for my team project !!!
I am xavi: welcome to PluginR then, philback ! :-) philback: Good. Thanks. I am now auditing a project with tons of source code and putting stats in R form in Tiki will make execs of my client jump all around the office :-) xavi: jonnyb, I'll see the code (it's a number with pre tags) philback: Is in in trunk/ or 6.x? chibaguy: jonnyb, I can see parameters listed for a module in the assigned-modules list, but when I click the edit icon, there's nothing in the textfield for that parameter. Just basically a disconnect in various ways. xavi: luciash: this is not for collaboration with users, but trying to leave some interface kind of usable (workflow to use R scripts from Web pages in pretty trackers, etc)
philback: both
philback: in trunk, you get the bonus of the syntax highlighting, of course :-) jonnyb: chibaguy: normal module or user one? xavi: by codemirror luciash: philback: LOL about the jumping execs :D chibaguy: normal, mainly I'm assigning menu, logo, login and search in either of the two top module areas. philback: ok, will go trunk then. luciash: philback: layout of trunk is not stable enough yet though chibaguy: ...and assigning a theme or !theme for visibility. xavi: philback: but remember the Pretty tracker templates in wiki pages don't work in trunk right now jonnyb: chibaguy: odd - i see nobox and style has stuff in for me logo module xavi: due to that commit byu nyloth, afaik luciash: philback: there's chance codemirror will come to 6.x branch later too chibaguy: jonnyb, yes, it seems kind of hit and miss here. I haven't tested enough yet to see if there's a pattern. jonnyb: chibaguy: so it's the theme thing mainly? (forgot to test that) chibaguy: modules with parameters set earlier are still ok, but new edits (since several days ago) haven't been working as expected. jonnyb: you svn up'ed? luciash: philback: in other words, what xavi says, they do work, but without any custom smarty code - if you use smarty in PTT wiki pages, no luck with trunk yet chibaguy: yes, that's what i've been working on, as I update the themes. jonnyb: and have tabs philback: ok, will checkout trunk and pick up R then :-)
and let you knwo. xavi: philback: you'b better start tesing the whole thing by means of the profile "r_test"
it will get you introduced much quickly, probably :-) jonnyb: chibaguy: i set theme to !jqui.css on my logo and it works ok chibaguy: ok, now add another theme like !tikinewt.css philback: all right
anyway, you got me excited. Following on tiki and squeak (other open source thing of interest) is not easy... xavi: "you got me excited" : I know that feeling :-) jonnyb: chibaguy: ok, with two ! themes is seems to never show xavi: jonnyb: about "so the {R} plugin generates a <a> does it? (i thought you said it would be just a number)"
it seems that the <a> tag is coming from the icon for the plugin helper
I'll remove those icons chibaguy: jonnyb, yes and note the way the = gets encoded in the parameters list. I don't know if that's related or just adding insult to injury. ***: ricks99 has quit IRC (Quit: Now available, the first and only Tiki book. Get it at http://twessentials.keycontent.org) jonnyb: looks like a bug in modlib - i haven't changed those bits (on purpose)
yes, the encoded param thing is messy, but it's all done in smarty so hard to sort out
appears in the edit form ok (for me)
xavi: what does your {R} plug produce then? if it's in an html element already you can probably get at it via jquery xavi: it is a number surrounded by <pre> tags jonnyb: no id or class? :( RavenC: I created a menu called top menu. For the life of me, i cannot figure out how to set the permissions. I want it to be visible to registered and admin, and not anonymous. I cannot find "menu" under any of the sections. Can anyone point me in the right direction please? xavi: but you mean that I could extend the PluginR to have the output inside some custom div with custom id and custom name, so that the value can be fetched by jquery???? jonnyb: if it's the only one on the page you could use $("pre").text() luciash: RavenC: second tab xavi: interesting this dive into the JQ world! -: xavi testing
xavi running out of "fuel" also luciash: RavenC: on modules admin jonnyb: of $("pre:eq(17)").text() for the 17th one
of/or xavi: ok RavenC: I see the menu listed nder user modules... xavi: brb (need some food urgently) luciash: RavenC: if u need it in 6 in top (as it seems) you need to put something like {if $user}{menu id=YOURMENUID type=css}{/if} on Look & Feel admin panel in the custom top bar menu code textarea RavenC: I selected Admins Registered in Groups in the assigned modules, but when i log in as a registered user, the menu doesn't show chibaguy: bbl. dog-walk time. luciash: RavenC: in 6 the modules admin is useful only for assigned modules which is not straightforward for top and bottom
RavenC: only for left/right modules RavenC: hmmm... ok
makes sense luciash: RavenC: see http://doc.tiki.org/Menu#Contextual_menu_example CIA-83: tikiwiki: 03sylvieg * r32433 10/trunk/templates/tiki-view_tracker_item.tpl: [FIX]tracker: to really have a no highlight in the edit item tab luciash: RavenC: it's a bit different case, but on the page u can find lot of useful info RavenC: luciash: Thanks for the help I will see what I can find. :) CIA-83: tikiwiki: 03sylvieg * r32434 10/branches/proposals/6.x/templates/tiki-view_tracker_item.tpl: [bp/r32433][FIX]tracker: to really have a no highlight in the edit item tab ***: chibaguy has quit IRC (Ping timeout: 245 seconds) RavenC: sadly, I don't see anything referring to permissions there other than to create/edit...
I guess two menus on the left will have to suffice
:) luciash: RavenC: it is really easy when you know how... i think that bit of info is missing from the docs
what is your menu ID ? RavenC: yeah, sadly I am not in the "know" crowd... hehehe
menuID 43
looks perfect for admin
blank for registered luciash: ok, then go to the Look & Feel panel RavenC: I'm thre luciash: second tab RavenC: there luciash: ok RavenC: Top Bar checked, Menu ID set at 43 luciash: check the Site menu bar too RavenC: it is checked as well, sorry
as is search bar... luciash: insert this there: {menu id=43 css=y type=horiz}
leave Menu ID field blank RavenC: ok luciash: now before the menu code put this: {if $user}
and after put this: {/if}
so it will look like {if $user}{menu id=43 css=y type=horiz}{/if} RavenC: ok, done luciash: now when you Apply, every logged in user (Registered which includes Admins, right ?) will see the menu RavenC: ok luciash: Anonymous will not see it RavenC: cool
I will try logging in as registered
I log in as a registered user and the top bar is blank ***: lphuberdeau has quit IRC (Ping timeout: 255 seconds)
lphuberdeau has joined #tikiwiki luciash: RavenC: oh, maybe it needs to check like this: {if $user neq ''}...
RavenC: sorry
neq means "not equal"
and '' means "empty" RavenC: ok, i will put in {if $user neq ''}
still blank... :/ ***: rodrigo_sampaio has quit IRC (Quit: Leaving.)
Wilkins has quit IRC (Ping timeout: 240 seconds) luciash: RavenC: do you have CSS menus feature on ? RavenC: Requires CSS Menus ( ok ) luciash: ok, humm, can u try clear the Tiki cache ? RavenC: just did ;)
before posting luciash: (though i think it shouldn't be necessary)
RavenC: you didn't set any Group permissions on your menu items, did you ? RavenC: luciash: I didn't know how.... luciash: ok, i wonder why it doesn't show up for you logged in then RavenC: i thought that was the route to go, but it said nothing was assigned and would use global perms luciash: it definitely works usually RavenC: hehehe -: RavenC is always the exception to the rule luciash: RavenC: can you just try to put before the "{menu" some text ?
if it will show up ?
like DEBUG RavenC: sure
clicked apply, shows up for admin
logged in as registered, DEBUG appears luciash: fine, so the condition works
just the menu doesn't appear for some reason RavenC: hmmmm luciash: do u have other menus ? RavenC: I was just about to create another to test :) luciash: so u can try different id CIA-83: tikiwiki: 03robertplummer * r32435 10/trunk/ (3 files in 3 dirs): [ADD] Spreadsheet truncation for csv files & notification in tiki-view_sheets.php & tiki-view_sheets.tpl RavenC: Created menu 44 ... changed the one line to reflect that in look&feel... works perfectly luciash: mystery :) RavenC: luciash, I bow to your mega knowledge and massive patience. Thanks very much for assisting me :) luciash: np, you're welcome xavi: jonnyb, I've created some id and name in the pre generated by pluginR
using the number of the pre didn't work for me
can I use somehow those names?
I tried, with no success....
I'll paste the syntax Iused...
mmmm, jonnyb: hmm? xavi: amazing, it works!
with the id and name inside the pre tags
uff!
before I was using val() and it didn't work
but with text() it did jonnyb: you shouldn't need name. i think (name is really just for values in forms) xavi: so, this works:
{JQ()} if (!$("#other_track_92").val()) $("#other_track_92").val($("#routput").text()){JQ} jonnyb: aha, inputs etc have .val() - other stuff has .text() xavi: being "routput" the id and name of the pre generated by R
yes, that was my mistake! jonnyb: woo hoo! xavi: :-D
wohooo² luciash: :) xavi: wohooo^10
:-D luciash: xavi: you can also use .html() xavi: can I?
wohoo.html() ? :-D luciash: if u want to preserve html of the element
just a side note ;) xavi: thanks guys for all you help! -: xavi feels more relaxed now! xavi: with this, I think, I can manage most of my needs playing with tiki trackers, smarty, jq and R luciash: xavi: is your next plugin going to be called "." ? ;) ***: ricks99 has joined #tikiwiki xavi: :-) CIA-83: tikiwiki: 03xavidp * r32436 10/mods/trunk/wiki-plugins/r/lib/wiki-plugins/wikiplugin_rr.php: [ENH]Added id and name for the pre tags of the R output, so that its content can be easily passed to Jquery. Thanks jonnyb and luciash xavi: lphuberdeau: see pm ***: thraxisp has joined #tikiwiki
thraxisp has quit IRC (Client Quit) lphuberdeau: as I refactor code in file galleries, I come to realize that there is absolutely no consistency in how anything is handled ricks99: lol. you've been working with tiki *how* long? And you just now discovered this? lphuberdeau: well, it's worst than usual ***: redflo has joined #tikiwiki lphuberdeau: those "podcast galleries" are simply a data corruption machine luciash: *g* lphuberdeau: depending on how the file gets uploaded, I really don't know if it always goes at the same place under the same conditions xavi: jonnyb, and how to hide the output from pluginR in the page (so that the end user don't see it twice), while allowing jquery to fetch it?
I tried surrounding the pluginR call with ~tc~ ~/tc~, but that prevent jquery to fetch it, it seems
and same with ~hc~ ~/hc~ jonnyb: that would stop it being parsed xavi: ok jonnyb: you could put it in a hidden div? xavi: hidden div: I feel as if I'm learning black (html) magic today jonnyb: {DIV(class="hidden")}blah blah... xavi: {DIV(type="hidden")}foo{DIV}
ah , ok, thanks -: luciash still thinks much better would be smarty capture :) xavi: mmmm, jonnyb, no output shown then
jquery not prefilling that value -: xavi checking the source xavi: ah, hold on....
it smells like human error...
he he, confirmed, it was human error.
it works like a charm
thanks again, master j(q)onny :-)
enough for today
for me jonnyb: ok, bibi - well done :) luciash: bye xavi xavi: thks
blues concert tonight! yay! :-)
cheers ***: xavi has left ricks99: in 6/proposals branch, i still don't understand what Heading preview for Blogs is supposed to do
(if anything)
i see no way to display/preview a blog heading when creating a new blog CIA-83: tikiwiki: 03lphuberdeau * r32437 10/trunk/ (lib/filegals/filegallib.php tiki-batch_upload_files.php): [MOD] Extracting batch upload file handling to library ***: chealer has quit IRC (Remote host closed the connection) CIA-83: tikiwiki: 03jonnybradley * r32438 10/trunk/ (3 files in 3 dirs): [MOD] themegen: Refactor data structure to allow easier management and addition of new customisable elements (some breakage possible - experimental still) ***: gillesm has joined #tikiwiki RavenC: TW 6.1 - Default HomePage (wiki) ... has {GROUP(groups=Admins)} to start. Can I place two groups in that, and if so what would be the syntax? I tried {GROUP(groups=Admins, Registered)} but it didn't appear to like that. ricks99: i belive the syntax is is Admins|Registered. check docs http://doc.tiki.org/plugingroup RavenC: thanks Rick, you are correct... I was looking at http://doc.tiki.org/Groups+Management -: RavenC gets lost in docs.tw.o REAL fast ***: Bilal has joined #tikiwiki ricks99: @RavenC: join us for a doc re-org :-) RavenC: :) Bilal: hi everyone RavenC: hi Bilal Tiki|bot: New Forum Posts: How to take powered by tiki out - https://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=40323
New Forum Posts: FancyList - https://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=40312
New Forum Posts: Announcing the Tiki Service Provider Program - https://tiki.org/tiki-view_forum_thread.php?forumId=1&comments_parentId=40311 Bilal: RavenC: how are you doing?
any tikiwiki experts in here? gillesm: for what Bilal ? RavenC: Bilal: Great here thanks. You? (Sadly, VERY from an expert here) ricks99: Do you have a question? RavenC: very FAR that is... lol Bilal: I am using Tikiwiki 6.0 beta 3 - the links on the site of a page does not work unless the page is fully 100% loaded. While in general websites, and older tikiwiki versions we were able to click on a link even if the page is not fully loaded yet
because of this it creates a lot of frustration, when we have to wait for the page to be loaded 100% and then we can click on any links on the page ***: chealer has joined #tikiwiki
chealer has quit IRC (Changing host)
chealer has joined #tikiwiki Bilal: any help, is there any configuration to remove this behavior? can we fix this? ricks99: @Bilal first, I would upgrade to latest 6.1 (6.0b3 is old)
also, which links? in-page links? menu items? etc? Bilal: ricks99: specifically if there are tab links within a page, the ajax links, almost all links, the navigation and page links both
ricks99: i will do the upgrade
ricks99: i can give you url of the site if you want to have a look , its online ricks99: that is because the <SCRIPT> elements have been moved to the bottom (last to load) on the page to improve overall performance
you can turn off the tabs and use non-css non-php for the menu items ***: PrezKennedy has joined #tikiwiki jonnyb: also Bilal, try turning on minify for js and css - should help
in admin->performance ricks99: actually, minify js will make the issue worse. you'll have the scripts at the end *AND* have to de-code it Bilal: ricks99: i don't want to turn off the tabs , they look amazing ***: AndroUser has joined #tikiwiki Bilal: all the ajax and stuff is amazing
ricks99: i checked the source of the page and there are scripts at the end of the page ricks99: thats the tradeoff. do you have other things (imports by ref, streaming vids, etc.) that are causing slow page loads? Tiki|bot: New Forum Posts: How to take powered by tiki out - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=40323
New Forum Posts: FancyList - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=40312
New Forum Posts: Announcing the Tiki Service Provider Program - http://tiki.org/tiki-view_forum_thread.php?forumId=1&comments_parentId=40311 ricks99: yes the scripts are at the end of the page. therefore, they are not active (can't be clicked) until the page fully loads ***: ricks99 is now known as ricks99|away Bilal: ricks99: please check the site, i think after 6.0 version, the speed of TIKIWIKI has gone down significantly lphuberdeau: I wouldn't say that is true overall, but some features/modules may perform less than others - what are you comparing to? Bilal: the older versions of tikiwiki , i have a site at version 2.0 , which works much faster than version 6.0 AndroUser: Did you run metrics onboth sites to get real numbers? lphuberdeau: it's very hard to compare those 2 versions as there were many changes Bilal: okay lphuberdeau: tiki did slow down a bit between 2 and 4, and then got faster
but some features you use may still be suboptimal, it's always a work in progress Bilal: may be i am not configuring it right and i will also check with my hosting
i am running it on a shared hosting, may be thats the reason lphuberdeau: make sure you have a bytecode cache such as xcache or apc
it makes a huge difference on anything based on php ***: ricks99|away is now known as ricks99
AndroUser has quit IRC (Quit: Bye)
kiilo has joined #tikiwiki
rpg has joined #tikiwiki
dcedilotte has joined #tikiwiki
ricks99 has quit IRC (Remote host closed the connection)
kiilo has quit IRC (Ping timeout: 240 seconds) CIA-83: tikiwiki: 03robertplummer * r32439 10/trunk/ (3 files in 3 dirs):
tikiwiki: [ADD] Feature to reset color on sheets
tikiwiki: [MOD] Refactored tik-jquery.js - displayPicker to be all jquery ***: Bilal has quit IRC (Quit: Page closed) CIA-83: tikiwiki: 03robertplummer * r32440 10/trunk/ (4 files in 3 dirs):
tikiwiki: [ADD] Better documentation for spreadsheet
tikiwiki: [FIX] some overflow issues with the help dialog ***: dcedilotte has left "Leaving"
RavenC has quit IRC (Quit: ~ Trillian Astra - www.trillian.im ~)
rpg has quit IRC (Quit: rpg)
rpg has joined #tikiwiki CIA-83: tikiwiki: 03robertplummer * r32441 10/trunk/ (5 files in 4 dirs):
tikiwiki: [MOD] Changed all the CSV parsers in grid.php to use the new ways
tikiwiki: [MOD] Changed url for wiki plugin "sheet" to load at the server and remove any scripting for injections. We can now use sheet to open any accessible csv file or html :) pretty cool!
tikiwiki: [FIX] A few size fixes in sheet html
tikiwiki: 03robertplummer * r32442 10/trunk/lib/sheet/grid.php: [ADD] strip_tags to grid.php when loading a csv file ***: marclaporte has joined #tikiwiki
ChanServ sets mode: +o marclaporte
jonnyb has quit IRC (Quit: I am going outside... I may be some time...)
eromneg has quit IRC (Quit: ChatZilla 0.9.86 [Firefox 3.6.13/20101203075014])
olinuxx has quit IRC (Quit: http://www.linuxmao.org http://tangostudio.tuxfamily.org/)
olinuxx has joined #tikiwiki
marclaporte1 has joined #tikiwiki