***: Tiki|bot has joined #tikiwiki
Caarrie has joined #tikiwiki
Caarrie|away has quit IRC (Disconnected by services)
Caarrie is now known as Caarrie|sleeping
gillesMM has joined #tikiwiki
CIA-88: 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.
***: dabright has joined #tikiwiki
goj|ghost has joined #tikiwiki
goj has quit IRC (Ping timeout: 240 seconds)
goj|ghost is now known as goj
dabright1 has joined #tikiwiki
dabright has quit IRC (Read error: Connection reset by peer)
Tiki|bot: New Forum Posts: Installation into subdomain - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=41584
***: dabright1 has quit IRC (Quit: Leaving.)
marclaporte has joined #tikiwiki
ChanServ sets mode: +o marclaporte
Merbster has joined #tikiwiki
Merbster: Good morning fellas.
What scope does the dynamic variables have? (the one enclosed in %)
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?
***: SJ-Jay has joined #tikiwiki
SJ-Jay: hey guys
is it possible to create an article with predefined topic, and type?
marclaporte: SJ-Jay & Merbster: I don't know
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)
Merbster : dynamic variables are global thus, I would think they would appear in module
perhaps not in same page load, but after a refresh
Merbster: Ah. So the setting of the dynamic variables are dependant on module load order?
i.e. you cannot read the value before the module that sets the value has been loaded.
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)
We are thinking that maybe we should just include the toolbar in the modules directly. instead of putting it outside the module.
(then we would solve the problem of module load order)
marclaporte: Merbster : http://themes.tiki.org/tiki-index.php?page=Template%20Tricks&pagenum=4#Categories_used_in_templates
Merbster: marclaporte, thank you, I will look at this.
***: Wilkins has joined #tikiwiki
Wilkins has quit IRC (Remote host closed the connection)
SJ-Jay: marclaporte could you tell me where to look for this? :)
marclaporte: http://doc.tiki.org/All+Modules take a look at all modules with "article" in it
the doc may be missing some info so you should try with module helper and check if any param makes sense
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) /}
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
Merbster: marclaporte, we are trying to include the forum functionality on a wiki page.
first we included the forum in an iframe and set fullscreen = y
but that affected the rest of the site when we would move around on the site.
marclaporte: why are you including forum in wiki page?
Merbster: we need to make a "landing page" for for example building information modellers. And they have a separate forum.
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
So that the user can get a nice overview of thei workday without haveing to move between 5 different pages.
that is why we want to include the forum with a preselected forum area (we do that with forumId parameter)
SJ-Jay: 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
Tiki|bot: New Forum Posts: How syncing AD groups with Tiki? - http://tiki.org/tiki-view_forum_thread.php?forumId=17&comments_parentId=41585
marclaporte: Merbster : how about including last x forum posts?
http://doc.tiki.org/Module+forums_last_posts
Merbster: might work. Allthough SJ-Jay is more into the requirements in that section.. He's currently out smoking.
I will direct his attention to here when he comes back.
SJ-Jay: marclaporte forums_last_posts with a category ID works like a charm!
marclaporte, a colleague suggested that we tried using af form for the articles, do you think this is possible?
Tiki|bot: New Forum Posts: Translation function doesn't work properly... - http://tiki.org/tiki-view_forum_thread.php?forumId=3&comments_parentId=41587
New Forum Posts: Tiki 7 for intranet - with pictures of employees - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41588
***: Merbster has quit IRC (Read error: Connection reset by peer)
Tiki|bot: New Forum Posts: Multi Site functionality and Automated Site creation ? - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41589
***: Caarrie|sleeping is now known as Caarrie|away
rodrigo_sampaio has joined #tikiwiki
CIA-88: tikiwiki: 03sylvieg * r34986 10/branches/7.x/templates/tiki-admin_include_login.tpl: [FIX]LDAP: tabs name explicitely to mention LDAP
***: ricks99 has joined #tikiwiki
ricks99: polom y'all
***: Bernard1 has joined #tikiwiki
Bernard1: hi all
***: Loggir starts logging #tikiwiki at Mon Jun 20 12:07:38 2011
Loggir has joined #tikiwiki
Bernard1: 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)
SJ-Jay: 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?
ricks99: Bernard is talking about (I believe) using tracker *instead* of articles
Bernard1: 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.
SJ-Jay: yeah exacly the same here!
Bernard1: i used trackers (you have plenty of fields there to do whatever you have in mind) and wiki page as template.
it is not meant to use that way but… i have a gift to go into troubles by myself. :D
ricks99: good solution. only downside is that you cannot do "article"-specific searches, right?
Bernard1: pretty trackers/trackers are very powerfull and can be used with every sort of plugins that will help during the filtering and search process
SJ-Jay: so it is possible to search the content?
ricks99: yes, you can search, but you can't filter, using where=articles
if you use where=trackers, then you'll search *ALL* trackers, not just the "article" trackers
***: lphuberdeau has quit IRC (Quit: lphuberdeau)
lphuberdeau has joined #tikiwiki
Bernard1: 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.
ricks99: so did you replace/customize the site seach bar?
Bernard1: i believe you can even integrate the plugin in the top bar with some css skills (this i didn't needed).
ricks99: ah
Bernard1: 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.
ricks99: +100
-: Bernard1 brb, father's duties. :)
***: lphuberdeau has quit IRC (Ping timeout: 255 seconds)
lphuberdeau has joined #tikiwiki
Bernard1: back
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…).
you have more possibilities than with articles so this cannot be a problem.
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.
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).
SJ-Jay: thanks dude.. will have a look at it
Bernard1: you have the required fields and you have a nice way to display them… next input.
you built a Wiki page and you use the trackerinput plugins. nothing to explain it is quite obvious
you create a Wiki entry page with a trackerfilterplugin and here too you use a wiki template.
***: lphuberdeau has quit IRC (Read error: Connection reset by peer)
Bernard1: 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. :)
SJ-Jay: never thought of using trackers in that way :)
***: dabright has joined #tikiwiki
Bernard1: ;)
***: ricks99 has quit IRC (Ping timeout: 252 seconds)
Bernard1: 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)
***: radek82 has joined #tikiwiki
garypondstone has joined #tikiwiki
garypondstone: Can I set a default value when creating a new preference like some default text in a textarea?
Ok. I put it in the database.
***: nkoth has joined #tikiwiki
SJ-Jay: Bernard1 - need some help with the tracker! :)
i've created a tracker, and added it to a wiki page.. everything looks fine except the item is not saved :(
Bernard1: explain a little more…. an exemple ?
SJ-Jay: 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!
Bernard1: a link ?
SJ-Jay: it's a corporate intranet.. so it's closed for public access
Bernard1: M… :)
SJ-Jay: doh
found it!
ItemId=1
Bernard1: :)
SJ-Jay: ok another one then
how do i show the trackers on another wiki page?
like you did
the tracker i created is for news on a knowledge base specific for a group, i want to show these "tracker news"
***: lphuberdeau has joined #tikiwiki
Bernard1: SJ-Jay: well it depens… first what do you really need to display ? the trackers ? Do you mean trackers items ?
SJ-Jay: sorry the tracker items :)
***: codyg has joined #tikiwiki
codyg: good monday morning and polom to all
nkoth: i shouldn't have tested when i didn't have time last fri aft. sorry to pop out on ya.
***: qb has joined #tikiwiki
qb: 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.
Bernard1: k… i ain't got much time but i'll what i can
hello codyg
there are different ways to display a tracker item.
a single ? a list ?
***: overseer has quit IRC (Quit: Page closed)
Bernard1: 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.
SJ-Jay: think i found a solution.. just trying to make it more presentable :)
Bernard1: else (if you want to display item outside trackers feature) check : http://doc.tiki.org/Pretty+Tracker
SJ-Jay: but thx!
codyg: << was watering the plants
trackers are fun
***: garypondstone has left
codyg: qb: still looking for that permission?
qb: codyg: yes
codyg: 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.
qb: by default anonymous can't create pages.
so, it must have been turned on for anon
are you talking wiki pages or articles?
qb: 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 :(
wiki pages, but not about permissions to create, only about visibility of quotation mark
codyg: qb: i guess i'm thinking on another page. can you show me?
if it isn't a permission, then it's a setting
tiki-admin.php?page=wiki
<< out with the dog for 20 minutes
***: dabright has quit IRC (Quit: Leaving.)
qb: 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...
***: dabright has joined #tikiwiki
SJ-Jay has quit IRC ()
nkoth: 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
you could also login as someone with no permission to edit wiki pages, that person will probably not see the ?
qb: nkoth, i think i will override wikinew class for everyone not in editor, maybe it will work
yes, it should be visible only for users who has right to use it
codyg: qb: for sure. i'm surprized there isn't an option somewhere. But css would fix it too.
will try
***: dabright has quit IRC (Quit: Leaving.)
ricks99 has joined #tikiwiki
overseer has joined #tikiwiki
overseer: 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?
ricks99: not automatically, afaik
***: josha has joined #tikiwiki
josha: 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?
overseer: ok, next question. Is it possible to automatically add content to a user page?
ricks99: could use a template to "seed" the page, maybe
chealer: polom
ricks99: polom chealer
chealer: hi ricks99
overseer: ricks99: how do you do that? any docs on it?
ricks99: should be..
look for 'content template'
chealer: 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
josha: Ok, can you point me to where I would create the custom watch action?
-: ricks99 nearly ready to upgrade "Smarties" to Tiki7. Testing went *very* well
josha: Or I can pipe it through an email I suppose too
chealer: 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
josha: I am looking to do this on wiki pages.
chealer: josha: so see wikilib's attach_file() for example
overseer: ricks99: I read the docs page. I understand how the templates work now. What did you mean by "seed"?
josha: chealer: yeah just looking for the appropriate save function now :)
ricks99: @overseer: whatever content you put in the content template will appear as part of the wiki page, when a user applies the template.
overseer: so a user has to apply it. It can't be auto-applied?
ricks99: for example: http://twbasics.keycontent.org/Using+Content+Templates
I *think* that the Quick Edit module allows you to specify a template when creating a new page. Not 100% sure though
chealer: josha: right, that would probably be in tikilib
overseer: 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.
josha: chealer: was just on my way there when I saw the extends but didint see it in wiki
chealer: josha: see tikilib->update_page()
josha: just got there :)
ricks99: @overseer: will probably need some sort of customization. so that when you create a user page, specific content gets added to it.
josha: 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
overseer: ricks99: Yeah, that's what im looking for. Any ideas on how?
chealer: 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
josha: yeah im leaning towards hardcoding, and just noting what i do so on upgrades i can reintegrate easily enough
ricks99: @ overseer: not off the top of my head. i suggest either digging in the code or posting something to the forums and dev list
chealer: josha: what kind of installation are you modifying? is it a Subversion checkout?
josha: sadly no, i ddint think that far ahead ;)
just a straight tar.gz install
overseer: ricks99: ok, thanks. That get's me started
chealer: josha: what would be the advantage of doing an exec?
josha: all of my custom code would be in a separate file, so it would only be a one-line modification
instead of calling a class function
which then id be modifying the class more extensively
chealer: 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
josha: yeah its 6 in one hand half a dozen in the other :)
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?
or will i need to reissue a mysql_use_database
err select_database rather
chealer: josha: it's already connected
josha: well for my custom event i need a different database
chealer: josha: tikilib extends TikiDb_Bridge, in lib/coore
josha: oh. you'd better open a new connection then
josha: the code that does it for Tiki is in db/tiki-db.php
josha: 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.
chealer: josha: mysql_select_db() will only affect 1 connection, if you do it on your connection there should be no effect on Tiki's
josha: Ok, that is what I figured.
***: josha has quit IRC (Quit: Page closed)
lphuberdeau has quit IRC (Read error: Connection reset by peer)
nkoth has quit IRC (Quit: nkoth)
CIA-88: tikiwiki: 03chealer * r34988 10/trunk/lib/setup/last_update.php: we apparently moved from CVS
Tiki|bot: New Forum Posts: Dreamhost anyone? - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=41594
***: garypondstone has joined #tikiwiki
owenconti has joined #tikiwiki
owenconti: Hello, can anyone help me with a Tiki question regarding the {icon} function?
!help
Tiki|bot: You can get a more complete list of commands that work with this bot at http://tiki.org/TikiBot .
owenconti: !icon
***: lphuberdeau has joined #tikiwiki
owenconti: Hello, lphuberdeau
lphuberdeau: hello
owenconti: Are you good with TikiWiki and Smarty?
chealer: owenconti: just ask your question
owenconti: 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?
***: conner_bw has joined #tikiwiki
Tiki|bot has quit IRC (Ping timeout: 260 seconds)
Tiki|bot has joined #tikiwiki
garypondstone has left
ricks99 has quit IRC (Quit: Page closed)
Tiki|bot0 has joined #tikiwiki
Tiki|bot has quit IRC (Remote host closed the connection)
Tiki|bot0 is now known as Tiki|bot
Tiki|bot has quit IRC (Ping timeout: 240 seconds)
lphuberdeau: owen, that's not something I know on top of my head and I don't have time to look it up for you
owenconti: that's fine. thank you anyways
I wish TikiWiki was a little better documented
***: nkoth has joined #tikiwiki
marclaporte: owenconti : text is part of the generated HTML. Do you want to translate it?
owenconti: No, I need to know where that HTML text is being generated from, so I can change the text.
Do you know where it is generated from?
marclaporte: lib/smarty_tiki/function.icon.php seems likely candidate
owenconti: I checked that
As far as I can see, that just generates the image and not the text that is beside the image
Here's a screen shot, with the icon and the text beside it that I need to change. http://d.pr/SjAy
***: Tiki|bot has joined #tikiwiki
marclaporte: ah
what is the name of the PHP file you see in the browser?
tiki-user_validate.php or something like this?
owenconti: tiki-remind_password.php
marclaporte: look for templates/tiki-remind_password.tpl
owenconti: mhm I have that open
that's where {icon _id=exclamation alt="{tr}Error{/tr}" style="vertical-align:middle;align:left;"} comes from
marclaporte: you could also find that string in lang/en/language.php and make an English to English translation there
owenconti: 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?
chealer: owenconti: the text must not come from icon
bbl
owenconti: That's what I figure now, chealer, but I don't know where else
I'm not familiar with bbl...?
chealer: I'll be back later
owenconti: and marclaporte, I tried changing the text in language.php, but it did not work.
Okay, thanks Chealer
marclaporte: owenconti : empty cache after changing language file (Tiki cache, not browser cache)
owenconti: ok
still no luck :(
marclaporte: look in lib/userslib.php
grep -r "You must validate your account first" *
owenconti: oooo
let me change it and see what happens
marclaporte I owe you everything!
thank you so much!
how did you find it?
marclaporte: I did a search through all the files for that exact text
grep is your friend :-)
owenconti: ah
i didn't know that was possible
can i use grep from Terminal?
marclaporte: yes
grep -r "You must validate your account first" *
so it search recursively (-r) for that text anywhere (*)
owenconti: alright Im going to try
ah it says I dont have permission to log in from terminal
***: conner_bw has quit IRC (Quit: conner_bw)
owenconti: Thank you again for your help
marclaporte: my pleasure
***: lphuberdeau has quit IRC (Ping timeout: 255 seconds)
ricks99 has joined #tikiwiki
nkoth has quit IRC (Ping timeout: 258 seconds)
nkoth has joined #tikiwiki
SiL3NC3 has joined #tikiwiki
SiL3NC3: hi all ...
ricks99: hi SiL3NC3 & nkoth
***: ricks99 has left
ricks99 has joined #tikiwiki
SiL3NC3: re ricks99
***: SiL3NC3 has quit IRC (Quit: was a short visit ;))
lphuberdeau has joined #tikiwiki
gillesMM has quit IRC (Remote host closed the connection)
goj has quit IRC (*.net *.split)
Narkster has quit IRC (*.net *.split)
rodrigo_sampaio has quit IRC (Quit: Leaving.)
goj has joined #tikiwiki
lphuberdeau has quit IRC (Quit: lphuberdeau)
lphuberdeau has joined #tikiwiki
radek82 has quit IRC (Quit: Leaving)
Narkster has joined #tikiwiki
USlacker has quit IRC (Quit: KVIrc 4.0.2 Insomnia http://www.kvirc.net/)
USlacker has joined #tikiwiki
CIA-88: tikiwiki: 03sylvieg * r34989 10/branches/7.x/lib/tikilib.php: [FIX]edit page: diff2 needs to be declared
***: nkoth has quit IRC (Quit: nkoth)