goj_killedByISP: joined #tikiwiki redflo: joined #tikiwiki jacmoe: joined #tikiwiki
joined #tikiwiki rodrigoprimo: joined #tikiwiki xavi: joined #tikiwiki
polom
anyone knows how to use data from a cell in a tiki spreadsheet into another tiki spreadsheet? (in 9x)
joined #tikiwiki El: joined #tikiwiki El_Presidente: joined #tikiwiki
Hi!
Anyone here who knows how to produce dynamic Tracker input?
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: El_Presidente: see http://doc.tiki.org/PluginJQ radek82: joined #tikiwiki xavi: this works for me in 6x
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):
tikiwiki: [MRG] Automatic merge, branches/9.x 41575 to 41607
tikiwiki: Conflict on lib/core/Services/Tracker/Controller.php merged manually jonnyb: joined #tikiwiki
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
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 ?
each call to add_jq_onready is added separately, you say ,
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
polom jonnyb: hi luciash luciash: need help with field regexp validation -: jonnyb ducks and covers luciash: i put [a-z0-9-] there
but it still allows ěščř
i want allow only ascii chars, no space, numbers and dash there
jonnyb: heheh
:D jonnyb: you could list them all
[abcde etc luciash: i tried [abcdefghijklmnopqrstuvwxyz0-9-]+ jonnyb: there might be a multibyte compile options somewhere
no joy?
(presumably) luciash: the problem is i do not know what syntax that field accepts jonnyb: which field? luciash: what regexp syntax
the validation regexp field
i choose regexp from the dropdown
and the next field is the validation field
when setting up the text field
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: El_Presidente: 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
:D
i hate "something clever" rodrigoprimo: joined #tikiwiki luciash: ok, going to struggle more
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
luciash: 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)
try a mail to the dev list?
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 :(
or i do not know what am i doing wrong :( jonnyb: luciash: check the ajax request in the browser - bet the param is getting urlencoded marclaporte: joined #tikiwiki amette_: joined #tikiwiki
joined #tikiwiki benoitg: joined #tikiwiki luciash: jonnyb: yes, you seem right, there is even more odd -: jonnyb finds that hard to believe luciash: :)
nope, really ;)
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
can the problem be that the field is page selector and not plain text input field ?
*input field
because what i am trying to achieve is to force users not to name pages other than a-z0-9-
when filling in the tracker item
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" :(
that is why i suspect, it sends always undefined and matches that against the valiadation parameter
that is why it was always passing jonnyb: maybe i can have a look tomorrow luciash: ignoring that i input the invalid characters
no, thank you, you do not have to fix it yourself, just trying to solve it collaboratively irc-ing here ;)
i will see if it is still present in 9.0
i suspect it was working only with text fields now
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
err, i mean the field value
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
than a bug
gotcha
input id="page_selector_15"
page_selector prefix is not supported there in Tiki 6
only area_ or ins_
which is the text field
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
maybe this will be only local fix for our Tiki 6 LTS then jonnyb: more tomorrow luciash: bbl
away bbl ricks99: joined #tikiwiki
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
joined #tikiwiki benoitg: joined #tikiwiki amette: joined #tikiwiki amette_: joined #tikiwiki jneusteter: joined #tikiwiki
I get a 404 error after I click save, and I have the SEFURL off. ricks99: click save from what?
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
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