tikiwiki: 03sept_7 * r36395 10/trunk/templates/prefs/shared-flags.tpl: [FIX] Smarty notices lots of them in admin panel Good morning fabricius.. does anyone know how to change the width of Tiki's textareas? good morning Merbster Merbster: you mean in the css file? Well problem is. that we cannot make the text area more narrow. because there's an inline style that defines it to be 1000-something pix. I had to do that recently, as I changed from fixed width 990px to 960px to get my firststeps of Tiki-960.gs experience hmm you are talking about a fluid width theme? if yes, then I think, you might just have to set col2 and col3 wider ... but I am actually not exactly getting what you need and why so just tell us more ;-) what theme you are using? a custom one But we paid someone to do it for us and they did a very poor job. ok Is it a fluid theme, or a fixed width? It seems they made it fixed width, and that is what is giving us trouble. because the text area box is too wide at almost 1200px. it's too far away from the actual product of your text. I'll have a look at my customisations and check the selectors could you have a look, wich selector(s) are causing this 1000+ inline width, pleas? e fabricius, well there are no selectors, since it's inline style that defines that width I even searched through all tikiwiki css files to see if there was a selector for that element, but nothing. fabricius, fabricius, i'm working with Merbster on this.. funny thing is that i've disabled almost all the css.. buth the fixed width of the edit text area remains :/ did you check the #fixed width selector (s) I'll paste you someselectors, that bringme to a nearly 960.gs style: body.fixed_width #fixedwidth { width: 960px; } #tiki-top .wrapper { width: 960px; } #header-top { width: 960px; } #fixedwidth[id] #c1c2 #wrapper { width: 940px; } #middle[id] { width: 940px; } #c1c2 #wrapper #col1.marginleft { margin-left: 190px; } #c1c2 #wrapper #col1.marginright { margin-right: 230px; } #c1c2 #col2 { width: 190px; overflow: visible; } #col3 { width: 230px; } I do not know where the guy who made your custom theme did define the width you want to change now -> some custom .tplname (for ex.in /templates/styles/yourtheme), or layout.css/lite.css (styles) - should not be changed in these files) or in the yourthemename.css (/styles) <- Merbster ans SJ-Jay fabricius, If you use IE and press F12 you get a development window where you can inspect the CSS Merbster: I do not have IE at all, because I use ubuntu, but chrome and firefox have such dev-windows aswell -- but I do not know the adress of your site, to be able to check my self (btw, I am not too experienced in css hacking - just strted a while ago) fabricius, we are making an intranet, so it's not publicly available :) Merbster: thought to remember that, so you need to sort out the selectors anyway and it doesn't matter if I have IE or not :-D fabricius, sorting out the selectors we allready did. We want the text area to be freely resizable by the user (like it is on dev.tiki.org) But we can only make ours wider (which is not needed since it fills the whole screen) - we want the use to make it smaller, but we're not allowed to make the text area smaller, because of other conflicting elements but we decided to postpone this We can "live with it" Merbster: OK - if you want me to have a look some day, you might quickly make an *empty* test-installation with this theme one day and me acess to that test-installation give fabricius, thanks. I will keep that in mind. Merbster: you got the pastebin? fabricius, I gave it a glance, I don't have time to look at it fully right now. But I will check it when I have time. ah cool - thx! polom any linux guru around? tikiwiki: 03jonnybradley * r36396 10/trunk/templates/list_file_gallery_content.tpl: [SVN] remove annoying merge info hi xavi - you're the linux guru i thought! :) in file galleries-... jonnyb: :-) (and hi) any linux-more-guru-than-me? (not that difficult) ;-) in tiki-admin.php?page=fgal, tab "search indexing", I see I can add handlers to search content within files uploaded to file gals. hi xavi I found this nice doc about it: http://doc.tiki.org/Search+within+files hi fabricius but I see that there is no info about openoffice.org (or libreoffice) applications and most of our documents in our tiki-based knowledge base at work at OOo based Jyhem: ^any tip? (probably it's too early to ask also to lphuberdeau or chealer, I guess) changi|morphee: ^ amette ^ tikiwiki: 03jonnybradley * r36397 10/trunk/ (8 files in 7 dirs): [ENH] connect: Continues - new class TikiConnect, refactor some code from the controller (more to do). Also, a send button, some logic for comms, embryonic test file, and much more to come. tikiwiki: 03jonnybradley * r36398 10/trunk/styles/jqui/options/haus.css: [ENH] jqui: New option "Haus" - even more monochrome with larger text (actually a Tiki 6 option, but seems to work on trunk ok) tikiwiki: 03jonnybradley * r36399 10/trunk/templates/tracker_validator.tpl: [FIX] trackers: Split validator JS so we only get one instance of process_submit() xavi, search in files is dependant on external programs that can actually parse the files right? - (in case you want to search docx, you need to find a parser for it?) hi Merbster yes, you are right for OOo files, odt2txt does the trick I updated the docs here: with OpenOffice it's probably not that bad. but all docx files... http://doc.tiki.org/Search+within+files Does this function only work with linux hosted tikiwikis? no idea tikiwiki: 03jonnybradley * r36400 10/trunk/styles/layout/layout.css: [FIX] layout.css: Rollback 36378 as categbar does exist (a lot), but add previously missing dot to define it as a class Merbster and Xavi - I am pretty sure, that it only works with Linux, cause the documentation is talking about linux commands (if I understand well) fabricius, it depends on how the code that calls the handlers expects the output from the parser to be and since the docs state that you must make the handler output directly to the terminal ok I am thinking "Does output to termnial on LInux and windows behave the same" bbl (lunch time) polom y'all hi ricks99 tikiwiki: 03jonnybradley * r36401 10/trunk/ (7 files in 5 dirs): [FIX] calendars: Add temporary pref to cope with calendar items from before Tiki 7 containing HTML (as in Tiki < 7 articles were parsed as is_html=true). fabricius: ^^^ yo ricks99 hiya jonnyb & Merbster http://pastebin.com/EFQgSQM7 <- can somebody tell me why there's an "if (true)" statement in there? jonnyb: ??? fabricius: fix for calendars coming to 7.x soon I would say there is no reason for if (true) lphuberdeau, I had a hard time figuring out why the consultant put it there too. :S tikiwiki: 03jonnybradley * r36402 10/branches/7.x/ (8 files in 4 dirs): [bp/r36401][FIX] calendars: Add temporary pref to cope with calendar items from before Tiki 7 containing HTML (as in Tiki < 7 articles were parsed as is_html=true). kind of strange code too looks odd even to me.... and i'm not a major coder makes me wonder if the guy had ever touched php before he's a CONSULTANT, Do I need to say more? :P he's a business process consultant gone wannabe coder :P I'm a consultant too ah, that's different ricks99, I just pulled out the while loop. not the entire function y, i realized that just using a while loop for that is strange polom all polom RobertPlummer (and all) good greif smarty 3 is slow! really? hadn't noticed a huge difference locally jonnyb, it takes up significantly more time in profiling than smarty 2 did hi lphuberdeau - i can believe that, but just hadn't really noticed any real-world sudden slowdown, i expect we will when deploying it "out there" well, it's going to increase CPU usage by about 20% well, that's what smarty's for isn't it? ;) jonnyb, are there better alternatives than smarty? lol, switching away from smarty is impossible not for us sadly, i fear I honestly don't understand why we use smarty for things like rendering tracker fields. I mean I know "why" we are using, but from en efficiency standpoint it is very sad. smarty is not always inefficient For what we are using it for it seems that it is. For instance, to render a text field... Isn't text... text? thx jonnyb - is the calendar fix already in demo/7.x - then I would test right now ;-) I think yes - if you meant that with having backported fabricius: probably not, just in svn so far (demo/7x would need updating i think) but I do not know, how often demo is updated RobertPlummer, there is no template for text check your facts lphuberdeau: it tries to load one. no it does not lphuberdeau: cachegrind says something different. only for the history text field loads a tpl EVERY time a tracker text field is rendered. know this for a fact. it would for a popup, which is complex enough to deserve a template on output or input? output I have not tested input. input can be inefficient, you aren't rendering thousands of values at a time. tell me the code path that leads to text using a template lphuberdeau: is input rendering by default? It must be input that is being rendered. lphuberdeau: it is line 77 in text.php, which is input. for input it's fine tikiwiki: 03lphuberdeau * r36403 10/trunk/templates/tiki-user_cssmenu.tpl: [ENH] Removing the capture block which gives a little speed boost (template rendering usage down from 20% to 4%) what you could question is that tiki renders the form every time the item is displayed either way, at this point with smarty 3 it is nearly unusable. that's an exageration lphuberdeau: all use cases are different. lphuberdeau: just another excuse to make it faster I just don't think the tool is always to blame, in many cases, the usage is wrong just now, I noticed something quite nice, removing capture blocks speeds up smarty lphuberdeau: I should clarify that I'm using tracker query lib with rendered output, and that trackers seems to be still pretty speedy. lphuberdeau: The use case is that I'm loading tracker data into charts, and it is just super slow. lphuberdeau: All I want to do is list tracker data between dates, seems easy enough, but is sadly not with any efficiency. are you sure the query part is not the problem? lphuberdeau: the query part uses like 1% resources, and when I turn rendering off, it is lightning fast. are you extracting more data than you need? lphuberdeau: :) yes and no rendering data that will not be displayed can't really help tikiwiki: 03lphuberdeau * r36404 10/trunk/templates/tiki-show_page.tpl: [FIX] Removing an other capture block, smarty 3 on a normal page load is now close to the smarty 2 levels I think the main issue is that smarty 3 does not handle {capture} too well skipping those is an instant speed-up Does anybody know, when demo is updated (esp. 7.x) -> daily? when marc does it fabricius: did we never get you running a tiki from svn? tikiwiki: 03lphuberdeau * r36405 10/trunk/ (4 files in 3 dirs): [FIX] Removing some more capture blocks jonnyb: problem is, that my provider has *no svn installed* jonnyb: sad, isn't it? ah, shame, yes you should set-up a local tiki for yourself otherwise, I would've running a proposals or a branches or a trunk myself lphuberdeau: can I run that with svn then? should be possible lphuberdeau tikiwiki: 03lphuberdeau * r36406 10/trunk/ (2 files in 2 dirs): [FIX] Removing more capture blocks tikiwiki: 03lphuberdeau * r36408 10/trunk/ (4 files in 4 dirs): [MOD] Limit the amount of results that will be extracted and cached polom hi chealer hi rodrigo_sampaio moloq polom chealer Hi. Is there a "spoilers" plugin for wiki? Something that can collapse and expand a bunch of text when clicked on? polom hi all - ricks99: earthquake? rocked the USA east coast: http://bit.ly/n0gyH4 horky: yes - i tihnk it's called fade hi ricks99. any damage for you? nothing essential it seems, Internet still working? :-) no damage by me. sounded/felt like a large truck driving by my house. lots of folks having issues with at&t not being able to connect cell calls. but that's nothing new and probably not related to the earthquate. :-) hahaha power didnt even blink for me at all. a real non-event but highly unusual for the east coast jonnyb: Thanks! ricks99: magnitude ? ricks99: that's pretty cool. assuming no nuclear meltdown is going on :-S 5.9 i think. honestly, we're more concerned about hurricane irene this wkened. @chealer: remember, it wasnt the earthquate that caused the meltdown in japan.. it was the failure (due to sea water) of the diesel backups New Forum Posts: Plugin for collapsing/expanding a block of text on mouse click? - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=42087 ^ my post, was impatient. *hums* thanks again ricks99: right. well if you don't have a tsunami, happy hurricane preparations. I hope it won't be as bad as the one a few months ago rodrigo_sampaio: i think for unused string for menu, we can add get_string comment like i do in some files tikiwiki: 03mlustenberg * r36409 10/trunk/ (4 files in 4 dirs): [ENH] wysiwyg_htmltowiki work in progress: tiki-admin_toolbars integration the last natural "disaster" that hit here must have been a meaningless earthquake 10 years ago changi: but is not menu content site specific? rodrigo_sampaio: i talk about menu42 :) rodrigo_sampaio: the global one changi: huh... I see :) changi: but menu42 options are manually added to language.php files? I think this is unlikely but I don't the proccess rodrigo_sampaio: i don't think they are manually added changi: so you know how they are added to language.php files? if they are not manually added they are probably not marked as unused strings, right? tikiwiki: 03jonnybradley * r36410 10/trunk/ (9 files in 9 dirs): [ENH] connect: Storage for data, moved js to a separate file, some refactoring and renaming rodrigo_sampaio: oh sorry, for now they were added manually, and to put them out of unused string, i added some comment in destination file to get them automatically added rodrigo_sampaio: like in tiki-send_objects.php rodrigo_sampaio: you can see //get_strings tra("Send Pages"); changi: but this is the case for every menu option in menu 42? changi: I mean if you create a new option in menu 42 you have to add //get_strings tra(optionName)? otherwise it won't be translatable? rodrigo_sampaio: yes changi: ok, thanks for the information rodrigo_sampaio: category names should go to custom.php, yes changi: maybe we should think of a better way to handle this rodrigo_sampaio: maybe get_strings can make a sql query to get all default option and add it in language.php chealer: i have another idea for category :) changi: but just to understand if all the options in menu42 are declared somewhere with //get_strings... by removing unused words from language.php we are not removing them right? chealer: but i need to take some time to explain it in a wiki page or on an email rodrigo_sampaio: yes, if they all are declared, i don't know if it's the case changi: ok changi: good rodrigo_sampaio: I agree with the way to handle mods chealer: good :) rodrigo_sampaio: me too bbl tikiwiki: 03changi67 * r36411 10/trunk/lib/smarty_tiki/ (24 files): No changes - Indent + header for phpdoc tikiwiki: 03changi67 * r36412 10/trunk/lib/core/TikiConnect.php: [ENH] Duplicate variable tikiwiki: 03changi67 * r36413 10/trunk/lib/core/TikiConnect.php: Opening brace of a class has to be on the line after the definition for standardization jonnyb: sorry for the 2 last commit :) New Forum Posts: Changing body font in Milkyway theme. - http://tiki.org/tiki-view_forum_thread.php?forumId=14&comments_parentId=42088 jonnyb: bad habit #1 was fair enough, #2 i'm not convinced about (but don't care much really) ;) The fade plugin can't display {CODE} stuff :( hi horky again - that's dull how about a show/hide heading? How? !- for a closed section !+ for an open on (in wiki syntax) I'll go look. Maybe something's wrong with how I wrote the fade thing... http://pastebin.com/tdXxsMhs horky: looks ok nesting plugins is wobbly polom hi luciash hi jonnyb horky: it's working for me hi luciash strange hi jonnyb. the shared-flags notices were everywhere, for example tiki-admin.php?page=profiles "Type: Undefined index: plugin" horky: which version are you using ? hmm, oh right - smarty notices of course! (oops) salut changi changi: 7.1 Electra, I've tried it in 4 different browsers and I get the same result as in the screenshot on that pastebin chealer: i see them - better to fix them in the php i think horky: ok, it's working in trunk jonnyb: I don't see the breakage you talk about. could you specify the problem? all the icons on the prefs seem to be on for me - undo, warning etc jonnyb: you can check http://ido.ath.cx:8080/tiki/trunk/tiki-admin.php?page=features for my local trunk jonnyb: they're not here. for example undo only appears on some horky: working on 7.1 too Very weird! I must be doing something wrong then. i just copy/paste your code If it works on your 7.1 it should on mine too... chealer: did you roll back r36395? (seems you have all the smarty notices) tikiwiki: 03changi67 * r36414 10/trunk/lang/fr/language.php: [TRA] Missing space Progress. I've added a caption to the code plugin, and I see it. But still no code. jonnyb: yes, I rolled it back to show the notices and that icons are working nevertheless jonnyb: shared-flags is on r36394 jonnyb: oops jonnyb: sorry, icons are broken here too. thanks is ok, have a fix coming thx for checking horky: could you try using the plugin helper ? (shared-flags is on r36395 changi: Same result. I see the code's caption, and then what it seems to be a 1 px by 1 px div. tikiwiki: 03jonnybradley * r36415 10/trunk/ (lib/prefslib.php templates/prefs/shared-flags.tpl): tikiwiki: [FIX] Smarty notices lots of them in admin panel tikiwiki: Revert r36395 and redo in php by adding new pref attributes to defaults If I view the page's source, the code is there. Maybe it's a theme css issue. I'll try to change themes. changi: what theme are you using? jonnyb: thanks, that's good horky: JQUI horky: and you horky: ? I've tried both tikinewt and fivealive and got same results... only displays code's caption div. Same for jqui, I give up. I'll use !- tikiwiki: 03changi67 * r36416 10/trunk/lib/smarty_tiki/ (7 files): [user:changi:codecleaning] Unused variables sleeping time, see ya n8 changi Well I didn't give up. I took the html source, saved it as a separate html and opened it. Showed no code. Removed