<!-- Some styling for better description lists --><style type='text/css'>dt { font-weight: bold;float: left;display:inline;margin-right: 1em} dd { display:block; margin-left: 2em}</style> goj_killedByISP: joined #tikiwiki redflo: joined #tikiwiki jacmoe: joined #tikiwiki <br> joined #tikiwiki rodrigoprimo: joined #tikiwiki xavi: joined #tikiwiki <br> polom <br> anyone knows how to use data from a cell in a tiki spreadsheet into another tiki spreadsheet? (in 9x) <br> joined #tikiwiki El: joined #tikiwiki El_Presidente: joined #tikiwiki <br> Hi! <br> Anyone here who knows how to produce dynamic Tracker input? <br> I want to have checkbox or a drop down list and depending on the choice another input shall pop up or stay hidden[14:56] El_Presidente i found a website where something like this is described, but this does not work xavi: <u>El_Presidente</u>: see http://doc.tiki.org/PluginJQ radek82: joined #tikiwiki xavi: this works for me in 6x <br> and some people reported that something like that works for them in 9x El_Presidente: Thanks! I will try it CIA-36: tikiwiki: 03jonnybradley * r41608 10/trunk/ (29 files in 17 dirs): <br> tikiwiki: [MRG] Automatic merge, branches/9.x 41575 to 41607 <br> tikiwiki: Conflict on lib/core/Services/Tracker/Controller.php merged manually jonnyb: joined #tikiwiki <br> polom Jyhem: polom jonnyb jonnyb: hi Jyhem Jyhem: are you working on table sortable columns right now ? (I read smtg in dev list)? jonnyb: no <br> just got the minify thing to work Jyhem: ok -: Jyhem looking at it. Fearing interferences Jyhem: If I do a lot of $headerlib->add_jq_onready('code'); in a plugin, does it mean a lot of js files are downloaded, or are they grouped automagically ? jonnyb: add_jq_onready is added to the page source (unminified) Jyhem: In other words, is it good practice to build one big $code variable and then do $headerlib->add_jq_onready($code); or is it a waste of time and useless complications ? <br> each call to add_jq_onready is added separately, you say , <br> each call to add_jq_onready is added separately, you say ? jonnyb: no, they're all in one <script> tag block Jyhem: Ahhhh, found it in View source! Thanks for the hint jonnyb: :) Jyhem: That's actually very cool, debugging-wise :-) benoitg: joined #tikiwiki -: Jyhem bbl CIA-36: tikiwiki: 03jonnybradley * r41609 10/trunk/lib/wiki-plugins/wikiplugin_kaltura.php: [ENH] kaltura: Add align and float params to plugin marclaporte: joined #tikiwiki arildb: joined #tikiwiki luciash: joined #tikiwiki <br> polom jonnyb: hi luciash luciash: need help with field regexp validation -: jonnyb ducks and covers luciash: i put [a-z0-9-] there <br> but it still allows ěščř <br> i want allow only ascii chars, no space, numbers and dash there <br> <u>jonnyb</u>: heheh <br> :D jonnyb: you could list them all <br> [abcde etc luciash: i tried [abcdefghijklmnopqrstuvwxyz0-9-]+ jonnyb: there might be a multibyte compile options somewhere <br> no joy? <br> (presumably) luciash: the problem is i do not know what syntax that field accepts jonnyb: which field? luciash: what regexp syntax <br> the validation regexp field <br> i choose regexp from the dropdown <br> and the next field is the validation field <br> when setting up the text field <br> or editing (in other words) jonnyb: ok, it'll end up in /lib/validators/validator_regex.php eventually luciash: oh yeah, thanks El_Presidente: Hi Guys. I have another question and I hope you can help: When I use the trackerlistplugin and I want to filter the list... is it possible to filter for two values A OR B ? jonnyb: well, the bad news is that is wraps the pattern in / and /, so you can't send options luciash: hmm jonnyb: <u>El_Presidente</u>: i think you can specify the same filter or exact match field more than once - not sure if it's AND or OR luciash: anyway, if there is $times = preg_match("/$parameter/", $input, $matches); it should work with [a-z0-9-]+ no ? jonnyb: yes, but something "clever" is including accented chars too luciash: grmbl <br> :D <br> i hate "something clever" rodrigoprimo: joined #tikiwiki luciash: ok, going to struggle more <br> thanks El_Presidente: thanks, but when I apply the same filter twice it is AND.... :( jonnyb: you could do it by exact ascii value matching probably <br> <u>luciash</u>: e.g. [x41] should be A only El_Presidente: does anyone have another idea? jonnyb: sry no (seem to remember it's come up before) <br> try a mail to the dev list? <br> bbl luciash: grr, it seems to completely ignore the brackets ? i have put ^[abcdefghijklmnopqrstuvwxyz0123456789-]+$ now there and it allows anything, even spaces :( -: luciash going to try the negation way if that works, e.g. [^s]+ luciash: nope, it ignores the brackets :( <br> or i do not know what am i doing wrong :( jonnyb: <u>luciash</u>: check the ajax request in the browser - bet the param is getting urlencoded marclaporte: joined #tikiwiki amette_: joined #tikiwiki <br> joined #tikiwiki benoitg: joined #tikiwiki luciash: <u>jonnyb</u>: yes, you seem right, there is even more odd -: jonnyb finds that hard to believe luciash: :) <br> nope, really ;) <br> it is 6.x LTS though... the post in firebug values say that input=undefined, ins_15=test-one-ěščř and parameter is encoded, but decoded shows ^[a-z0-9-]$ instead of what i put there: ^[^a-z0-9-]$ jonnyb: try two \s luciash: what most worries me is that $input is always undefined <br> can the problem be that the field is page selector and not plain text i�nput field ? <br> *input field <br> because what i am trying to achieve is to force users not to name pages other than a-z0-9- <br> when filling in the tracker item <br> jquery for the workaround, i know ;) jonnyb: you'd have to see in the debugger what ends up in the validator - something else probably converts amette_: joined #tikiwiki luciash: i tried return matches[0]; and it returned "undefined" :( <br> that is why i suspect, it sends always undefined and matches that against the valiadation parameter <br> that is why it was always passing jonnyb: maybe i can have a look tomorrow luciash: ignoring that i input the invalid characters <br> no, thank you, you do not have to fix it yourself, just trying to solve it collaboratively irc-ing here ;) <br> i will see if it is still present in 9.0 <br> i suspect it was working only with text fields now <br> this is the post to validate-ajax.php: ins_15=test-one-%C4%9B%C5%A1%C4%8D%C5%99&validator=regex&parameter=%5E%5Ba-z0-9-%5D%2B%24&message=Only+a-z+and+0-9+and+-+in+this+field+!&input=undefined Tiki|bot: New Forum Posts: My Tiki mobile app - http://tiki.org/tiki-view_forum_thread.php?forumId=1&comments_parentId=44132 luciash: yes, with plain text field it works fine - the input is not undefined but takes the field name <br> err, i mean the field value <br> inputted jonnyb: getting closer! :) luciash: must be somewhere in the validatorslib.php marclaporte: joined #tikiwiki marclaporte1: joined #tikiwiki luciash: or rather missing support for the page selector input field <br> than a bug <br> gotcha <br> input id="page_selector_15" <br> page_selector prefix is not supported there in Tiki 6 <br> only area_ or ins_ <br> which is the text field <br> will add it to the validatorslib in Tiki 9 if not there already jonnyb: trackers have been pretty well rewritten since 7.x luciash: yeah, i expect that <br> maybe this will be only local fix for our Tiki 6 LTS then jonnyb: more tomorrow luciash: bbl <br> away bbl ricks99: joined #tikiwiki <br> polom Tiki|bot: Info: The Tiki 9.0 Beta is Here - http://info.tiki.org/article194-The-Tiki-9-0-Beta-is-Here arildb: joined #tikiwiki benoitg1: joined #tikiwiki benoitg: joined #tikiwiki amette_: joined #tikiwiki amette: joined #tikiwiki <br> joined #tikiwiki benoitg: joined #tikiwiki amette: joined #tikiwiki amette_: joined #tikiwiki jneusteter: joined #tikiwiki <br> I get a 404 error after I click save, and I have the SEFURL off. ricks99: click save from what? <br> can you provide some context? jneusteter: after I add a blog entry, or edit the wiki. when I click on save i get the 404. I worked for over a year on an apache server, i moved it to an nginx server last week. benoitg: joined #tikiwiki jneusteter: the data does get added to the database. if i open a new tab and go to the site the entry appears at it should. ricks99: what is your Tiki version? are you using the correct htaccess file? jneusteter: i am using 8.1 ricks99: wow... quite old. i would definately upgrade to the latest. might already be fixed. what is the url you get after saaving a page? jneusteter: i am using the same .htaccess that i used for my apache setup. is there a nginx version? ricks99: don't think so. but you renamed the tiki _htaccess to .htaccess, right? jneusteter: yes ricks99: what is the url that you're getting an error (after saving a page)? is it something like: yourdomain.com/yourpagename jneusteter: the is the page url with the error http://linuxbasix.com/tiki-editpage.php?page=Minimal%20Debian but when i copy and paste that into a new tab it works ricks99: that is the url for *editing* the page. after you click SAVE, what is the URL displayed in your browser's address bar? jneusteter: actually that is the url in the address bar. When i click save there is a 20 second pause, then the 404 page comes up with http://linuxbasix.com/tiki-editpage.php?page=Minimal%20Debian in the address bar. ricks99: looks like your .htaccess is wrong. http://linuxbasix.com/Minimal+Debian should direct to http://linuxbasix.com/tiki-index.php?page=Minimal+Debian but doesn't <br> suggest checking that first, then definately upgrade to current 8.x jneusteter: i will look at my .htacess, see i can find the problem. thanks ricks99: should compare with the tiki htaccess CIA-36: tikiwiki: 03luciash * r41610 10/branches/9.x/templates/wiki-plugins/wikiplugin_appframe_mapcontrol.tpl: [FIX] src of the icon must be _id, not id + put on one line to avoid unwanted whitespacing amette: joined #tikiwiki benoitg: joined #tikiwiki benoitg1: joined #tikiwiki benoitg: joined #tikiwiki _qP: joined #tikiwiki marclaporte: joined #tikiwiki