[01:03] fabricius hi pedro_morgan what is hardcore? [01:22] pedro_morgan fabricius: yes [01:23] fabricius pedro_morgan: yes? [01:23] pedro_morgan ..I wrote and maintained the smarty manual.. ... and now 10 years later.. [01:23] fabricius ah [01:23] fabricius nice [01:23] fabricius at smarty.net? [01:23] pedro_morgan so it neat.. Its still a love of mine it le olde tiki wiki... [01:24] fabricius :) [01:24] fabricius coders seem to sleep now [01:24] fabricius what you need? [01:24] pedro_morgan yea no.. I remember making the smarty manual in cvs them days.. really... [01:25] pedro_morgan needs.. ummmmmmmmm [01:25] pedro_morgan suppose I dont want php anymore.. [01:26] pedro_morgan and I want to parse "data+stuff" in golang.. and an api [01:27] pedro_morgan MAaaain snaaaggsssssssssssss.. [01:27] pedro_morgan We written it in php and db schema/.. and me.. Well lets try it another way... [01:29] * pedro_morgan tikiwiki was working before md wa invented.. right !! .. lets fact check and big up la status... [01:31] fabricius aha [01:34] fabricius so pedro_morgan what do you want to discuss? Or just wanted to mention? [01:36] nelsonko_ joined #tikiwiki [01:38] fabricius i nelsonko [01:38] fabricius /s/i/hi [01:38] nelsonko hi [01:38] fabricius thought the devs would be sleeping ;-) [01:39] fabricius not so late in Canada I think [01:39] nelsonko not so, but I was going to leave soon, in bat 10 min, to take the train [01:39] nelsonko what's up? [01:40] fabricius nothing so far [01:41] fabricius I am trying to get a collapsible sidebar into layout_view.tpl with a bit of javascript [01:41] fabricius not so much running yet [01:41] fabricius toggle is not working [01:44] fabricius :) [01:46] nelsonko joined #tikiwiki [01:48] pedro_morgan joined #tikiwiki [02:14] pedro_morgan joined #tikiwiki [02:47] Gwayne joined #tikiwiki [02:47] Gwayne joined #tikiwiki [02:54] Jyhem_ joined #tikiwiki [02:57] Jyhem joined #tikiwiki [03:28] Gwayne joined #tikiwiki [05:26] panamaus joined #tikiwiki [05:53] Tiki|bot New Forum Posts: slideshow/coursel/slider plugin with fade option? - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814 [05:53] Tiki|bot New Forum Posts: Bootstrapping Best Practices - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813 [05:53] Tiki|bot New Forum Posts: Database upgrade from 13.1 to 14.0 fails with 'TikiDb_Exception' with message 'Unknown column 'pageSlug' in 'field list'' - https://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=56807 [06:03] Tiki|bot New Forum Posts: slideshow/coursel/slider plugin with fade option? - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814 [06:03] Tiki|bot New Forum Posts: Bootstrapping Best Practices - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813 [06:03] Tiki|bot New Forum Posts: Database upgrade from 13.1 to 14.0 fails with 'TikiDb_Exception' with message 'Unknown column 'pageSlug' in 'field list'' - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=56807 [06:58] Gwayne joined #tikiwiki [08:33] Tiki|bot New Forum Posts: slideshow/coursel/slider plugin with fade option? - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814 [08:33] Tiki|bot New Forum Posts: Bootstrapping Best Practices - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813 [08:33] Tiki|bot New Forum Posts: Database upgrade from 13.1 to 14.0 fails with 'TikiDb_Exception' with message 'Unknown column 'pageSlug' in 'field list'' - https://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=56807 [08:43] Tiki|bot New Forum Posts: slideshow/coursel/slider plugin with fade option? - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814 [08:43] Tiki|bot New Forum Posts: Bootstrapping Best Practices - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813 [08:43] Tiki|bot New Forum Posts: Database upgrade from 13.1 to 14.0 fails with 'TikiDb_Exception' with message 'Unknown column 'pageSlug' in 'field list'' - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=56807 [09:43] Tiki|bot New Forum Posts: slideshow/coursel/slider plugin with fade option? - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814 [09:43] Tiki|bot New Forum Posts: Bootstrapping Best Practices - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813 [09:43] Tiki|bot New Forum Posts: Database upgrade from 13.1 to 14.0 fails with 'TikiDb_Exception' with message 'Unknown column 'pageSlug' in 'field list'' - https://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=56807 [09:51] fabricius joined #tikiwiki [09:53] Tiki|bot New Forum Posts: slideshow/coursel/slider plugin with fade option? - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814 [09:53] Tiki|bot New Forum Posts: Bootstrapping Best Practices - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813 [09:53] Tiki|bot New Forum Posts: Database upgrade from 13.1 to 14.0 fails with 'TikiDb_Exception' with message 'Unknown column 'pageSlug' in 'field list'' - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=56807 [10:53] Tiki|bot New Forum Posts: slideshow/coursel/slider plugin with fade option? - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814 [10:53] Tiki|bot New Forum Posts: Bootstrapping Best Practices - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813 [10:53] Tiki|bot New Forum Posts: Database upgrade from 13.1 to 14.0 fails with 'TikiDb_Exception' with message 'Unknown column 'pageSlug' in 'field list'' - https://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=56807 [11:03] Tiki|bot New Forum Posts: slideshow/coursel/slider plugin with fade option? - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814 [11:03] Tiki|bot New Forum Posts: Bootstrapping Best Practices - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813 [11:03] Tiki|bot New Forum Posts: Database upgrade from 13.1 to 14.0 fails with 'TikiDb_Exception' with message 'Unknown column 'pageSlug' in 'field list'' - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=56807 [11:23] Tiki|bot New Forum Posts: slideshow/coursel/slider plugin with fade option? - https://suite.tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814 [11:23] Tiki|bot New Forum Posts: Bootstrapping Best Practices - https://suite.tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813 [11:23] Tiki|bot New Forum Posts: Database upgrade from 13.1 to 14.0 fails with 'TikiDb_Exception' with message 'Unknown column 'pageSlug' in 'field list'' - https://suite.tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=56807 [11:34] Tiki|bot New Forum Posts: slideshow/coursel/slider plugin with fade option? - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814 [11:34] Tiki|bot New Forum Posts: Bootstrapping Best Practices - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813 [11:34] Tiki|bot New Forum Posts: Database upgrade from 13.1 to 14.0 fails with 'TikiDb_Exception' with message 'Unknown column 'pageSlug' in 'field list'' - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=56807 [11:54] jonnyb joined #tikiwiki [11:54] jonnyb pompom [11:57] chibaguy joined #tikiwiki [11:58] Jyhem polom [11:58] jonnyb hi Jyhem and chibaguy [11:58] jonnyb and all :) [11:59] chibaguy hi jonnyb, Jyhem and all [12:04] * Jyhem hopes composer repo now works once and for years [12:05] Jyhem hi chiba :) [12:06] * Jyhem looks at wiki_timeout_warning [12:20] Telesight joined #tikiwiki [12:27] Gwayne joined #tikiwiki [12:33] fabricius bolow everybody [12:34] jonnyb hi fabricius [12:39] fabricius fighting my friend [12:40] fabricius I am creating a new theme and I try to get a sidebar with toggle functionality (saving status with cookie is the idea) [12:40] jonnyb hope that's in a positive way :) and winning (occasionally?) [12:41] fabricius I think a final win here would be very good [12:41] jonnyb yes, i tried that for a while on a 14.x site, but gave in after a while, not as easy is it should be [12:41] fabricius ohhh when even you give in, I have quite a project [12:41] fabricius my current problem is to at all make the toggle working [12:42] fabricius my idea is to use a javascript directly in the layout_view.tpl, as it is needed there [12:42] fabricius can I use jQuery there already, or is jQuery called later? [12:43] jonnyb jquery should be there ok [12:44] jonnyb the problem i found was that you need to mess with the col grid classes and the page was getting all messed up - i didn't try for long but it didn't seem to be a quick one [12:48] fabricius I might be nearby, but the toggle does not work [12:49] fabricius left is the toggle "button" 1% width and the #middle has 99% [12:58] fabricius the toggle should add/remove the class .use-sidebar to/from a #sidebar-wrapper [13:00] fabricius when .use-sidebar is in effect, the #middle has width=84% and the #sidebar width=15% [13:00] jonnyb probably (apparently) should use a class rather than an id for this sort of thing (i think chibaguy found) but i don't think that's enough becasue the rest of the page will have the wrong width i think [13:01] fabricius when not in effect the #middle has width=99% [13:01] fabricius the selector = #separator always has width=1% [13:01] fabricius humm class better? [13:01] fabricius I can try [13:02] fabricius when I manually add/remove the .use-sidebar class, it works - the problem seems to be the toggle function itself [13:03] fabricius and I am NOT a JS / JQ coder, so I fear that I make something wrong there [13:03] jonnyb is this yet another layout tpl? (i wouldn't do it that way myself, bad for maintenance imho) [13:06] fabricius It is a theme specific layout.tpl indeed [13:08] jonnyb the jquery commands you probably want would be $("#thingid").addClass("class-name") and $("#thingid").removeClass("class-name") [13:08] fabricius yes, I use these [13:08] jonnyb HTH, need to go do other stuff for a while, bbl - good luck [13:08] jonnyb :) [13:08] fabricius thx, c u later [13:10] fabricius Hah, I think I use in a different way - trying yours ... thx ! [13:10] chibaguy Hi fabricius. About your theme specific layout, is that file in templates/layouts/... or in themes/mytheme/templates/layouts/ ? [13:11] chibaguy I was wondering if the second way worked - I haven't tried. [13:12] fabricius Hi chibaguy: right now locally testing (just copied, pasted, tried, ended up ...) in themes/layout, but it should go to themes/mytheme/... [13:12] fabricius what do you think? [13:12] chibaguy Logically it should be in the theme's directory if it's theme-specific, but I don't know if that works for layout tpls. [13:14] fabricius yes, it worked previously [13:14] fabricius will check anyway soon [13:15] fabricius I mean, if you customise (your own site or customers site) it depends if you want a layout_view.tpl really only for a certain theme which it belongs to (using custom zones etc.) or if you want to have it "globally" for all themes available. [13:16] chibaguy I mean for using with only one theme. [13:17] chibaguy For example, I'm working on a "Tikipedia" theme update for Tiki 15. It may need a custom layout.tpl. [13:19] fabricius if this custom layout would not make sense for other themes, then it should go to themes/mythemes/templates [13:20] chibaguy Yes, but I haven't tested if layout templates work when they're in the theme's templates directory. [13:24] fabricius chibaguy: I just moved the file to themes and replaced it in templates with a standard classic template [13:25] fabricius still the custom layout applies (must be from the theme) - changing theme for a minute now to rcheck [13:32] chibaguy I wonder how look & feel admin would handle the case of a theme-specific layout file. The list of layouts comes from reading the templates/layouts directory, I believe. [13:38] fabricius chibaguy: I can now confirm, that it works. but you have to mind to clear tiki caches when you change to a theme that uses a theme specific custom layout [13:39] fabricius no matter what layout you have chosen in 'look and feel', if you have a custom layout_view.tpl in /themes/mytheme/templates, the custom template will apply once you choose this theme [13:39] chibaguy Ah, ok. [13:40] chibaguy That's good. [13:43] fabricius this is the idea of self-contained themes I guess - I can provide a theme with a sidebar, made in the custom layout_view.tpl without braking the other stuff and then design all for the specific stuff with less inside mytheme. [13:43] fabricius using custom module zones, the user must apply the custom zones in | look and feel | general | and then he can use them. pre-designed under the condition the user uses the same names as in my template (ex. zone sidebar or so ) [13:51] chibaguy ok [14:02] fabricius I just got phpstorm the other day, after getting the first basic enlightenment about LESS ... Both I find really cool, after few hours using [14:03] chibaguy That's good. Have you tried compiling Less files to CSS? [14:05] fabricius yes, I changed to only work with LESS and LESS variables and (very very nearly) do not touch CSS anmore [14:06] fabricius only for a quick test I copy/pasted a CSS in a LESS file to LESSify it later, when test work out or delete and do else, if test do not succeed [14:06] fabricius but theming without using LESS seems insane after the principle is understood [14:07] fabricius it is getting much more consistent straight away and changes a made much easier [14:07] fabricius still a lot to learn and best practices and personal style needed .. but really great - and phpstorm is a great help aswell [14:08] fabricius chibaguy: I try to toggle the sidebar by adding/removing a class to a div which has an id and a class ... it is not working, whilst when I add/remove manually the layout changes as it should. Do you think using an id as object for the add/remove is bad? [14:08] chibaguy Yeah, especially a project like Tiki with lots of CSS is a lot easier to maintain ‎with Less. [14:10] chibaguy I think the main thing about ids is to not use them for styling, because they are such strong selectors. For something like switching visibility, it's no problem to use ids, as far as I know. [14:15] Tiki|bot New Forum Posts: slideshow/coursel/slider plugin with fade option? - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814 [14:15] Tiki|bot New Forum Posts: Bootstrapping Best Practices - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813 [14:15] Tiki|bot New Forum Posts: Database upgrade from 13.1 to 14.0 fails with 'TikiDb_Exception' with message 'Unknown column 'pageSlug' in 'field list'' - https://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=56807 [14:18] fabricius chibaguy: do you know a bit about JS? I have a simple code and need to know, if it is about right AND where to put it into the file - It needs to work in the layout_view.tpl, as the #sidebar interacts with the #middle (narrowing the #middle when sidebar= active) [14:21] fabricius chibaguy: http://pastebin.com/Q2ViSgfR [14:22] jonnyb am here fabricius - looking... [14:23] fabricius wow, great - thought you have other stuff. But THX [14:23] chibaguy I don't know much javascript unfortunately (one of the things I want to learn), but doesn't it just need to be added in L&F customization for example? [14:23] fabricius good point chibaguy [14:24] chibaguy but I defer to the experts ;-) [14:25] fabricius chibaguy, would be nice, if jonnyb checks and confirms a correct code version and after that we discuss where to put it ... I guss the right code at the wrong place is slightly easier to solve than the wrongcode at the right place [14:25] Tiki|bot New Forum Posts: slideshow/coursel/slider plugin with fade option? - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814 [14:25] Tiki|bot New Forum Posts: Bootstrapping Best Practices - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813 [14:25] Tiki|bot New Forum Posts: Database upgrade from 13.1 to 14.0 fails with 'TikiDb_Exception' with message 'Unknown column 'pageSlug' in 'field list'' - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=56807 [14:25] fabricius /s/guss/guess [14:25] jonnyb you can add it in your layout.tpl in a {jq}blah blah {/jq} block if it's just for that one [14:25] fabricius layout_view.tpl ??? [14:26] fabricius inside the tag ? [14:26] fabricius not with