tikiwiki: 03robertplummer * r35135 10/trunk/ (3 files in 3 dirs): tikiwiki: [FIX] For back to go to correct page tikiwiki: [FIX] For image to be associated with correct galleryId tikiwiki: 03xen216 * r35136 10/branches/7.x/ (4 files in 4 dirs): [bp/34996] [NEW] email footer preference whats the official minimum php for tiki trunk? if it is going to be 5.3 I won't bother fixing all these 5.2 problems... tikiwiki: 03nkoth * r35137 10/trunk/tiki-searchindex.php: [FIX] cache causing logging and and out situation to retain logged in/out search results nkoth: 5.2 chealer: thanks, anyway i wrote a message to dev list about a problem I ran into nkoth: OK. I suppose it was added for a reason, but no idea tikiwiki: 03nkoth * r35138 10/trunk/lib/core/Tracker/Field/Dropdown.php: [FIX] Correct typo in variable name causing breakage after last major code moving. tikiwiki: 03nkoth * r35139 10/trunk/lib/core/Tracker/Field/Relation.php: [FIX] Prevent db error by trying to set relations when no targets are specified tikiwiki: 03chealer * r35140 10/branches/7.x/lib/wiki-plugins/wikiplugin_snarf.php: [FIX] HTML special characters encoding Good morning tiki-lovers. Is it possible to expose my own php variables through Wiki Syntax ? example: I write a small plugin that sets some values (i.e. active project) and then I want to use these variables as parameters for other modules/plugins. So I can call my "Set vars plugin" and then call for example Articles plugin and feed it the value I set in my PHP code How can I use smarty functions in my wikipages? Is it the plugin that I call that is responsible for handling the smarty syntax or is there some generic way to include smarty stuff in wikipages, articles, blogs etc. ? polom wolob! :P how r you? I am ok. I am challenged with trying to understand how the webservice module dynamically assigns a template from the $data of the plugin :P fabricius, do you know anything about the ointegrate lib? tikiwiki: 03sylvieg * r35141 10/branches/7.x/ (3 files in 3 dirs): [FIX]snarf: feature check tikiwiki: 03sylvieg * r35142 10/branches/proposals/6.x/ (3 files in 3 dirs): [bp/r 35131 35132 35140 35141]multiple fix on snarf Merbster: no, sorry fabricius, oh well. I'll figure it out eventually ^^ what about you ricks99 do you know anything about ointegrate class ? ointegrate? sorry, no automatic stuff is not mandatory lphuberdeau, was that meant for me? any other active discussions? I've been the only active person here today ? :P oh fuck I can't read anything correctly today early in the morning on this side of the planet I ended the semester with my class mates yesterday. and I met at work at 9 this morning (it's 14:00 here) lphuberdeau, Basically I am trying to imitate the webservice plugin's behaviour of using the content of $data as a dynamicly assigned theme... So that I am able to use SMARTY syntax direcly on a wikipage etc. I figuired out some of it. The part hwere it generates the template dynamicly. But I need a response object where I need to call the render function. I can see that the webservice plugin is getting a response object, by calling request and passing it an URL. But I have no url to pass in my plugin. where do you get your data from? you can also build a response manually I believe, the class definition is in the same file I'd hate to fiddle with headers etc. if all you want is to render a smarty template with some data in it, you might want to look how that is done in the file fairly short snippet most of the code in there is just to change delimiters and enable security So basically I just need a reference to the template, to call the render method on it? hmm apparantly not, it uses the render method of the response... lphuberdeau, apparanlty I'm too stupid to figure out how it's done. just a bunch of delegation in there check out OIntegrate_Engine_Smarty that's probably all you need takes data and a template file, won't get easier lphuberdeau, the $data will contain the templatefile. where is the data coming from? plugin's $data variable that might be hard when sending from a wiki page lphuberdeau, I want to interpret the smarty code put inside my plugin's tags. in between the tags I min ofc. not inside it as json or yaml? lphuberdeau, http://pastebin.com/xdM4YHt6 <- here is the code for the webservice module the tiki code it uses smarty stuff I want to do something similar, but without all the webservice stuff. yes, so you have a template inside but the data has to come from somewhere Actually I just want to access my PHP variables so I can use them as parameters for other plugins and modules eeek It's probably not the most secure practice but this is an intranet so we only have trusted visitors. we thought about using the dynamic variables, but as far as I can see they have global scope, so if I set the "active working project" for one user, it will mess up the other users %active project% variable. we have put each project into a category so that we can reference all project pages by that single category ID. We have project related pages where the template would be something like calling the Articles plugin and supplying the parameter of categoryId with a dynamic value which will change according to the "active project" lphuberdeau, does it make sense to you, what I am trying to explain? and am I going about this the correct way? well, I can't really consider making PHP variables accessible in userland to be a correct way what variables do you need? tikiwiki: 03sylvieg * r35143 10/branches/7.x/tiki-searchindex.php: [ENH]search: accept maxRecords in url for debug I need access to category id of the current page the user is on. and I need to save the category ID of the "current project" so I can filter articles, wikipages etc. according to the project, so we get all the irrelevant information for that particular project filteret out. tikiwiki: 03sylvieg * r35144 10/branches/7.x/tiki-rollback.php: [FIX]rollback: display correctly an html page kind of missing the point where in a page you need to get dynamic information about the page itself lphuberdeau, We have 1000 of customer projects. instead of having to specify for each project, that we want the articles plugin to filter according to category 15, 16 etc. we just want "template" that figures out what is the current working project. So that it can filter data across several pages if the user moves from a wikipage to an article we don't want the user to specify that he/she is still working on project 6644-01A have you considered perspectives with category jail? Nope. I don't know all the features of the wiki yet it's kind of what this was designed for I am not alone about this project, so finding out some stuff has been delegated out to other people. Ii will check these features. But we need to automate the configuration if we need to manually configure this for every project it's a no go since we create new project pages by requesting a webservice about all new projects and then creating some pages for it. that can be scripted worst case hmmm. for the migration, then you can modify your webservice to create the needed stuff the webservice doesn't create stuff in TikiWiki it just serves us some data from our ERP system lphuberdeau, bare with me if I ask stupid questions, I have a background in .net and I had to learn php for this project. sorry, I don't have the whole picture of your system neither do I it's too complex for one person to grasp atleast into all the details. well, someone has to grasp the whole the requiirements yes. But how to implement each adn every thing... kind of hard :P but lphuberdeau, I need to tell my boss why I wasted 6 hours on coding nothing, so it would not be incorrect if I told him "A well regarded tiki dev, told me that PHP vars in userland is a no no, and you guys designed against it" ? well, if you do send variables, you need to be selective about it I'd prefer to keep to the standard solutions I'm a fan of "best practices" and variables in userland is basically a bad idea. But until you told me abou tperspectives and category jails I was at a loss. The good thing is, that I can automate this in pure SQL if I studied the database? tikiwiki: 03sylvieg * r35145 10/branches/7.x/lib/wiki/histlib.php: tikiwiki: [FIX]rollback: big hack for wysiwyg/tiki rollback to preserve tiki html page. tikiwiki: Usually when you go for wysiwyg you do not get back - so if the latest version tikiwiki: is tiki, probably the rollback is tiki : TODO a column wysiwyg in tiki_history lphuberdeau, do you know how well it will scale? - I mean if we have 6000 projects... We would need 6000 workspaces/perspectives. well, the UI will need some tweaking for the switcher especially for the unlucky ones who have access to everything Most people will since everyone can work on all projects. It's just to not overload the user with information and to speed up workflow. you'd probably want to switch the drop-down for autocomplete then but perspectives are quite simple lphuberdeau, So if we have a template for how the front page of a projet should look we could set it up to use the "standard category id" and the perspective would be the one changing the value of the "standard cateogry id" ? well, the category jail does the trick, but that's going to filter most of what you see in tiki listpages will be limited to the specified category and such ah. so the category jail is a "property" (in lack of a better word) of the perspective, that defines which categories are relevant for this perspective? it's a preference in tiki, but perspectives allow you to override those it sounds really smart and what we need. only thing is I am wondering why our consultant did not think of it. well, it has not been exploited so much (introduced in 4) Hmmm. rehi I use perspectives in an intranet (still a pilotproject not much used) I use perspectives to switch between different workgroups Merbster: it might be important to know, that still all content a user is allowed to see is visible in all perspectives but you can have complete different menus, modules, theme etc. in a perspective I would describe perspectives as a different layer - a different viewpoint - of the same website. as far as I understand, category jail an such limits the search results for ex. tikiwiki: 03nkoth * r35146 10/trunk/lib/tikiaccesslib.php: [FIX] remove options params in json_encode as it is not supported in PHP 5.2 fabricius, I need to filter the data of for example the categories plugin or articles pluign according to categories (category id is what identifies a project uniquely) Merbster: you mean, that you want to list the categories, but to filter in a way, that only certain categories are shown? exactly since we are using categories to uniquely identify what pages, articles etc. is related to what project. the modules needed loaded, will mostly be the same, only the content will change according to the selected project. Do we talk about modules in the left and right column? we're talking modules, plugins you name it ah wikiplugins on the wikipages basically all modules or plugins that lists items from the wiki and that can filter by category ID should be supplied with the category ID of the user selected active project. So that the user can go from a wikipage to an article to a blog. and it will filter according to the same category ID on all pages But the user only specifying what is the active project ONCE. So that going from a blog to an article doesn't force the user to define which project is the active one, AGAIN. fabricius, Do you understand what I'm trying to explain? :) Merbster: trying to ... so I'll continue asking hmmm I did understand now, that you want - for example - one wikipage for several projects and the wikiplugins "realise" in wich project/category/perspective the user is? fabricius, yes.! so that the id of the current project, is saved, even though you navigate to a new page (whatever that page might be) why not using perspectives for that and each project does have it's own menu where you list/link all categorized objects you need the user will be moving about the wiki. doing certain tasks like filling in a stakeholder analysis I feel, that that what you want to explain is not so much different than that what I am developing - MAYBE whatif settings are the way, that if you start a new wikipage in a certain perspective, the wikipage is automatically categorized in the related category so being in a workgroup A = project A and I edit a new wikipage, it would be categorized with the related category A fabricius, that would be a use case we would have to solve yes. yes. But we have custom modules so it's not JUST wikipages, articles etc. schemas of different kinds... Stakeholder analysis' etc. would also be on the page, some would have forms to ease the workflow. and if you are searching in a project, you wanna have search results mainly of content in that project Yes. If we're on project with hum 5555-01A I don't want forum posts, articles etc. related to 6666-01A So each project (in your case workgroup) would have their own workspace. based on perspective and category yes Ofcourse there would be a perspective that shows everything. the default perspective yes. if you start with a new installation, you would setup some perspectives and for example assign the switch-perspective module in the left or right column I would probably copy the switch perspective module and edit it to fit my needs since we can have like 6000 perspectives or more all pespectives would look exactly same as your default Yes, but the perspective would filter on category Id. Nothing else. so far atleast. you might need a "search perspective" function Yes. Another thing is that we're using categories to indicate the type of page for example if we have a project front page. but I for now (am not a coder btw) would like to stay basic it would have category id 12 AND 15, where one indiciates that hthis is a "Project frontpage" and the other would indicate the project itself. just to discuss the general setting I hold an AP degree in computer science and I am currently studying for a bachelors degree. cool I just finished the last project with an A. last project of the semester that is. why you want to assign two categories to the "Project frontpage"? do you want a category ""project frontpages"? back to what I said before: each new perspective would look exactly same than your default = your main website then you can set everything what should differentiate from the default, for ex. different menu, different sitetitle, different theme, different module and you can put the related categories (providiveed you did set them up before) in the categoryjail of every perspect ive not so much an effort, I would assume challenge might be s.th. different when you will get a huge number of projects, maybe it will become a bit different to keep an overview about the combinations of category ids and perspective ids and such hmmm. some day I started a testinstallation on that and found it very handy to have perspectives and categories with the same ids but after a certain number that will not reallystay parallel and setting up one set of category/perspective/permissions => workspace - project - workgroup is not much work but if you want to setup hundrets, time sums up and you need automatisation so => data channels and/or yaml fabricius, I need to create thousands. I assume yes. automation. for how many people? we're 110 employees iirc ah automation - sorry for bad english ;-) np i understand you ^^ I study at VIA University center, we have international students... French people are BY FAR the worst english speaksers yes - it seems not to be really bad hehe earlier on you talked about strings and script and jquery stuff ... what I did not really no too much about (at least in the context you asked for) is that related to the same project? Yes and what would be your nexts steps now? Well. I skippe dthe jquery stuff since it was a 3rd party module we bought and thought to use but it's simply too much of a hazzle to use it. And it's for the "admin interface" of one of my modules. So I might figure out a work around later, but right now I am just creating stuff in the database manually I am in no way a javascript expert. I had to learn php for this project. javascript will soon come too dso you might become one of our tikidevs perhabs ;-) It might well happen. But it depends on alot hey guys hello overseer how do you set the max upload size for tikiwiki? overseer - if you tried everything inside tikiwiki, you should check your php.ini file overseer .. ah .. wanted to mention the same @overseer: see faqs http://doc.tiki.org/tiki-index.php?page=Tiki FAQs php.ini http://doc.tiki.org/tiki-index.php?page=Tiki+FAQs haha! thanks guys very helpful this morning i did try setting it in the php.ini file. Do I have to restart apache or something for that to take effect? overseer - yes because it doesn't appear to have fixed it ok every change in your config files equals a restart ok, thanks Merbster: Do I understand right, that you consider Tiki as the base for the Intranet/Project website and now you want to checkout, if it would suit, respectively if Tiki offers what you need? Or do you already work with Tiki? I am allready building the solution with the rest of my collegues with Tiki ... ? might seem to be a silly question :-D can anyone send me a link on how to restart apache? overseer - windows or linux? linux but there exist no silly questions except the never asked ones overseer - try writing apach hit tab until it autocompletes. and then restart so it ends up being apache restart but it depends on your distribution Either google your distribution name and "restart apache" 'apachect1 restart'? does that sound about right? yes but it's an L not a 1 http://httpd.apache.org/docs/2.2/stopping.html Google is your friend. :) yes it is it gives an error: httpd not running, trying to start (98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs yeah, it appears that apache isnt running scratch that found it thanks guys! New Forum Posts: Version Control/Archives in File Galleries - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41693 hey guys, any idea why my wysiwyg drop downs for font dont have any options? overseer: not really< tikiwiki: 03lphuberdeau * r35148 10/trunk/lib/core/Services/Tracker/Controller.php: [MOD] Add support for options containing multiple values is anyone here familiar with LDAP settings? does anyone have any info about the WYSIWYG editor drop downs (for font, size, format, styles)? they arent working for me they arent working for me either oh...:P hi rqik rwik* i can only speak for 6.x wysiwyg. i've never used font/size but for styles I remember they worked I remember they depended on some kind of special css, maybe that has gone missing you can see if that is in fact the case by applying the style and then looking at source to see if there is in fact a style applied thanks for the tip. I actually figured it out, and it had css applied. I commented out some overflow statements and now they work fine. can anyone explain to me what this means in my tiki logs: "Unknown Net_LDAP2 Error (-1)" im trying to connect to AD for authentication, and it doesn't work when I'm connecting using SSL and port 636 There's no firewall issues that I can tell, so it should be able to connect. I found this forum post, which is similar to my problem, but it doesnt look to have a real solution: http://tiki.org/tiki-view_forum_thread.php?forumId=17&comments_parentId=40863&thread_sort_mode=commentDate_asc#comments ok, i think im on to something with my ldap issue anyone here know where the ldap connection conf file is located for tikiwiki ? overseer: amette might know polom amette: any ideas? im trying to set the location of the cert to use overseer: there is no ldap connection conf file for tikiwiki chealer is right - it is in the settings ok any idea how i can get more debugging informatino for troubleshooting? overseer usaully I use the tool ... I do not remember the name taht is in the doc.tiki.org page about ldap ok, i think i got some more informatino to help my problem thanks gotta run! overseer: well you know that there's a preference for LDAP debugging? hey, im back. I did check the preference in the login preferences area. Is that the only one? I have a problem with image slideshows on wiki pages overseer_: well you could raise the general error reporting level in the General panel if you didn't do it already when I click on the "pretty pears" image on http://doc.tiki.org/PluginImg&structure=Documentation+TOC a slideshow opens, like I want it for my site chealer: i will try that when I click on the images on http://papatour.eu/Bilder-von-der-Tour-2011-wikisyntax the picture does open in the browser window (replacing the website) s.th. seems damaged, or missset, but I do not find out where to look for have this problem since a while but as I need to put in the pics after the tour now, I need to find out anybody an idea, where to look for the causing issue? actually running 6.2 does anyone know of a way to expand all text areas hidden with the "+" syntax on a wiki page? need advice on TRACKER with pretty tracker and field mandatory. DOes it make sense to add a star close to the input text? .. humm in tiki6 the star is shown... /me fixing in tiki7 New Forum Posts: loop with screnn "Tiki Installer Security Precaution" - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=41696 tikiwiki: 03chealer * r35149 10/trunk/ (4 files in 3 dirs): augment anglicisation of preference "blogues_feature_copyrights" tikiwiki: 03sylvieg * r35150 10/branches/7.x/lib/wiki-plugins/wikiplugin_tracker.php: [FIX]TRACKER: show mandatory when using pretty tracker hi all i have 48m memory limit but i get blank pages in admin on features and login. any idea whats wrong? it happens since i enabled a lot of features tikiwiki: 03marclaporte * r35151 10/branches/proposals/6.x/lib/setup/prefs.php: [bp/r35100] [MOD] change default for wiki_edit_icons_toggle as discussed at http://thread.gmane.org/gmane.comp.cms.tiki.devel/20948 any idea what i can do to fix this problem? try clearing teh tiki cache indro: apply the Debug Mode Enabled profile i did that already tiki cache where is that? indro: what are your PHP settings, display_errors and perhaps error_reporting? debug mode enabled profile its not my server but tiki php info shows 48mb memory limit is error reporting setting in admin general on? oh sorry indro I thought you said you had applied the profile already. you and nkoth are both in turquoise and 5 characters long :-) indro: in the profile admin panel nope its disabled i enabled it now Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 323464 bytes) in /var/www/web100/html/echte-demokratie-jetzt/tiki/lib/smarty/libs/Smarty.class.php on line 1256 indro: 48 MB is not that much for Tiki unfortunately how much it needs? indro: did you check http://doc.tiki.org/tiki-index.php?page=Requirements&no_bl=y#PHP ? nope, thx for the link will ask the hoster if he can change the setting go to sleeo now, gn8. ;) tikiwiki rules. ;) New Forum Posts: Javascript warnings and site logo not showing - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=41698 tikiwiki: 03xen216 * r35152 10/trunk/ (templates/tiki-webmail.tpl tiki-webmail.php): [NEW] ability to categorize group webmail accounts