Tiki-KGB: tikiwiki [ENH] Add RSS category filters for articles
tikiwiki 03jyhem r45172 10branches/10.x/tiki-articles_rss.php
tikiwiki [ENH][bp/r45171] Add RSS category filters for articles Tiki|bot: New Forum Posts: unsubcribe - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=46305 kstingel: joined #tikiwiki
I've just created a "Tiki Themer" project (locally) where I'm playing around with Tiki's templates ... trying to get them using inheritance a bit more
I don't have the working files as part of a full-blown Tiki (yet) and Smarty is tripping over the {tr}some text{tr/} in my template(s) ... which files would I need to copy across to my project? luciash: hi kstingel, sounds cool
what inheritance u mean, tpls ? kstingel: so far I only have "layout.tpl" and "head.tpl" .. but smarty won't play nice with them
yup :) luciash: it is better to keep the tiki.tpl base html structure and inherit in it, imho... or you mean you just renamed tiki.tpl to layout.tpl ? kstingel: I'm attempting to separate core Tiki design from themable design, then create a heavily documented theme.tpl file which ppl can then modify luciash: in fact ideal would be if people do not need to modify tpl files at all when creating themes - all should be CSS theming only kstingel: I'm trying to clean it up completely, and move the PHP out of it ... I can't use them as they are for my ePublisher anyways luciash: unfortunately i do not know what files u need to copy... best is creating your theme and override by copy of tiki files in templates/styles/yourtheme/yourcustomized.tpl kstingel: at present, I'm going into cyclic loops trying to see what I need from where, so I've started over with just a simple html tpl and I'm porting "tiki.tpl" into it gradually
technically, we should be doing our ifs before assigning to Tiki, so I'm building a set of basic vars to use in tests Tiki-KGB: tikiwiki 03lindonb r45173 10third_party/jquery/tablesorter/ 10(151 files in 15 dirs)
tikiwiki [ENH] JQuery Tablesorter: Upgrade to new forked version 2.7.8. This commit deletes the old third-party files and adds the new ones. Further commits will follow to implement. kstingel: I'm slightly??? OCD .... I want my ePublisher to be able to publish articles, blog-posts and other stuff, not just wiki structure, so I need to "sanitise" the existing templates to create the ePub templates
... or rather, I need to pre-process all the ifs so that my new templates only assign the results luciash: have u seen themes.tiki.org/default+templates ? kstingel: I'm leaving the loops tho ... because I won't know how many items are to be published
language and translation stuff should be processed before going through to the tiki-epub.tpl file though, so that stuff can be handled outside of the template luciash: kstingel: also see https://dev.tiki.org/templates+best+practices
kstingel: it is a lot to learn though (a gentle warning ;)) kstingel: I looked at it ages ago, before Tiki made the switch to Smarty3 ... now I'm having fun trying to Smarty3ify the existing files and extend pages rather than having the full page code luciash: all right :) kstingel: lol ... I've been trying to smarty3ify Tiki for a while, but I kept getting drawn into to other aspects of Tiki goj_killedByISP: joined #tikiwiki Tiki-KGB: tikiwiki 03lindonb r45174 10trunk/ 10lib/core/Feed/ForwardLink/Search.php 10tiki-setup.php
tikiwiki [ENH] JQuery tablesorter: revise API within Tiki to reflect upgraded Tablesorter version 2.7.8
tikiwiki 03lindonb r45175 10trunk/lib/jquery_tiki/ 03tablesorter/style.css 04tablesorter/themes 03tablesorter/tablesorter-helper.php
tikiwiki [ENH] JQuery Tablesorter: update jquery_tiki/tablesorter to reflect new version 2.7.8 as well as new styling and an API.
tikiwiki 03lindonb r45176 10trunk/lib/wiki-plugins/wikiplugin_fancytable.php
tikiwiki [ENH] JQuery Tablesorter: update PluginFancytable for upgrade to 2.7.8 and revised API. kstingel: luciash: has Tiki's default layout changed much since Tiki 3.0? (the example image is slightly aged) luciash: kstingel: not much kstingel: I'll do a mockup of the Tiki 11.0 layout, then compare the two :)
my main dilemma is what goes where in the layout, and what will actually be needed in the ePublisher
once I sort that, I can reuse existing components and just direct the resultant data to the correct epub3 files Tiki-KGB: tikiwiki 03lindonb r45177 10trunk/ 10(41 files in 9 dirs)
tikiwiki [ENH] JQuery Tablesorter: update themes for upgrade to Tablesorter 2.7.8. Mostly odd/even styling, input[type="search"] and using white arrows for dark themes. luciash: enable TPL indication in rendered source if that helps
kstingel: ^ kstingel: I have that switched on :) but tracking where each module lives is the fun part ... then working out if I can publish said module to the current readers luciash: modules live only in the module zones kstingel: maybe Tiki will end up having a new ePub3 reader as a spin-off luciash: i would not care about modules for now ;) kstingel: apologies, wrong wording .. I need to source each 'printable' component
new spec allows for audio, video and svg, so I need to find where they are likely to live within the Tiki pages so that I can pull in the existing info luciash: new spec ? kstingel: to me, each div on the page is a 'module' which I may or may not be able to include in the book
ePub3 sopec (as opposed to the predominant ePub 2)
I'm trying to make the ePub builder forward compatible, so I'm including as much as I can from the start
then I either have to wait for readers to catch up, or develop my own ePub3 reader software luciash: whoa, great ambitions :) Tiki-KGB: tikiwiki 03lindonb r45178 04third_party/jquery/tablesorter/themes
tikiwiki [ENH] JQuery Tablesorter: some files from the old version didn't delete in r45173 luciash: u mean u researched and there is no usable 3rd party lib, right ? kstingel: not so much ambition, just very impatient ... if I can't find more than 1 reader for Windon't and 1 reader for Android (as is current case) I'll create my own
then sell it on Google Apps for $3.50 a pop devil
or maybe $5.00 if I include a library manager
... I still can't get Calibre for Droid working :(
bk in a bit ... Windon't needs a kick in the pants Tiki-KGB: tikiwiki 03lindonb r45179 10trunk/lib/jquery_tiki/tablesorter/style.css
tikiwiki [FIX] JQuery Tablesorter: fix styling on pagination buttons. Tiki|bot: New Forum Posts: JQuery Tablesorter Upgrade - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=46308 lindonb: left #tikiwiki fabricius: joined #tikiwiki fabricius1: joined #tikiwiki redflo: joined #tikiwiki vmachine: joined #tikiwiki rodrigoprimo: joined #tikiwiki vmachine: joined #tikiwiki fabricius: joined #tikiwiki Trebly: joined #tikiwiki pedor: joined #tikiwiki Trebly: <Anybody> Hi, Who uses Eclipse ? Then do you use "Juno" version ? Then do you know if there is an editor for Smarty TPL, the previous part of of the PDT env. is only available till "acceleo" ... Nikhar: joined #tikiwiki jonnyb: joined #tikiwiki
polomonday Tiki|bot: New Forum Posts: Dev tools : TPL editor in Eclipse ? - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=46315 luciash: yadnomoloq
*yabnomoloq jonnyb: hi luciash Tiki-KGB: tikiwiki 03jonnybradley r45180 10trunk/templates/browse_file_gallery.tpl
tikiwiki [FIX] filegals: Restrict thumbnail image height to container height so svg "icons" for unsupported file types don't overlap the titles. fabricius: joined #tikiwiki vmachine: left #tikiwiki luciash: yo jonnyb fabricius: joined #tikiwiki jonnyb: yo yo all :) Tiki-KGB: tikiwiki 03jonnybradley r45181 10trunk/lib/core/Services/File/FinderController.php
tikiwiki [FIX] elfinder: Seems the $parentIds array (needed to find which gallery each file is in) wasn't always getting passed through in the volume's accessControlData, so created it as a private field in FinderController (means file perms are now displayed properly) dhazel: joined #tikiwiki Tiki|bot: New Forum Posts: Tiki Wiki side by side translation - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=46318 jonnyb: Hi lphuberdeau - got a mo? I've run into the filegal perms issue again for userfiles i need to add to tracker File fields, not sure what to do - i need to add an exception for the owner of a user gallery (can upload etc), just wondering what the least ugly way of doing it might be? lphuberdeau: file upload should be handled by a service
which should already have some checking going on jonnyb: i found Perms_Check_Creator but can't see how to connect it to anything
so far i'm just trying to get the upload input to show up, but the same issue will apply to the backend lphuberdeau: nah, forget about that
it does not work and is not used jonnyb: ok (thought so) lphuberdeau: "owner" permissions are too specific to make it in the global permission checking rules jonnyb: ok, i managed to get it working in the "old" perms code (get_perm_object etc) so i could just do an exception if type=user
just will be some more to clean up when we modernise filegals... Tiki|bot: New Forum Posts: Tiki Wiki side by side translation (tested with 10.2svn on doc.t.o - also broken) - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=46325 luciash: btw, in 9.x I have realized the perms are all messed up regarding global ones vs category ones vs object ones - e.g. some are available only in the global scope - no way to assign to category or object or even worse sometimes even when they are available (mostly they are), they are not applied (clear cache and search rebuild tried of course) jonnyb: luciash: i think there was a fair bit of "tidying up" of perm scopes in 10.x - maybe needs backporting (if fixed)? lphuberdeau: backporting large changes like that in 9? you guys are mad luciash: nope, I will not get that mad ;)
also noticed sometimes there are perm checks using $perm.tiki_p_search vs $tiki_p_search... very messy code
i dunno which one is the right one btw :) lphuberdeau: I guess it depends on the case
some checks are global, some checks are local.. but generally, that's old code
I don't think that logic should go in templates luciash: it is not in templates iirc Tiki-KGB: tikiwiki 03lphuberdeau r45182 10trunk/ 10(7 files in 6 dirs)
tikiwiki [MOD] Moving the customsearch handling, which never had anything to do with trackers luciash: jonnyb: chck priv msg ;) dbalieiro: joined #tikiwiki Tiki-KGB: tikiwiki 03jonnybradley r45183 10trunk/lib/jquery_tiki/tiki-jquery.js
tikiwiki [FIX] validate: Don't try and show errors on inputs without a name or an id (like tracker Files search input)
tikiwiki 03jonnybradley r45184 10trunk/templates/trackerinput/files.tpl
tikiwiki [FIX] trackers files: fileId is in data.object_id in search results dbalieiro: joined #tikiwiki rodrigoprimo: joined #tikiwiki Tiki-KGB: tikiwiki 03jonnybradley r45185 10trunk/lib/core/ 10Tracker/Field/Files.php 10Services/File/Controller.php
tikiwiki [ENH] trackers files: Allow the user's userfiles gallery to be used for files - enter the "fgal_root_user_id" as the galleryId and the correct gallery for the current user will be calculated.
tikiwiki Also, patch the upload permissions tests to accommodate this.
tikiwiki 03lphuberdeau r45186 10trunk/lib/ 10wiki-plugins/wikiplugin_listexecute.php 10core/Search/Formatter/Builder.php 10wiki-plugins/wikiplugin_list.php 03core/Search/Formatter/AppendPagination.php
tikiwiki [MOD] Extracting some output logic from the list plugin arildb: joined #tikiwiki marclaporte: joined #tikiwiki rodrigoprimo: joined #tikiwiki arildb: joined #tikiwiki dbalieiro: joined #tikiwiki Telesight: joined #tikiwiki dbalieiro: joined #tikiwiki Tiki-KGB: tikiwiki 03lphuberdeau r45187 10trunk/lib/ 10core/Services/Search/CustomSearchController.php 10wiki-plugins/wikiplugin_customsearch.php
tikiwiki [MOD] Cleaning-up customsearch to avoid building the query in wiki plugins just to re-parse it, also avoid sending plugin portions through HTTP for security concerns -: jonnyb likes what lphuberdeau is doing today :) lphuberdeau: started a while back on that plugin
plenty of stuff to untangle arildb: joined #tikiwiki jonnyb: lphuberdeau: i know - saw that when moving it around a bit, but couldn't really see where to start untangling
i had a nightmare about the img plugin the other night... should tackle that one properly sometime :O lphuberdeau: well... that "metadata -> wiki syntax -> mangled wiki syntax -> metadata -> query" part, changed to "metadata -> query" felt natural ;) jonnyb: looking forward to playing with it
will i have to change my custom form tpl pages? (and can i have it as a proper tpl file one day please?)
i have 2 live projects using it on trunk at the moment lphuberdeau: I don't think templates will be affected jonnyb: coolio, i'll find out soon (one of them's on a cron svn up every hour) lphuberdeau: although I mostly tested with the template=table one, which is really just an alias jonnyb: for the output you mean i guess - won't this have changed the "mangled" search form template thing? lphuberdeau: well, there are two templates really
one for the form, one for the result
I did not do anything about the form
result handling moved around, but final behavior is untouched
except for that bit where it would do stuff for something on the generated wiki syntax jonnyb: ok, will test soon (still on 45186) lphuberdeau: seemed like "bug fixing", but that wiki syntax portion is gone, so nothing to fix Tiki-KGB: tikiwiki 03lphuberdeau r45188 10trunk/lib/ 10wiki-plugins/wikiplugin_listexecute.php 10core/Search/Formatter.php 10core/Search/Formatter/Builder.php 10wiki-plugins/wikiplugin_list.php
tikiwiki [MOD] Alternate output to be handled by formatter/builder lphuberdeau: if anything, it needs to be re-implemented in a different way, like understanding the form and building a proper query jonnyb: sounds good lphuberdeau: I think it all got a bit faster too! jonnyb: i have an idea on how to "automatically" generate the form from the tracker definition (one day)
would make it easier for non-coders to use lphuberdeau: I'm kind of heading that direction too
the reason I'm getting into all this is to handle saving search queries
trackers seem like a decent place jonnyb: interesting lphuberdeau: although I'm mostly thinking of having a tracker to store search queries rather than having customsearch populating the form based on a tracker definition, which is a valid use case, but way different arildb_: joined #tikiwiki jonnyb: btw, i managed to get the search form state saved on the url hash so the back button works using some extra custom js - seems to work and avoids saving in the session lphuberdeau: good
planning on adding that to trunk?
I was looking at all that earlier and thinking about killing it all
then decided to focus on something else to begin with jonnyb: yes, am hoping to lphuberdeau: way too much stuff going on in the session jonnyb: indeed lphuberdeau: did the js clean-up a couple weeks ago help? jonnyb: i think so, certainly didn't break anything kstingel: joined #tikiwiki arildb_: joined #tikiwiki kstingel: since styles/layout/layout.css is now a blank file ... would new themes still need it, or can they just use styles/lite/lite.css + styles/layout/design.css? Tiki|bot: Recent Bug: Tracker item: #4399 - - user tracker gets input also on registration error - http://dev.tiki.org/item4399 jonnyb: hi kstingel - is it? :O
so it is - missed that one kstingel: jonnyb: yup ... it was merged into design.css, old file was purposely left as empty css to overwrite existing on upgrade
I'm going through and building a fresh mockup of Tiki's schema, then planning to update the templates+best+practices page (a lot of it dates back to T3.0)
I'm also creating a "template" mockup ... so I can see where everything in tiki.tpl fits jonnyb: coo, well done, thanks! yes, it's mostly quite out of date Tiki-KGB: tikiwiki 03jonnybradley r45189 10trunk/lib/jquery_tiki/tiki-jquery.js
tikiwiki [FIX] service dialog: Wait for pending (server-side) validation requests to complete before validating and submitting the form kstingel: since you seem to be knowledgable on 'broader Tiki' ... is all content (ignoring modules for now) placed into #tiki-center? jonnyb: think there's a pile of nested divs there - #tiki-center is one of them i think kstingel: ... I'm trying to figure out which portion of a standard page I need to read into the ePub page - I don't need all the header, col2, col3, footer stuff for printed pages
there is a pile of nested Divs ... I'm also looking into whether or not some of them could be converted into <section>{block name=nest}blah{/block}</section> elements instead
most of our current templates (and themes) are still optimised for HTML4 ... at least from what I've read thus far
I may be off track here ... but since we have fivealive-lite.css ... rather than repeating all those settings in fivealive.css, wouldn't it make sense to import the lite version and expand on it? arildb_: joined #tikiwiki pedor: joined #tikiwiki luciash: jonnyb: by "can i have it as proper tpl file" you meant tplwiki=My+TPL+Wiki+Page param ? jonnyb: in custom search, yes luciash: kstingel: new themes do not have to use it
jonnyb: ah, in trackerlist only, ok jonnyb: i've found they can get quite complicated so would prefer a real file (syntax highlighting, source control etc) luciash: jonnyb: not in list plugin yet ? jonnyb: no, customsearch plugin
list plugins can use tpl files luciash: i see jonnyb: this is for the search form (input) luciash: tplwiki param is like wiki param but parsing is done only on smarty leve like with tpl files
*level pedor: joined #tikiwiki Tiki-KGB: tikiwiki 03jonnybradley r45190 10trunk/lib/jquery_tiki/tiki-jquery.js
tikiwiki [FIX] service dialog: Unbind previous submit handler (jq validate adds it's own one automatically, leading to duplicate items being created) arildb__: joined #tikiwiki arildb_: joined #tikiwiki CHIex: joined #tikiwiki jonnyb: left #tikiwiki Tiki|bot: New Forum Posts: Sort when using PluginSQL - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=46329