[01:40] GillesMM joined #tikiwiki [02:58] Gwayne joined #tikiwiki [03:08] fabricius1 joined #tikiwiki [03:08] Jyhem_laptop joined #tikiwiki [03:08] Jyhem_ joined #tikiwiki [04:49] fabricius joined #tikiwiki [05:12] fabricius joined #tikiwiki [08:28] xavi joined #tikiwiki [08:28] xavi polom [08:29] * xavi loooong time with no visit to this channel [08:29] xavi any css master around? [08:31] xavi a client wants some color in the tracker item status button shown in mobile mode (12.x), and I don't know how to add a property to a span element with specific text inside. Maybe some jquery trick instead? [08:32] xavi open [08:33] xavi how can I show the "open" label with some bg color? [08:33] xavi or with the corresponding green round icon in the label once the item is selected, as shown in the option at the dropdown level? [08:33] xavi Jyhem_ or Jyhem_laptop maybe know some jquery trick? [08:37] xavi wow, this might answer my question (paste url here for the record): http://stackoverflow.com/questions/9424417/how-do-i-select-a-span-containing-a-specific-text-value-using-jquery [09:27] Tiki|bot New Forum Posts: Import HTML parsed pages into the wiki - http://suite.tiki.org/tiki-view_forum_thread.php?forumId=3&comments_parentId=57075 [09:27] Tiki|bot New Forum Posts: LDAP tab is blank. - http://suite.tiki.org/tiki-view_forum_thread.php?forumId=17&comments_parentId=57073 [09:27] Tiki|bot New Forum Posts: SVN Plugin - http://suite.tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=57070 [09:37] Tiki|bot New Forum Posts: Import HTML parsed pages into the wiki - http://tiki.org/tiki-view_forum_thread.php?forumId=3&comments_parentId=57075 [09:37] Tiki|bot New Forum Posts: LDAP tab is blank. - http://tiki.org/tiki-view_forum_thread.php?forumId=17&comments_parentId=57073 [09:37] Tiki|bot New Forum Posts: SVN Plugin - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=57070 [09:44] Jyhem hi xavi [09:46] Jyhem A CSS solution (if it exists) would probably be "the right way"… But everything wrong can be hidden and fixed in jQuery :-) [09:47] xavi :-D [09:47] Jyhem I'd try stuff like : [09:47] xavi thks for sharing your wisdom, Jyhem ;-) [09:47] Jyhem lol [09:48] xavi I managed with standard fields... but not with tracker field status [09:48] xavi I dunno why [09:48] xavi I'll reproduce at some show.t.o instance... [09:49] Jyhem $('span.ui-btn-text span').each(function(){ [09:49] Jyhem if ($(this).text() == ' Open ') { [09:49] Jyhem $(this).css({'color': 'green'}); [09:49] Jyhem //alert('ok'); [09:49] Jyhem } [09:49] Jyhem }) [09:49] Jyhem Maybe you need to play withthe exact span content. There seems to be extra spaces left & right [09:50] xavi yep, I already noticed that [09:52] xavi got it! [09:52] xavi the trick seemed to be (for me): [09:53] xavi $("span").filter(function() { return ($(this).text().indexOf('Open') > -1) }).css('background-color','lightgreen'); [09:54] xavi trick was "indexOf" >-1, since it allows a match anywhere, even if not exact-string match [09:55] Jyhem but aren't afraid of matching other unrelated spans which happen to contain "Open" ? [09:55] xavi in fact, the string is not "Open" or "Closed" anymore, since the client wanted another longer string with spaces in it, etc. ('Open' became something like 'complete - pending validation (open item)') [09:56] xavi I'll refine the string to be matched against, just in case (thanks for the advice) [09:56] Jyhem ohhh, wrong matches are not such a concern suddenly :-) [09:57] Jyhem you can also restrict the field with $('span.ui-btn-text span') [09:57] Jyhem instead of looking up all spans in the page [10:02] xavi ok, thnks for tip :-) [10:53] redflo joined #tikiwiki [11:02] xavi Jyhem , another css question.... [11:02] xavi how can I add some color to the status option selected, in non-mobile mode? [11:03] xavi I managed in mobile mode, but not in standard non-mobile (12.x) [11:03] Emenems Dear Tikiwiki [11:03] Emenems Hello :) [11:03] Emenems Question number 54034 : Are the Permanent Names unique or not ? https://doc.tiki.org/Permanent+Names [11:03] Emenems in Trackers. [11:03] Emenems :-) [11:04] xavi Hi Emenems, no necessarily, Use at your own discretion for your own needs [11:05] Emenems ok :-/ [11:05] xavi they can be not unique (in purpose, for some use cases, it seems) [11:05] xavi in all my sites, I use them as unique identifiers (and I ensure that I have there unique names, if I write them by hand, etc) [11:06] Emenems xavi, can i change the name after items have been inserted ? or better not ? [11:06] xavi I guess yes, as far as you reindex your search index after wards. Permanent names are for fields, not for records [11:06] xavi afaik [11:07] xavi but you'd better do some testing in your localhost first, just in case [11:07] Emenems hum ok. [11:07] * xavi not expert in permanent names [11:08] Emenems xavi it's ok. actually, i have a tracker linked to another tracker and... yesterday it was working :-) and today, the "list" is empty... [11:08] Emenems So.. i'm searching what could have change [11:08] xavi reindex the search index, just in case [11:09] Emenems go. [11:10] Emenems ok. [11:10] Emenems xavi, ok :-) it works :-) [11:10] xavi nice :-) [11:11] Emenems you know... sometimes tiki is like.. it's having it's own life, and i don't understand :-) [11:11] xavi tip: add a cron job to get your index re-made with some frequency (once a day at least?) [11:15] Emenems thx.. [11:58] xavi Jyhem still around? [11:59] xavi another request from a client (for long custom forms) is to have PluginTabs display the tab labels at the top AND at the bottom... [11:59] xavi maybe luciash knows how to tweak that also? [12:17] Tiki|bot New Forum Posts: Plugin Remarks Box parameters - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=57080 [12:30] xavi mmm, it seems it's not that easy (after googling a bit) [12:52] fabricius joined #tikiwiki [14:41] xavi left #tikiwiki [14:50] jossy joined #tikiwiki [14:51] jossy hello all [14:52] jossy pls am trying to login to tiki demo site with username admin and password 12345 but not working [14:53] jossy i got this error;More than 20 unsuccessful login attempts have been made. An email has been sent to you with the instructions to follow. [15:24] olinuxx joined #tikiwiki [16:38] xavi2 joined #tikiwiki [16:39] xavi2 left #tikiwiki [16:39] xavi2 joined #tikiwiki [16:40] xavi2 left #tikiwiki [16:40] xavi2 joined #tikiwiki [16:40] xavi2 left #tikiwiki [16:41] xavi joined #tikiwiki [16:42] xavi for the record, info after jossy's message a couple of hours ago. I confirm that demo.t.o/14.x/ has an unclear login procedure, and it should be reset (I dunno why) [16:42] xavi demo.t.o/12.x/ and demo.t.o/13.x/ still have the expected login credentials for user admin [16:43] xavi cheers [16:43] xavi left #tikiwiki [18:31] Telesight joined #tikiwiki [20:08] Tiki|bot New Forum Posts: Contents Box on Pages - http://tiki.org/tiki-view_forum_thread.php?forumId=14&comments_parentId=57084 [20:38] Tiki|bot New Forum Posts: Contents Box on Pages - https://tiki.org/tiki-view_forum_thread.php?forumId=14&comments_parentId=57084 [20:38] Tiki|bot New Forum Posts: Plugin Remarks Box parameters - https://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=57080 [20:38] Tiki|bot New Forum Posts: Import HTML parsed pages into the wiki - https://tiki.org/tiki-view_forum_thread.php?forumId=3&comments_parentId=57075 [20:43] fabricius joined #tikiwiki [20:48] Tiki|bot New Forum Posts: Contents Box on Pages - http://tiki.org/tiki-view_forum_thread.php?forumId=14&comments_parentId=57084 [20:48] Tiki|bot New Forum Posts: Plugin Remarks Box parameters - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=57080 [20:48] Tiki|bot New Forum Posts: Import HTML parsed pages into the wiki - http://tiki.org/tiki-view_forum_thread.php?forumId=3&comments_parentId=57075 [21:59] fabricius1 joined #tikiwiki [23:56] fabricius joined #tikiwiki