[00:36] tikiwiki: 03marclaporte * r34984 10/branches/7.x/templates/tiki-edit_article.tpl: [FIX] when editing an old article (ex.: 2004), make sure it doesn't reset to current year minus 5 years [00:37] *** Tiki|bot has joined #tikiwiki [00:41] *** Caarrie has joined #tikiwiki [00:42] *** Caarrie|away has quit IRC (Disconnected by services) [00:43] *** Caarrie is now known as Caarrie|sleeping [01:10] *** gillesMM has joined #tikiwiki [01:22] tikiwiki: 03robertplummer * r34985 10/branches/7.x/lib/wiki-plugins/wikiplugin_sheet.php: [FIX] html output for sheets is required, strip_tags was removing it. killed strip_tags so that sheets.... work. [01:35] *** dabright has joined #tikiwiki [01:50] *** goj|ghost has joined #tikiwiki [01:54] *** goj has quit IRC (Ping timeout: 240 seconds) [01:54] *** goj|ghost is now known as goj [02:54] *** dabright1 has joined #tikiwiki [02:55] *** dabright has quit IRC (Read error: Connection reset by peer) [03:42] New Forum Posts: Installation into subdomain - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=41584 [04:43] *** dabright1 has quit IRC (Quit: Leaving.) [05:48] *** marclaporte has joined #tikiwiki [05:48] *** ChanServ sets mode: +o marclaporte [07:02] *** Merbster has joined #tikiwiki [07:03] Good morning fellas. [07:03] What scope does the dynamic variables have? (the one enclosed in %) [07:03] Could I, say, in a plugin run from the content area, set a value to a dynamic variable, and then read it from a module in the right sidebar? [07:08] *** SJ-Jay has joined #tikiwiki [07:08] hey guys [07:10] is it possible to create an article with predefined topic, and type? [07:18] SJ-Jay & Merbster: I don't know [07:19] SJ-Jay : if this exists, I suspect it would be a param of a module for articles (there is a way to set category of wiki page when creating via a module) [07:20] Merbster : dynamic variables are global thus, I would think they would appear in module [07:21] perhaps not in same page load, but after a refresh [07:22] Ah. So the setting of the dynamic variables are dependant on module load order? [07:22] i.e. you cannot read the value before the module that sets the value has been loaded. [07:23] marclaporte, the scenario is this: Based on the category of the page shown in the content area, a right side "toolbar" will be generated with links to different wiki pages (based on the case number) [07:23] We are thinking that maybe we should just include the toolbar in the modules directly. instead of putting it outside the module. [07:24] (then we would solve the problem of module load order) [07:26] Merbster : http://themes.tiki.org/tiki-index.php?page=Template%20Tricks&pagenum=4#Categories_used_in_templates [07:36] marclaporte, thank you, I will look at this. [07:43] *** Wilkins has joined #tikiwiki [07:44] *** Wilkins has quit IRC (Remote host closed the connection) [07:46] marclaporte could you tell me where to look for this? :) [07:47] http://doc.tiki.org/All+Modules take a look at all modules with "article" in it [07:48] the doc may be missing some info so you should try with module helper and check if any param makes sense [07:50] As a reference for wiki pages, this one http://doc.tiki.org/Module+quick_edit it would be something like {MODULE(module=quick_edit categId=5) /} [07:52] SJ-Jay : if you code a little, you could perhaps change the Tiki code a bit to support a link to tiki-edit_article.php?topic=general [08:02] marclaporte, we are trying to include the forum functionality on a wiki page. [08:02] first we included the forum in an iframe and set fullscreen = y [08:03] but that affected the rest of the site when we would move around on the site. [08:03] why are you including forum in wiki page? [08:04] we need to make a "landing page" for for example building information modellers. And they have a separate forum. [08:04] So we include some stuffa bout the current cases the user is assigned to, maybe som RSS streams, and then a preview to their forum [08:05] So that the user can get a nice overview of thei workday without haveing to move between 5 different pages. [08:05] that is why we want to include the forum with a preselected forum area (we do that with forumId parameter) [08:09] and that is also why we are trying to make a "new article" button with predefined type and topic that is only shown in that wiki page [08:20] New Forum Posts: How syncing AD groups with Tiki? - http://tiki.org/tiki-view_forum_thread.php?forumId=17&comments_parentId=41585 [08:28] Merbster : how about including last x forum posts? [08:29] http://doc.tiki.org/Module+forums_last_posts [08:30] might work. Allthough SJ-Jay is more into the requirements in that section.. He's currently out smoking. [08:31] I will direct his attention to here when he comes back. [08:45] marclaporte forums_last_posts with a category ID works like a charm! [09:24] marclaporte, a colleague suggested that we tried using af form for the articles, do you think this is possible? [09:50] New Forum Posts: Translation function doesn't work properly... - http://tiki.org/tiki-view_forum_thread.php?forumId=3&comments_parentId=41587 [10:00] New Forum Posts: Tiki 7 for intranet - with pictures of employees - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41588 [10:02] *** Merbster has quit IRC (Read error: Connection reset by peer) [10:11] New Forum Posts: Multi Site functionality and Automated Site creation ? - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41589 [10:31] *** Caarrie|sleeping is now known as Caarrie|away [11:00] *** rodrigo_sampaio has joined #tikiwiki [11:12] tikiwiki: 03sylvieg * r34986 10/branches/7.x/templates/tiki-admin_include_login.tpl: [FIX]LDAP: tabs name explicitely to mention LDAP [11:25] *** ricks99 has joined #tikiwiki [11:26] polom y'all [11:46] *** Bernard1 has joined #tikiwiki [11:50] hi all [12:07] *** Loggir starts logging #tikiwiki at Mon Jun 20 12:07:38 2011 [12:07] *** Loggir has joined #tikiwiki [12:07] SJ-Jay: i'm not sure you want to go there but i had to use something very close to articles but to control input form and output page. I turn out using Trackers to do it all and gain complete control. (i'm no coder too) [12:08] Bernard1 what i'm trying to do is make it simple for the users to create an article with predefined topic and type.. you think this is possible with trackers? [12:09] Bernard is talking about (I believe) using tracker *instead* of articles [12:09] yes. i had to build a knowledge base (at first they use Articles) with specific fields (mandatory) and a unified design so all page look alike. [12:10] yeah exacly the same here! [12:10] i used trackers (you have plenty of fields there to do whatever you have in mind) and wiki page as template. [12:11] it is not meant to use that way but… i have a gift to go into troubles by myself. :D [12:11] good solution. only downside is that you cannot do "article"-specific searches, right? [12:11] pretty trackers/trackers are very powerfull and can be used with every sort of plugins that will help during the filtering and search process [12:12] so it is possible to search the content? [12:12] yes, you can search, but you can't filter, using where=articles [12:13] if you use where=trackers, then you'll search *ALL* trackers, not just the "article" trackers [12:13] *** lphuberdeau has quit IRC (Quit: lphuberdeau) [12:13] *** lphuberdeau has joined #tikiwiki [12:14] well with trackerfilter plugins you can filter even better ! :) You do in the tracker: category, branch, type, kind, etc…. and in the filtertrackers plugin you select in a powerfull/user friendly way than the search bar. [12:14] so did you replace/customize the site seach bar? [12:14] i believe you can even integrate the plugin in the top bar with some css skills (this i didn't needed). [12:15] ah [12:16] no, i didn't needed this for now, but this is clearly possible. btw, i have a plan to improve the search result presentation (thumbnail, better designed presentation, etc). In the eyes of standard user it look like bulk results and not very sexy. [12:16] +100 [12:16] * Bernard1 brb, father's duties. :) [12:18] *** lphuberdeau has quit IRC (Ping timeout: 255 seconds) [12:24] *** lphuberdeau has joined #tikiwiki [12:32] back [12:35] SJ-Jay: You have to prepare a tracker (may several if you use dynamic list) with all the fields you need (text fields, text area, dropdown [categories, branch], user selector [the author], email, date, etc…). [12:35] you have more possibilities than with articles so this cannot be a problem. [12:37] step 2 (option 1) you edit the trackers and use a Wiki page to display the items (so you keep the tracker structure around the item). If this you gain control of the display of the items. [12:38] step (option 2) you can use directly "pretty tracker" system (do a search) to display the item in a Wiki page. [Pro you control all the page, Cons it is more complicate to bring back the tracker structure (pagination, listing, etc). [12:39] thanks dude.. will have a look at it [12:39] you have the required fields and you have a nice way to display them… next input. [12:40] you built a Wiki page and you use the trackerinput plugins. nothing to explain it is quite obvious [12:41] you create a Wiki entry page with a trackerfilterplugin and here too you use a wiki template. [12:41] *** lphuberdeau has quit IRC (Read error: Connection reset by peer) [12:41] that's it, built you template with the necessary class, span, div etc… using CSS you should be able to built something that even don;t look like a tracker… but is. :) [12:45] never thought of using trackers in that way :) [12:52] *** dabright has joined #tikiwiki [12:53] ;) [12:57] *** ricks99 has quit IRC (Ping timeout: 252 seconds) [12:58] SJ-Jay: note you can enter in some kind of problems if you use special encoding like hebrew… working on it (Sylvie solved one issue) [13:07] *** radek82 has joined #tikiwiki [13:42] *** garypondstone has joined #tikiwiki [13:43] Can I set a default value when creating a new preference like some default text in a textarea? [13:49] Ok. I put it in the database. [13:50] *** nkoth has joined #tikiwiki [13:53] Bernard1 - need some help with the tracker! :) [13:53] i've created a tracker, and added it to a wiki page.. everything looks fine except the item is not saved :( [13:56] explain a little more…. an exemple ? [13:58] well i've created the tracker with a topic and a text field.. i've then created a wiki page that uses the tracker.. when i fill the text fields and saves it.. it doens't show in the tracker! [13:59] a link ? [14:00] it's a corporate intranet.. so it's closed for public access [14:00] M… :) [14:01] doh [14:01] found it! [14:02] ItemId=1 [14:02] :) [14:10] ok another one then [14:10] how do i show the trackers on another wiki page? [14:10] like you did [14:11] the tracker i created is for news on a knowledge base specific for a group, i want to show these "tracker news" [14:40] *** lphuberdeau has joined #tikiwiki [14:53] SJ-Jay: well it depens… first what do you really need to display ? the trackers ? Do you mean trackers items ? [14:54] sorry the tracker items :) [15:05] *** codyg has joined #tikiwiki [15:06] good monday morning and polom to all [15:07] nkoth: i shouldn't have tested when i didn't have time last fri aft. sorry to pop out on ya. [15:09] *** qb has joined #tikiwiki [15:10] hi, how can I turn off question mark (to create page) for not logged on users? I want it to be visible only for logged on users, or even editors only if possible. [15:10] k… i ain't got much time but i'll what i can [15:10] hello codyg [15:10] there are different ways to display a tracker item. [15:11] a single ? a list ? [15:12] *** overseer has quit IRC (Quit: Page closed) [15:12] SJ-Jay: i got to go. If you follow my exemple above and use wiki template from within the tracker (edit tracker) you should be all set. [15:14] think i found a solution.. just trying to make it more presentable :) [15:14] else (if you want to display item outside trackers feature) check : http://doc.tiki.org/Pretty+Tracker [15:14] but thx! [15:16] << was watering the plants [15:16] trackers are fun [15:19] *** garypondstone has left [15:19] qb: still looking for that permission? [15:22] codyg: yes [15:23] i'm still having permission problems with this: {events calendarid="1" categId="8" maxdays="60" max="10" datetime="0" desc="0"} Is group a variable? Because all the group member sees is No Records found. [15:23] qb: by default anonymous can't create pages. [15:23] so, it must have been turned on for anon [15:24] are you talking wiki pages or articles? [15:25] codyg, but they see quotationsmark if page is not created, and I want them to see it not, as they print pages, and thinks that those are questions :( [15:26] wiki pages, but not about permissions to create, only about visibility of quotation mark [15:31] qb: i guess i'm thinking on another page. can you show me? [15:32] if it isn't a permission, then it's a setting [15:33] tiki-admin.php?page=wiki [15:38] << out with the dog for 20 minutes [15:47] *** dabright has quit IRC (Quit: Leaving.) [15:47] if you edit any tiki page and add "here is place for ((test))." sentence you will receive "here is place for test?." as test page was not created yet. and it is ok for me to see ? as it makes easier to create new pages, but for casual (not logged in) users, and in printed version there are also ? marks, so they don't know are this questions or what... [15:47] *** dabright has joined #tikiwiki [15:48] *** SJ-Jay has quit IRC () [15:50] qb: there is no standard way to selectively hide the ? like that, but if you can do css, you can add a print css perhaps to hide the wikinew class [15:53] you could also login as someone with no permission to edit wiki pages, that person will probably not see the ? [15:55] nkoth, i think i will override wikinew class for everyone not in editor, maybe it will work [15:56] yes, it should be visible only for users who has right to use it [16:07] qb: for sure. i'm surprized there isn't an option somewhere. But css would fix it too. [16:08] will try [16:21] *** dabright has quit IRC (Quit: Leaving.) [16:41] *** ricks99 has joined #tikiwiki [16:50] *** overseer has joined #tikiwiki [16:52] hey guys. I'm working with user pages today. Is there a way to make a new user page automatically be part of a structure? [16:54] not automatically, afaik [16:54] *** josha has joined #tikiwiki [16:55] Hello, is it possible to create a custom watch action? I want to add an entry to another database as opposed to send an email. Is this something that can be extended like a module or will it require custom code to the actual code base? [16:56] ok, next question. Is it possible to automatically add content to a user page? [16:57] could use a template to "seed" the page, maybe [16:57] polom [16:59] polom chealer [16:59] hi ricks99 [16:59] ricks99: how do you do that? any docs on it? [17:00] should be.. [17:00] look for 'content template' [17:01] josha: you could create a custom watch action, but it's not designed for that. there is no module system and the schema is only designed for emails or at least users [17:02] Ok, can you point me to where I would create the custom watch action? [17:02] * ricks99 nearly ready to upgrade "Smarties" to Tiki7. Testing went *very* well [17:04] Or I can pipe it through an email I suppose too [17:07] josha: you could add functions to notificationlib. I don't know what feature you want notifications for, but for example with blogs, see blog_post() in lib/blogs/bloglib.php to see how it works [17:08] I am looking to do this on wiki pages. [17:09] josha: so see wikilib's attach_file() for example [17:09] ricks99: I read the docs page. I understand how the templates work now. What did you mean by "seed"? [17:10] chealer: yeah just looking for the appropriate save function now :) [17:11] @overseer: whatever content you put in the content template will appear as part of the wiki page, when a user applies the template. [17:11] so a user has to apply it. It can't be auto-applied? [17:11] for example: http://twbasics.keycontent.org/Using+Content+Templates [17:12] I *think* that the Quick Edit module allows you to specify a template when creating a new page. Not 100% sure though [17:13] josha: right, that would probably be in tikilib [17:13] hmm. ok. what im trying to do is make it so that new users will get a user:{{user}} page when they get their account, and it will have some default info/modules/etc on there. [17:13] chealer: was just on my way there when I saw the extends but didint see it in wiki [17:14] josha: see tikilib->update_page() [17:14] just got there :) [17:15] @overseer: will probably need some sort of customization. so that when you create a user page, specific content gets added to it. [17:15] what would you recommend for doing this? i was thinking i could do an exec on a separate php script to have it keep my main code out, or i can open a db connection and just do what i want inline [17:16] ricks99: Yeah, that's what im looking for. Any ideas on how? [17:16] josha: the watches are stored in tiki_user_watches. as I wrote it's designed for user watches. if you want something else you may want a new table, or if it's simple just to hardcode it [17:16] yeah im leaning towards hardcoding, and just noting what i do so on upgrades i can reintegrate easily enough [17:16] @ overseer: not off the top of my head. i suggest either digging in the code or posting something to the forums and dev list [17:17] josha: what kind of installation are you modifying? is it a Subversion checkout? [17:17] sadly no, i ddint think that far ahead ;) [17:17] just a straight tar.gz install [17:19] ricks99: ok, thanks. That get's me started [17:22] josha: what would be the advantage of doing an exec? [17:22] all of my custom code would be in a separate file, so it would only be a one-line modification [17:23] instead of calling a class function [17:23] which then id be modifying the class more extensively [17:24] josha: you can include a different file where you put functions and then call the functions too. there's not much difference between that and putting new functions straight in notificationlib [17:24] yeah its 6 in one hand half a dozen in the other :) [17:27] if i am testing and insert code inline for now, i shouldnt have an issue with opening a new db connection right so long as i close up when im done? [17:28] or will i need to reissue a mysql_use_database [17:28] err select_database rather [17:32] josha: it's already connected [17:33] well for my custom event i need a different database [17:33] josha: tikilib extends TikiDb_Bridge, in lib/coore [17:35] josha: oh. you'd better open a new connection then [17:36] josha: the code that does it for Tiki is in db/tiki-db.php [17:37] Yeah, when I open the connection I just wondered if doing a mysql_select_db will then break tiki or if it will reinitialize when i close it properly. [17:39] josha: mysql_select_db() will only affect 1 connection, if you do it on your connection there should be no effect on Tiki's [17:39] Ok, that is what I figured. [17:46] *** josha has quit IRC (Quit: Page closed) [17:50] *** lphuberdeau has quit IRC (Read error: Connection reset by peer) [17:52] *** nkoth has quit IRC (Quit: nkoth) [17:55] tikiwiki: 03chealer * r34988 10/trunk/lib/setup/last_update.php: we apparently moved from CVS [17:58] New Forum Posts: Dreamhost anyone? - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=41594 [18:03] *** garypondstone has joined #tikiwiki [18:12] *** owenconti has joined #tikiwiki [18:12] Hello, can anyone help me with a Tiki question regarding the {icon} function? [18:13] !help [18:13] You can get a more complete list of commands that work with this bot at http://tiki.org/TikiBot . [18:14] !icon [18:27] *** lphuberdeau has joined #tikiwiki [18:28] Hello, lphuberdeau [18:31] hello [18:39] Are you good with TikiWiki and Smarty? [18:39] owenconti: just ask your question [18:40] I need to know whether or not text is being produced in addition to an icon with the following code: {icon _id=exclamation alt="{tr}Error{/tr}" style="vertical-align:middle;align:left;"} and if text is being produced, where can I edit it? [18:45] *** conner_bw has joined #tikiwiki [18:55] *** Tiki|bot has quit IRC (Ping timeout: 260 seconds) [18:59] *** Tiki|bot has joined #tikiwiki [19:02] *** garypondstone has left [19:05] *** ricks99 has quit IRC (Quit: Page closed) [19:06] *** Tiki|bot0 has joined #tikiwiki [19:08] *** Tiki|bot has quit IRC (Remote host closed the connection) [19:12] *** Tiki|bot0 is now known as Tiki|bot [19:16] *** Tiki|bot has quit IRC (Ping timeout: 240 seconds) [19:30] owen, that's not something I know on top of my head and I don't have time to look it up for you [19:31] that's fine. thank you anyways [19:31] I wish TikiWiki was a little better documented [19:31] *** nkoth has joined #tikiwiki [19:34] owenconti : text is part of the generated HTML. Do you want to translate it? [19:34] No, I need to know where that HTML text is being generated from, so I can change the text. [19:34] Do you know where it is generated from? [19:36] lib/smarty_tiki/function.icon.php seems likely candidate [19:36] I checked that [19:37] As far as I can see, that just generates the image and not the text that is beside the image [19:37] Here's a screen shot, with the icon and the text beside it that I need to change. http://d.pr/SjAy [19:39] *** Tiki|bot has joined #tikiwiki [19:39] ah [19:39] what is the name of the PHP file you see in the browser? [19:40] tiki-user_validate.php or something like this? [19:40] tiki-remind_password.php [19:40] look for templates/tiki-remind_password.tpl [19:40] mhm I have that open [19:41] that's where {icon _id=exclamation alt="{tr}Error{/tr}" style="vertical-align:middle;align:left;"} comes from [19:41] you could also find that string in lang/en/language.php and make an English to English translation there [19:43] Ohhh. so if I find that string that I don't want in the comments of language.php and change it after the => it will be changed? [19:43] owenconti: the text must not come from icon [19:44] bbl [19:44] That's what I figure now, chealer, but I don't know where else [19:44] I'm not familiar with bbl...? [19:44] I'll be back later [19:44] and marclaporte, I tried changing the text in language.php, but it did not work. [19:44] Okay, thanks Chealer [19:45] owenconti : empty cache after changing language file (Tiki cache, not browser cache) [19:46] ok [19:48] still no luck :( [19:50] look in lib/userslib.php [19:51] grep -r "You must validate your account first" * [19:53] oooo [19:53] let me change it and see what happens [19:54] marclaporte I owe you everything! [19:54] thank you so much! [19:54] how did you find it? [19:55] I did a search through all the files for that exact text [19:55] grep is your friend :-) [19:56] ah [19:56] i didn't know that was possible [19:56] can i use grep from Terminal? [19:56] yes [19:56] grep -r "You must validate your account first" * [19:57] so it search recursively (-r) for that text anywhere (*) [19:57] alright Im going to try [19:57] ah it says I dont have permission to log in from terminal [19:59] *** conner_bw has quit IRC (Quit: conner_bw) [20:00] Thank you again for your help [20:10] my pleasure [20:13] *** lphuberdeau has quit IRC (Ping timeout: 255 seconds) [20:15] *** ricks99 has joined #tikiwiki [20:40] *** nkoth has quit IRC (Ping timeout: 258 seconds) [20:41] *** nkoth has joined #tikiwiki [20:41] *** SiL3NC3 has joined #tikiwiki [20:42] hi all ... [20:43] hi SiL3NC3 & nkoth [20:43] *** ricks99 has left [20:44] *** ricks99 has joined #tikiwiki [20:44] re ricks99 [21:04] *** SiL3NC3 has quit IRC (Quit: was a short visit ;)) [21:04] *** lphuberdeau has joined #tikiwiki [21:30] *** gillesMM has quit IRC (Remote host closed the connection) [21:50] *** goj has quit IRC (*.net *.split) [21:50] *** Narkster has quit IRC (*.net *.split) [21:55] *** rodrigo_sampaio has quit IRC (Quit: Leaving.) [21:56] *** goj has joined #tikiwiki [21:59] *** lphuberdeau has quit IRC (Quit: lphuberdeau) [21:59] *** lphuberdeau has joined #tikiwiki [22:00] *** radek82 has quit IRC (Quit: Leaving) [22:07] *** Narkster has joined #tikiwiki [22:35] *** USlacker has quit IRC (Quit: KVIrc 4.0.2 Insomnia http://www.kvirc.net/) [22:36] *** USlacker has joined #tikiwiki [23:09] tikiwiki: 03sylvieg * r34989 10/branches/7.x/lib/tikilib.php: [FIX]edit page: diff2 needs to be declared [23:36] *** nkoth has quit IRC (Quit: nkoth)