pedro_morgan: fabricius: yes fabricius: pedro_morgan: yes? pedro_morgan: ..I wrote and maintained the smarty manual.. ... and now 10 years later.. fabricius: ah
nice
at smarty.net? pedro_morgan: so it neat.. Its still a love of mine it le olde tiki wiki... fabricius: :)
coders seem to sleep now
what you need? pedro_morgan: yea no.. I remember making the smarty manual in cvs them days.. really...
needs.. ummmmmmmmm
suppose I dont want php anymore..
and I want to parse "data+stuff" in golang.. and an api
MAaaain snaaaggsssssssssssss..
We written it in php and db schema/.. and me.. Well lets try it another way... -: pedro_morgan tikiwiki was working before md wa invented.. right !! .. lets fact check and big up la status... fabricius: aha
so pedro_morgan what do you want to discuss? Or just wanted to mention? nelsonko_: joined #tikiwiki fabricius: i nelsonko
/s/i/hi nelsonko: hi fabricius: thought the devs would be sleeping ;-)
not so late in Canada I think nelsonko: not so, but I was going to leave soon, in bat 10 min, to take the train
what's up? fabricius: nothing so far
I am trying to get a collapsible sidebar into layout_view.tpl with a bit of javascript
not so much running yet
toggle is not working
:) nelsonko: joined #tikiwiki pedro_morgan: joined #tikiwiki
joined #tikiwiki Gwayne: joined #tikiwiki
joined #tikiwiki Jyhem_: joined #tikiwiki Jyhem: joined #tikiwiki Gwayne: joined #tikiwiki panamaus: joined #tikiwiki 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
New Forum Posts: Bootstrapping Best Practices - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813
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
New Forum Posts: slideshow/coursel/slider plugin with fade option? - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814
New Forum Posts: Bootstrapping Best Practices - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813
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 Gwayne: joined #tikiwiki 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
New Forum Posts: Bootstrapping Best Practices - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813
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
New Forum Posts: slideshow/coursel/slider plugin with fade option? - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814
New Forum Posts: Bootstrapping Best Practices - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813
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
New Forum Posts: slideshow/coursel/slider plugin with fade option? - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814
New Forum Posts: Bootstrapping Best Practices - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813
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 fabricius: joined #tikiwiki 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
New Forum Posts: Bootstrapping Best Practices - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813
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
New Forum Posts: slideshow/coursel/slider plugin with fade option? - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814
New Forum Posts: Bootstrapping Best Practices - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813
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
New Forum Posts: slideshow/coursel/slider plugin with fade option? - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814
New Forum Posts: Bootstrapping Best Practices - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813
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
New Forum Posts: slideshow/coursel/slider plugin with fade option? - https://suite.tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814
New Forum Posts: Bootstrapping Best Practices - https://suite.tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813
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
New Forum Posts: slideshow/coursel/slider plugin with fade option? - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814
New Forum Posts: Bootstrapping Best Practices - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813
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 jonnyb: joined #tikiwiki
pompom chibaguy: joined #tikiwiki Jyhem: polom jonnyb: hi Jyhem and chibaguy
and all :) chibaguy: hi jonnyb, Jyhem and all -: Jyhem hopes composer repo now works once and for years Jyhem: hi chiba :) -: Jyhem looks at wiki_timeout_warning Telesight: joined #tikiwiki Gwayne: joined #tikiwiki fabricius: bolow everybody jonnyb: hi fabricius fabricius: fighting my friend
I am creating a new theme and I try to get a sidebar with toggle functionality (saving status with cookie is the idea) jonnyb: hope that's in a positive way :) and winning (occasionally?) fabricius: I think a final win here would be very good 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 fabricius: ohhh when even you give in, I have quite a project
my current problem is to at all make the toggle working
my idea is to use a javascript directly in the layout_view.tpl, as it is needed there
can I use jQuery there already, or is jQuery called later? jonnyb: jquery should be there ok
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 fabricius: I might be nearby, but the toggle does not work
left is the toggle "button" 1% width and the #middle has 99%
the toggle should add/remove the class .use-sidebar to/from a #sidebar-wrapper
when .use-sidebar is in effect, the #middle has width=84% and the #sidebar width=15% 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 fabricius: when not in effect the #middle has width=99%
the selector = #separator always has width=1%
humm class better?
I can try
when I manually add/remove the .use-sidebar class, it works - the problem seems to be the toggle function itself
and I am NOT a JS / JQ coder, so I fear that I make something wrong there jonnyb: is this yet another layout tpl? (i wouldn't do it that way myself, bad for maintenance imho) fabricius: It is a theme specific layout.tpl indeed jonnyb: the jquery commands you probably want would be $("#thingid").addClass("class-name") and $("#thingid").removeClass("class-name") fabricius: yes, I use these jonnyb: HTH, need to go do other stuff for a while, bbl - good luck
:) fabricius: thx, c u later
Hah, I think I use in a different way - trying yours ... thx ! chibaguy: Hi fabricius. About your theme specific layout, is that file in templates/layouts/... or in themes/mytheme/templates/layouts/ ?
I was wondering if the second way worked - I haven't tried. fabricius: Hi chibaguy: right now locally testing (just copied, pasted, tried, ended up ...) in themes/layout, but it should go to themes/mytheme/...
what do you think? 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. fabricius: yes, it worked previously
will check anyway soon
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. chibaguy: I mean for using with only one theme.
For example, I'm working on a "Tikipedia" theme update for Tiki 15. It may need a custom layout.tpl. fabricius: if this custom layout would not make sense for other themes, then it should go to themes/mythemes/templates chibaguy: Yes, but I haven't tested if layout templates work when they're in the theme's templates directory. fabricius: chibaguy: I just moved the file to themes and replaced it in templates with a standard classic template
still the custom layout applies (must be from the theme) - changing theme for a minute now to rcheck 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. 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
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 chibaguy: Ah, ok.
That's good. 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.
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 ) chibaguy: ok 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 chibaguy: That's good. Have you tried compiling Less files to CSS? fabricius: yes, I changed to only work with LESS and LESS variables and (very very nearly) do not touch CSS anmore
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
but theming without using LESS seems insane after the principle is understood
it is getting much more consistent straight away and changes a made much easier
still a lot to learn and best practices and personal style needed .. but really great - and phpstorm is a great help aswell
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? chibaguy: Yeah, especially a project like Tiki with lots of CSS is a lot easier to maintain ‎with Less.
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. 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
New Forum Posts: Bootstrapping Best Practices - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813
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 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)
chibaguy: http://pastebin.com/Q2ViSgfR jonnyb: am here fabricius - looking... fabricius: wow, great - thought you have other stuff. But THX 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? fabricius: good point chibaguy chibaguy: but I defer to the experts ;-) 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 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
New Forum Posts: Bootstrapping Best Practices - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813
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 fabricius: /s/guss/guess jonnyb: you can add it in your layout.tpl in a {jq}blah blah {/jq} block if it's just for that one fabricius: layout_view.tpl ???
inside the <body> tag ?
not with <script> bla bla </scipt>, which might be the initial fault ? jonnyb: doesn't really matter where, headerlib will add it at the end of body for you
no, {jq} is better, makes it happen on document.ready and {tr} works as expected, various other goodies
also use setCookie() and getCookie(), it's easier (tiki functions) fabricius: so I have it now <body> blabla {jq} code blabla {/jq} ... not working still
ok, set and get Cookie jonnyb: i would say this is a really bed thing to learn javascript coding on, it's far from trivial as i said
leave out the cookie stuff for now
also you can use $("#thing").show() and hide() if it's just doing display:none
ok, sorry - got to go again, bbl again :) fabricius: thx, bye -: jonnyb waves msaad: joined #tikiwiki 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
New Forum Posts: Bootstrapping Best Practices - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813
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
New Forum Posts: slideshow/coursel/slider plugin with fade option? - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814
New Forum Posts: Bootstrapping Best Practices - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813
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 Emenems: joined #tikiwiki lhtseng: joined #tikiwiki chibaguy_: joined #tikiwiki fabricius: joined #tikiwiki gezza: joined #tikiwiki chibaguy: joined #tikiwiki fabricius: joined #tikiwiki jonnyb: joined #tikiwiki
repolom
Does anyone know why the commit-bot (Tiki-KGB i think) has packed up? The RSS feed sems to work and be up to date https://sourceforge.net/p/tikiwiki/code/feed Jyhem: no idea, I understand it's not running on community servers.
I seem to remember it is a contribution from Caarrie|away (not sure) jonnyb: hi Jyhem - managed to document my satis investigations here at last https://tiki.org/blogpost616-JB-has-a-go-at-installing-Satis-locally so we can refer to it next time when we've forgotten how it all works! :) 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
New Forum Posts: Bootstrapping Best Practices - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813
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
New Forum Posts: slideshow/coursel/slider plugin with fade option? - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814
New Forum Posts: Bootstrapping Best Practices - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813
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 Jyhem: Thanks jonnyb ! interesting stuff about -vvv jonnyb: thought it might come in handy
it's a symfony console thing, so i think applies to all the console.php commands too Jyhem: I mailed the examples I was using during TikiFestCEST about blog posts garbling :-(
I've seen it before symfony, but like all standards, people follow them, or follow others :) jonnyb: indeed ;) Jyhem: or invent new, better ones :-D chibaguy: What is the point of admin page titles being anchors? I understand wiki page titles are anchors in order to refresh the page (I guess that's a wiki convention). But why admin page titles? jonnyb: just convention i guess chibaguy - i quite like it being consistent chibaguy: How do other web pages around the internet manage without click-to-refresh page titles?
sorry, being a little sarcastic.
Anyway, at least the class on the anchor should be consistent. We have both h1.pagetitle a.pagetitle and h1.pagetitle a.pagetitle-link. jonnyb: :) i must say in a few app i've missed that "feature", cos quite often you want to go to the page again without reloading with the same request
i'd have thought "h1.pagetitle a" should be enough? Jyhem: chibaguy: we also have this special feature of highlighting searched words in pages linked from search results. Clicking on the title is the only way of having the clean page show up chibaguy: Good points.
Yes, I was thinking about simplifying to h1.pagetitle a.
I've had people at times ask me to hide the fact that these are links (no underline; no curser change, etc.) as they thought it confused things.
But I think their users were more at home in simple environments. jonnyb: food time, then out, see you all tomorrow ko3t: joined #tikiwiki 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
New Forum Posts: Bootstrapping Best Practices - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813
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 ko3t_: joined #tikiwiki 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
New Forum Posts: Bootstrapping Best Practices - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813
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
New Forum Posts: slideshow/coursel/slider plugin with fade option? - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814
New Forum Posts: Bootstrapping Best Practices - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813
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
New Forum Posts: slideshow/coursel/slider plugin with fade option? - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814
New Forum Posts: Bootstrapping Best Practices - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813
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
New Forum Posts: slideshow/coursel/slider plugin with fade option? - https://suite.tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56814
New Forum Posts: Bootstrapping Best Practices - https://suite.tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813
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 fabricius: joined #tikiwiki 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
New Forum Posts: Bootstrapping Best Practices - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=56813
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