polom sylvieg: : ping SVN: Commit by ricks99 :: r 14445 /mods/trunk/ (5 files in 3 dirs): [NEW]JS-Kit Ratings wiki plugin can tikiwiki have templates for wiki pages? is that done through smarty? nombrecinq, do you mean this: http://doc.tikiwiki.org/Content%20template ? hey chibaguy yeah i think so do you know of an example? so i can see it in action? If you're registered at tikiwiki.org, the wiki edit page has a content template dropdown list. I think that's visible to any registered user. i don't want editors to be able to edit the structure of pages, just content Hmm. I'm not sure if that's possible. What do you have in mind, by "structure"? like say i have a text field called "name" Ah that should always be editable as a text field not wikitext I wonder if using a tracker would be better. Are these wiki pages kind of form-like? yeah definitely form like but the content should be editable in the wiki sense So on WikiPageA the "name" section will have "Bob" for example, and on WikiPageB it will have "Nancy" or whatever? yeah The trouble with Tiki's content templates is that they just get pasted into the wiki edit textarea and can then be edited if the page author wants to. No way to protect that text. I was thinking about using either section editing (in Tiki 2.0) but am not sure without experimenting. (was going to say either section editing or the INCLUDE plugin somehow....) But if it's form-like content, maybe using a tracker and tracker plugin in wiki pages would be more appropriate. how does the tracker plugin work? chibaguy: are you a tikiwiki dev? Mainly doing themes. I haven't used the tracker plugin, so can't give details. basically it displays info from a tracker, in a wiki page. Maybe info can also be submitted directly on the wiki page, I don't know. hmm http://doc.tikiwiki.org/plugintracker There's been a lot of dev activity on this so it's worth checking out if it looks like it has possibilities for you. i can't believe i haven't heard of tikiwiki before today it seems like such a powerful tool Yep, it has lots of fun stuff. ;-) See the doc site for howto details, though it's hard to keep the docs up to date. In particular, version 2.0 was just released and has a lot of new thiings that aren't fully documented yet. I'll be back on in a few hours.... cya. SVN: Commit by sept_7 :: r 14447 /trunk/lib/smarty_tiki/function.memusage.php: [FIX] use appropriate function for different PHP version hi all Hi hello hi there! how can one redefine base wiki syntax? i don't mean {SOME_FANCY_PLUGIN()}{SOME_FANCY_PLUGIN} style you need to modify the parser... lib/tikilib.php ... big function called parse_data (non-trivial) ok, thanks //PARSEDATA function parse_data($data,$is_html=false,$absolute_links=false) { // Don't bother if there's nothing... if (function_exists('mb_strlen')) { if( mb_strlen( $data ) < 1 ) { return; } } hm, it doesn't seem neither meaningful, nor big don't be fooled by the bad indentation the function is over a thousand line long oops, sorry indentation is everything ) I have what may be a stupid question - I just installed 2.0 to play around with, and it seems the "export to pdf" feature was removed? Any way to enable it? I've tried a few of the mods (html2pdf & fpdf), and they either error out installing or once installed don't included a pdf link on the wiki pages. Any suggestions? does anyone know why the .js files in /lib/ would be set to 664? i'm getting 403 errors on the editor page and nothing works pdf is not working anymore - nyloth has an implementation he described - I think in the commit comments - otherwise export html and use another tool to create the pdf jeremyclarke_: it should not -never see the pb - are you sure you setup correctly what shouldn't see the pb? (also, what's pb?) problem well i unzipped the file using ssh do you know if there is one safe chmod i can set for everything in /lib/? Firefox still won't load tiki-js.js even after i make it 777] sylvieg: is this the commit note you are referring to: [NEW] pdf export: Enable pdf export in wiki pages and structures (yet only works if mozilla2ps mod is installed). 2008-01-21 10:47:16 yes - you are on it .... sylvieg: aha, stupid me. I forgot to remove the Twiki shit from my apache conf I began a page: http://dev.tikiwiki.org/tiki-index.php?page=List%2Bcandidate%2Bfixes%2Bfor%2B2.0 to report all the fix in trunk that can be backport to 2.0 - with no pbs @sylvieg: ur tiki-registration.php fix (captcha + tracker for more info) seems to be working for my 2.0 site,too thx ricks99_ I need to add this one is image galleries the simplest way to have image uploads for wiki content? @jeremy: u can simply use the "upload image" option on the wiki edit page I'm not seeing it, do you know wht is required to have that turned on? you need to enable the option wiki:config hi - sorry i know this is a basic question, but how do i disable smashed-word autolinking? ie, i have a page that references BluRay, and it is automatically creating a link that goes nowhere... @nikhilodeon: wikiwords. see the doc they are called WikiWords marclaporte: welcome :) thanks ricks99_ that worked yw. more help @ http://twbasics.keycontent.org/Adding+Pictures ricks99_: huh, thanks for the link i think i actually turned on 'attatchments' instead of imags cool, found the right setting Q: where is the babelfish url defined? needs to be changed to yahoo! ahh.. .babelfish.php. duh SVN: Commit by sylvieg :: r 14453 /trunk/lib/wiki-plugins/wikiplugin_tracker.php: global SVN: Commit by sylvieg :: r 14452 /trunk/lib/menubuilder/menulib.php: [FIX]menu: contextual menu was not working with SVN: Commit by ricks99 :: r 14451 /trunk/templates/tiki-magic.tpl: [MOD]only show GO! link if the feature is enabled "svn unlock" doesn't seem to do the trick. How does one make svn work when whining about "svn: Unable to lock 'temp/cache'" Are there any major changes to trackers planned for tikiwiki3 that aren't landed yet? SEWilco rmtemp/cahce; svn up; chmod a+w temp/cache zzxc, don't know, we don't have plans for everything and 3.0 is still many months away... a lot can happen sylvieg: Thanks. SVN: Commit by ricks99 :: r 14454 /trunk/lib/Babelfish.php: [FIX]updated babelfish to use yahoo babelfish service (no longer owned by altavista) is there a way to make sure that a given menu item is open by default? That's odd. 2.0 from svn is emitting Segmentation fault in error.log. 2.0 from tar, using same database, seems to be working. @jeremyclarke: use type=fixed. see docs: http://doc.tikiwiki.org/Menus ricks99_: hmm, that works for new menus, but is there a way to always have the 'wiki' item in the application menu expanded? aha, cool i changed it to a separator, which works fine u may also consider creating a custom menu that has only the options u need (rather than re-using) the entire application menu for all users yeah, that's a good point grrr, have you guys considered making the labels for features (like 'image galleries' and 'trackers') on the features on/off page into