sometimes I hate tw - there is a lib/smarty_tiki/function.wikistructure.php and there is a lib/wiki-plugins/wikiplugin_toc.php - that do not accept the same params they are supposed to? one is internal, the other is external seems they are both external external = aith a return with not a echo toc is to be called from wiki, the other is a smarty plugin not the same thing at all it is good to have people committing and committing - but we have 10 versions of the same... not bad considering we started with 100 :-) in the evening I loose faith - we have a plugin for toc + a module for toc (thx lph it is not anymore a wiki syntax) .. code duplication :-( well, wiki syntax moved to plugin so just code isolation as long as they all call the same lib, I don't care so much about the bootstrap code and the template... as long as it does not contain some logic that should be in the lib I care why {wikistructure} generatin forom user module admin is not giving the same than {toc} well, structure libs have known issues ... kill.. duplication it is not the lib it is the API - 2 API :-( going to cook something good Is it possible to make certain pages invisible to certain users or groups? partymetroid, sure, see the docs: http://doc.tikiwiki.org/tiki-index.php?bl=y&page=Permission Oh, I checked that page, but I didn't read all of it. I feel dumb now. Thanks. ^.^ It's a little complex ;-) . I don't really understand it. I'll just copy a certain page to my friend via copy-paste... and not have him be a user. :/ well, it isn't _that_ complex.... :-) Definitely not complex. You just have to know how to set up Category "Permissions:Not visible to Anonymous". :-) polom chibaguy: +1 for the breadcrumbs idea hi luciash. I tried it out here: http://cunningham-lee.com/ui for some Tiki sections. chibaguy: great ! :) which section ? is it theme specific ? anybody out there? yup? oddball issue--having an issue with tiki_upload_-file.php--anyone with admin rights to file galleries cannot view the page chibaguy: ah, i see, http://cunningham-lee.com/ui/blogpost2 luciash, it isn't theme-specific. I edited the templates. sorry, let me restate--the script doesn't generate any html. when i view source on the generated page, it shows nothing however, anyone without admin rights can use the page normally. the only issue is that the php _max upload shows as 0 bytes cmartenis: check your php.ini settings for it... ususally blank pages are generated when memory_limit is low and content on the page exceeds it luciash, for the coelesce theme, the breadcrumbs should be up above the blue page title background. I was thinking about committing it to experimental/ui-revamp but there may be a better way to do the code. Of course anyone is free to improve it. If this kind of trail is a good idea. chibaguy: sure it is good idea ! chibaguy: i'd just maybe place it better above the middle part (cols) chibaguy: do the breadcrumbs path separators respect the admin setting for the arrow character ? yes how did you do if wiki home == site home ? e.g. on http://cunningham-lee.com/ui/LevelFour would the wiki home appear ? shouldn't it be wiki pages list there instead ? hmm, http://cunningham-lee.com/ui/tiki-browse_categories.php gives me blank page in konq There should be logic so if the wiki home is the site home, then it doesn't repeat. I think I did that already. Yeah, I get a blank page in Opera too. if there's bloglist there should be wiki pages list too ? OK, I just reset the site index to 'wiki' and so the breadcrumb trail is "Home > (current page)" (to follow the same logic) What I'd like is, if the page is a structure member, then the structure trail displays where this general trail is instead of below the wiki page title. Well, a problem is figuring out what the "home" of each feature is. For wiki, it's "HomePage", and for articles it's the view-articles page, but most other features just have lists. If the lists aren't good as a feature home, then maybe the trail could leave them out. So, site home > Some blog > Some blog post . . . instead. About browse categories, maybe my update was incomplete (this is an svn branch experimental/ui-revamp). ah, i see yup, maybe setting a home page|blog|gallery etc. for each feature would be useful too as for the site home is done currently any idea where's the map gone ? → http://tikiwiki.org/CommunityWorldmap&bl=y I was wondering about that too. Now my breadcrumbs code is in each tpl, like tiki-show_page.tpl, tiki-read_article.tpl, etc. cool If the trail is moved up above the columns, then another method is needed. (which actually probably would be better anyway). oh heh One breadcrumbs.tpl that is called and has logic to display whatever is needed for that section. Seem right? if wiki then this trail, etc. seems right, or even smarty plugin better ;) :-p on second thought, I guess I know smarty better than php at this point. But knowledge in each is in single digits. ;-) Hi all - for those with long memories - some weeks ago, I asked about how to make the module boxes different colours. Anyhow - after a serious amount of experimenting, I kicked myself when I realized that the modules themselves already output some CSS style selectors at the start, which can be used in your theme to make exactly the kinds of adjustments I wanted. SO - for anyone who might be reading this stuff in the archives and wondering how to change module box look-and-feel: just do a "view source", find the module bits you're interested in, and observe the CSS box classes - you'll find some custom ones that include the name of your module in them - thus you can put this into your themes CSS file to get exactly what you want! that's right. each module has a unique css class. LOL - yeah - I know that - now, after about 12hrs of thinking I had to modify code... sheesh, how obvious that is in hidnsight :-( Doing some docs or tutorial on this has been on a long todo list. Say - while I'm here - 2.2 has a feature "default category for uncategorized objects" that groups I think can contain. Is this working ? I created a "grade 2" category for my school, and a teacher who can view and edit this category only, then I created a new group, added the teacher, chose "grade 2" as the default category... but when we create pages - they're not in the category, and thus the teacher can't see them (she *can* see them if we manually assign the category) OH - and once again - on the subject of documentation this time... perl has got POD - which is a way of putting the documentation for stuff smack in the middle of the code which does it. This means that anytime someone changes the code, it's a simple thing to adjust the doc at the same time, since it's in the same place. Maybe the whole lack-of-good-documentation problem could start to get solved by sticking POD into the PHP and .tpl files themselves (yes - it can co-exist) ? A script can then pull out the POD and auto-paste it onto the web site each night maybe, or at least for each update anyhow. I'll shut up now. Well - after this line anyhow - just for those wondering - our school got the official "OK" to use tikiwiki - so chalk up another 1000+ happy users to this awesome products :-) I don't know about the category/group problem. I haven't had time to do much in that area for a while. (I'll trace the code tonight - if it's a bug, I'll report/fix it. If not - I'll explain what I did wrong :-) Nice to hear about your school. :-) bbl does somebody know about tiki_p_edit_categories. I have on my local, there is still some tpl using it - but it is not on a fresh install Methinks a new tracker on doc.tw.o could go down well: something that contains a list of variables (for example: feature_wiki_mandatory_category) and some info about how to locate the place where that variable gets adjusted (eg: "the Wiki-Features section on page /tiki-admin.php?page=wiki") tikiwiki: 03sylvieg * r16325 10/trunk/ (db/tiki.sql installer/schema/20090120_lost_2.0to3.0.sql): [FIX] tiki_p_search_categorized sylvieg: it reminds me that I wanted to investigate that before Xmas, then I got disctracted :-( in fact in tikitrunk I do not have the perm in a tpl - but in ui-revamp I have hey everyone, im trying to commit a new file not already in tiki (a wiki plugin) and the svn error says "file not under version control"...what is the command to commit a new file then? svn add filename robferguson: ^^ ahhh..ok and the URL is off hand? tikiwiki: 03sylvieg * r16326 10/trunk/lib/wiki-plugins/wikiplugin_toc.php: notice what url? for trunk to add it you dont need any url if you have a checkout already its a co of 2.2 tho not runk trunk* check in svn for trunk tikiwiki: 03robferguson * r16327 10/branches/2.0/lib/wiki-plugins/wikiplugin_footnote.php: [ADD] new footnote wikiplugin tikiwiki: 03robferguson * r16328 10/branches/2.0/lib/wiki-plugins/wikiplugin_footnotearea.php: [ADD] new footnote wikiplugin tikiwiki: 03sylvieg * r16329 10/trunk/lib/smarty_tiki/function.wikistructure.php: [MOD]wikistructure: use plugin toc in the smarty function please no new things in 2.0 robferguson will move to trunk. tikiwiki: 03robferguson * r16330 10/branches/2.0/lib/wiki-plugins/wikiplugin_footnotearea.php: [FIX] reverting commit to wrong branch tikiwiki: 03robferguson * r16331 10/branches/2.0/lib/wiki-plugins/wikiplugin_footnote.php: [FIX] reverting commit to wrong branch tikiwiki: 03robferguson * r16332 10/trunk/lib/wiki-plugins/wikiplugin_footnote.php: [NEW] new wikiplugin for footnotes tikiwiki: 03robferguson * r16333 10/trunk/lib/wiki-plugins/wikiplugin_footnotearea.php: [NEW] new wikiplugin for footnotes That's odd. Varnish cache is losing half the requests when I test it with `ab`. I have allowed categories to my wiki pages. I also have allowed users of a group (w/o admin privileges) to creat new wiki pages. However, when an user creates a wiki page, the category option doesn't show up making unable to submit the page because it is a required field. How can I make that appear (it only appers for admins ). tikiwiki: 03sylvieg * r16334 10/trunk/templates/tiki-galleries.tpl: [MOD] button browse gallery tikiwiki: 03lphuberdeau * r16335 10/branches/experimental/ui-revamp/ (47 files in 18 dirs): [MRG] Automatic merge, trunk 16267 to 16333 cj_2009: is feature_categories on and do you have at least oen category that a user can view tiki_p_view_categories sylvieg: feature categories is on sylvieg: and I have created two categories but only admins can see them ... (what I'm trying to do is restrict categories to specific groups) tikiwiki: 03marclaporte * r16337 10/trunk/templates/tiki-pagehistory.tpl: [MOD] Change from post to get in URL for page history so people can bookmark or send that exact view to someone. Ex.: Hey, I just updated this page give a tiki_p_view_categories for the specific group to the category sylvieg: OK, I checked tiki_p_view_categories and now it is working .. but after user submits a page, and then lists wikis nothing shows up (and the user belongs to a group with permissions to see that category) you need tiki_p_view_categorized also sylvieg: I was missing that but still .. list pages comes up blank try to clear all the caches tikiwiki: 03sylvieg * r16338 10/trunk/templates/tiki-edit_article.tpl: [FIX]help: no need button as handled by tiki-edit_help sylvieg: opened another browser and nothing tikiwiki: 03lphuberdeau * r16339 10/trunk/ (2 files in 2 dirs): [NEW] Adding wikiplugin enable controls in normal admin panel polom salut Salut Marc sylvieg: : I would like to get your advice on if & how we could do something like this with trackers: http://cdccentresud.org/component/option,com_contxtd/task,view/contact_id,15/Itemid,12/ hi Patrick sylvieg: : this is a usage of this Joomla component: http://www.clockbit.com/cms/component/option,com_contxtd/Itemid,11/catid,10/ Imagine an address book/ business directory So far, easy to do with trackers now, imagine that each individual member/company has a contact form instead of email both links are not responding for me tikiwiki: 03lphuberdeau * r16340 10/trunk/templates/tiki-admin-include-textarea.tpl: [MOD] Add link to the plugin alias manager tikiwiki: 03lphuberdeau * r16341 10/trunk/lib/profilelib/installlib.php: [MOD] Add page selector to profile options tikiwiki: 03sylvieg * r16342 10/trunk/db/features.csv: [FIX]plugin: missing iframe marclaporte: links are back - we are missing a checkbox for send me a copy - otherwise we have the notion of user with copy of activity on his items tikiwiki: 03sylvieg * r16343 10/trunk/ (2 files in 2 dirs): [FIX]rollback: partial rollback 16209: _menu_text is showing the title of the icon as text - so use this option to have no side effect tikiwiki: 03sylvieg * r16344 10/trunk/styles/ (darkroom.css feb12.css tikineat.css tikinewt.css): [FIX]style: some tuning for button with icon