Merbster, do a check if _SESSION['current_perspective'] == the correct pers before redirecting actually, before setting _SESSION['current_perspective'] and redirecting nkoth, I had that allready, but I found a misplaced return in my database code. so it would allways return 0 after checking the first row of the table. Now it works I could almost cry is your db code generic based on the exisring category jail or did you do something else? nkoth, I just did a select on what was there Merbster: I know you are rushing for a deadline right now, but could you paste a diff of the files you changed onto a new wiki page on dev.tiki.org as soon as you get a chance? I could review it and see how best to make this a feature sure. I will do it tomorrow. sounds good. Thanks. ^^ Good night. and big thanks to you nkoth and chealer :) I'm very suprised at how friendly the tiki community is, I have truly never experienced people who has THIS much patience with PHP noobs as me ;) Sylvie don't answers. I am locked by something old but forgotten. Hi, it's a long time I couldn't be present here and niether work on tiki. I am re-packing all my applications and devs on new computers and re-install. With 6.x current that I update, I get two (or more) problems (I have some sites not yet updated to 7.0). I had a test site running with 6.x (6.3 with updates). I couldn't login as admin. - Old one the admin with reinit (because it was refusing my password) of admin users-users record generated "invalid password", I think that I have well checked the rights of the group but ? - I test installer (I must because I have updated), It still shows the wrong message about DB encoding (no UTF-8) but it is ? I Don't remember why this wrong message, may be the test is on the data chanel default encoding not data base. If I remember that it is reset if the option api-tiki=PDO is set in local.php. No really matters the problem is to be able to login as admin. I failed. I don't remember how to solve this. I could not find back the notes on the admin password pbs Trebly: do you mean doc.tiki.org/lost+admin+password? remember that the password must meet the length and complexity requirements set night night chealer: about the line 2570, afaik this was a problem in the source file and not in get_strings.php regex. it has been fixed by someone else. get_strings.php is keeping it because it has been translated. chealer: huh... I have no idea why a backslash has been added. let me check. No, during development between 5.x and 6.x the way to get admin rights had changed. There was an SQL update, more they where problems with UTF-8 if the db connect is first latin1, it is setup for the session to utf-8. To reset the admin password, I had developped an SQL request with reset to default after installer. I run it, because I got an invalid password (not normal), after reset I still get the "invalid password" for admin default. I don't understand what happens, and don't find way to solve (make test which gives informations). Others users can login. ??? chealer: odd, in lang/fr/language.php there is only one backslash and not two as trac is displaying Trebly: I don't really understand the issue you are facing, sorry I can't help chealer: anyway, the idea was to remove the invalid strings starting in line 6047 Sorry if I am not clear. 1- I could not login with my current admin 2- I reset directly the admin record in users-users table No-result, I don't understand what can happend on one of my test sites using 6.x how long is your password? try a longer password (I think it is minumum 5 char in tiki6 by default) It is the default at init it is admin and the replace makes an md5 "adminadmin" as for a new install I'm trying my hand at building a custom template and have been looking around at what is where, would I be correct in the assumption the lib/smarty is the Smarty library and lib/tiki-smarty is the files to populate the page content? ... in an effort to understand the Tiki templating system better, I'm also looking to convert my local copy over to Smarty3 (in line with my other sites) kstingel: lib/smarty/ is the Smarty library kstingel: lib/smarty_tiki/ contains Tiki's Smarty plugins kstingel: Smarty templates are in templates/ chealer: so (later) when I create a new plugin, I would put it's main file in smarty-tiki? kstingel: in smarty_tiki, yes within templates/ I see 2 tiki template files (tiki.tpl & tiki_full.tpl) which is the "main" tiki template? ... so that I can see what's going on I'm trying to create an all-in-one template that I can keep to one side (not actually included in Tiki) and refer to so that I don't inadvertantly place something in the wrong section kstingel: as I said I strongly advise you to use the Smarty template usage indicator and see for yourself in HTML comments which templates are being used I've turned on the usage indicator, but I don't see anything on the pages ... or should I be looking at the source for the page? kstingel: you unfortunately have to look in the source, indeed ahh, that explains a lot ... I thought I'd broken it again re good morning luciash interesting, i just need the same (switch to perspective if the category jail == object in category) today yo chealer :) actually i wonder what is the category jail good for, when it doesn't stay in the perspective view on the categorized pages... only if i put ?perspectiveId=1 to the URL it correctly switches the perspective view luciash: what do you mean by "the perspective view on the categorized pages"? chealer: i mean exactly that what i wrote :) cannot rephrase luciash: do you mean the perspective view*ed*? just example: i have category id 1, wiki page Foo which is categorized to category 1 and perspective 1 with category jail set to category 1 luciash: if not what is a "perspective view"? perspective view is what you see by the perspective luciash: yes... by the common sense i would expect to view the different site title i have set for that perspective when viewing the categorized page but it doesn't work for me unless i "force" it in URL by adding the perspectiveId=1 a pity nkoth is not here already perspectives must be a complicated concept. it's always a pain to discuss them luciash: you're not necessarily in a perspective just because you're viewing an object in a category part of its category jail you need to have switched to that perspective yep, i switch there by that URL param i believe... but why it doesn't stay so ? another link and the perspective switches off luciash: I wasn't aware that ?perspectiveId= allowed you to switch perspective. is that a temporary or permanent switch? afaik it looks as temporary from my point of view :-p chealer: you know other params ? ah, i see, it is actually described well here: http://doc.tiki.org/Fonctionnalit%C3%A9+Perspectives (dunno why that french page name) luciash: no, I only know tiki-switch_perspective i see i read on that page, that in Tiki7 &back could be used iiuc it should switch and go back to the referrer but that's not exactly the thing i need, anyway ah, that's the correct link: http://doc.tiki.org/tiki-index.php?page=Perspectives&no_bl=y btw ;) also, what confuses me is why there's "Category Jail" field on tiki-admin.php?page=category ? tikiwiki: 03chealer * r35274 10/trunk/lib/core/Tracker/Field/Category.php: [FIX] Admin Trackers: Category field type Input Type parameter description - "Multi-selection drop-down" -> "List box" luciash: what do you mean? the pref needs to go on one of the panels, you see a better one? i thought by default it is not used... only when you define perspective you need to set that to the id of the category you want to jail the perspective to luciash: oh, yes, it could be presented that way, but the way perspectives are managed currently is that all their preferences are global preferences. category jail is unlikely to be used without perspectives, but you could still set a global category jail ah, ok i think i have read something about that you can use category jail without perspectives, so it makes sort of sense wah, trackers administration has done a step forward in trunk... tikiwiki: 03chealer * r35275 10/trunk/ (lang/fr/language.php lib/core/Tracker/Field/Category.php): [FIX] Admin Trackers: Category field type Help parameter description - s/pop-up/tooltip/ in "Displays the field description in a help pop-up" tikiwiki: 03chealer * r35276 10/trunk/ (2 files in 2 dirs): [FIX] Admin Trackers: CountrySelector field type Sort Order parameter description - s/of/whether/ in "Determines of the ordering should be based on the translated name or the English name." tikiwiki: 03chealer * r35277 10/trunk/ (lang/fr/language.php lib/core/Tracker/Field/File.php): [FIX] Admin Trackers: File field type List View parameter description - s/attachements/attachments/ tikiwiki: 03chealer * r35278 10/trunk/ (lang/fr/language.php lib/core/Tracker/Field/Files.php): [FIX] Admin Trackers: Files field type MIME Type Filter parameter description - uppercase "MIME" tikiwiki: 03chealer * r35279 10/trunk/ (lang/fr/language.php lib/core/Tracker/Field/Files.php): [FIX] Admin Trackers: Files field type File Count parameter description - s/amount/number/ in "Maximum amount of files to be attached on the field." how would I go about organising my Groups and Categories so that Group abc reads content in Category abc? you need to configure permissions for the category do you want group ABC to be the only ones who can read content from ABG category? ABC* Has anyone else experienced problems after submitting a tracker? My browser just freezes and 3 mins after i get error 500, but the tracker are saved as normal. basically ... I'm trying to work out the correlation between the 2 I'm also trying to work out: if I have GroupAusers and GroupBusers do I need to create 2 seperate Groups to provide permissions to GroupAdmins or can I just create a (Group) GroupAdmin and assign them the permissions? I haven't found a "Role" section yet, that would make things simpler ... I could just nominate elevated rights that way you have to do it by groups and i don't see any problems with adding 2 groups to a group in the short term, there's no problem .. we only have 2 games we cover, but as our Community grows (and our Games are added to) I can see it getting out of control ... I'm trying to sort everything out whilst we are still manageable rather than have it all collapse once we add another 5 or 6 games to our listing ... I'm using TikiWiki as the frontend for an MMORG Community, so we can compile our own (more specific) help pages for the Games we currently play Good morning. ... I'm also seriously considering replacing my current WP Blog (on a different domain) with a TikiWiki :) hi Merbster Is it possible for "normal users" on tikiwiki.org to create their own Wikipages? if you enable it via Admin, yes ... checking the location for you kstingel, I was thinking the actual tikiwiki site :P But I found it. I think that's in "My Tiki" but not sure tikiwiki: 03jean-lucnavarro * r35280 10/trunk/lang/fr/language.php: [FIX] typo/capitalization/some changes in French translations thanks Filipus Polom tikiwiki: 03lphuberdeau * r35282 10/trunk/lib/wiki-plugins/wikiplugin_list.php: [MOD] Allowing to select the field for content filtering hi all i'm alone who is this changi67 ? no idea it's the men sitting just next to you he's everywhere. You are cornered hi garypp Yes hi. changi67: r u at tikifest? garypp: yes garypp: just next to torsten and jonnyb we could start discussing about 960 hi garypp changi67: ok, i will address everyone. changi67: no problem hi jonnyb garypp: have we met? Polom having fun at the tikifest? lphuberdeau: hi lphuberdeau: only one vital thing missing... You have my best wishes. seems the trolls are out :) good morning hi guys, yes, we are having fun well, 2 maybe including no working voip lphuberdeau: i've just retest with tracker view and it did not show anything maybe it's because i add a tracker field with map :) yes lphuberdeau , if we do not count the last traditional half hour tryiing to setup ausio audio working voip soon in "Tiki Suite"tm :-) johnnyb: no we have not met before. I am new to tiki changi67, make sure some of your tracker fields are visible in the list... it used to be a default on, but I changed that I think but you work with pondstone? (i met some guys from pondstone in NY) so letÅ› talk about grids Met with Nelson and Pascal StJean already. Yes. 960GS. lphuberdeau: i've checked on pkdille website, he get the same error no table at all 960GS: I am not happy with what is done already. 960GS: With what I did! lphuberdeau: just create a new tracker with 2 field 1 text area and 1 location ok, i reviewed your 960 commit and get the idea - there are a couple of bits where i could be done in a "more tiki" way but generally looks ok lphuberdeau: insert 2 items, and then try to display it lphuberdeau: i get nothing lphuberdeau: on a fresh install i guess i need to hook in a 960 theme css to see the benefit, yes? changi67, tiki-view_tracker.php displays the item list, but that won't work if the tracker is not configured to display any field in the lsit lphuberdeau: by default should it be display it ? 960GS: In skeleton looks like fixed_width is enabled. changi67, that can be debated either ways garypp: do you think, an advantage would be, that we could use much more themes/style-templates, respectively have the 960gs themes of other cms easily imported to Tiki? lphuberdeau: will try tonight I've always been annoyed by the visible in the list by default as except for the first few fields, that's never what you want fabricius: Always still have to change/match styles in tiki! fabricius: it does not make it easier to rework other themes fabricius: Makes it easier to design with/for because layout is standardized/symmetrical fabricius: I have redone old style tiki.tpl with grid system extending existing classes and also works. fabricius: I like oocss but will need to modify entire stylesheet and template for tiki!!! garypp: how does 960 relate to lite.css? afk for a few minutes jonnyb: it doesn't. seems to me like the oocss grid does exactly the same as 960gs with different class names so how would the current left & right columns work? member:jonnyb: 960_16 is loaded last lphuberdeau: yes they do work similarly lphuberdeau: Duane wants to design for 960GS but grid.css could be used instead. so we'd keep lite.css and the current ordering of cols in tiki.tpl? i still would like to see what i can do - i have trunk here with style_gs960 switched on and skelleton style selected jonnyb: well I kept all css (lite/design/layout) and added 960gs css. I do not know what is required, I assume design but maybe noy layout? and i'm looking on 960.gs but don't see and examples i can play with jonnyb: 960gs is very simple and it will always require direct template mods. well, layout.css has stuff like positioning for .tiki_register_login etc - so i think you'd need it usually yes, i read the css - looks quite like what i added to css/admin.css a long time ago to do 4 column admin layouts jonnyb: I don't know tiki so well, I didn't mess with very much! no probs i'd say it's work keeping johnnyb: I want to go back to the old-style tiki.tpl and just extend the current containers with the 960gs classes. johnnyb: This way theme designers can see where to hook into the 960gs css. adding a few classes should not hurt anything, then you can just optionally load the CSS rehi that's what happens now lphuberdeau: yes, for now. looks fine (i'm planning on a little optimisation ;) ) but what i want is a demo of what the point of this is johnnyb: There are 2 tpl's in tiki.tpl in now, uses one if style_960 pref on. at the moment i can't see anything johnnyb: It needs to be built upon. It allows to layout page containers more sensibly. garypp: did you add another tiki.tpl? i can't see one jonnyb: In tiki 8 /trunk looks like you've duplicated all the smarty in templates/tiki.tpl and put an {if style_960} test around it jonnyb: very basic jonnyb: and useless! also very unlikely to be maintined... jonnyb: if you look at modified layout it uses grid system i need to see what's going on between the 2 "versions" of the central tiki page jonnyb: New style template almost works with existing theme's except css margins are wrong which new templates? i can't find one (you mean the if/else thing you've done in tiki.tpl) jonnyb: I have version with grid classes extending existing containers in old-style tiki.tpl and for now I am going to replace current one with that in /trunk there's probably a better way do you have an online demo ? but at least now i see what everyone's been talking about :) changi67: no nothing accessible garypp: ok i think i agree r35211 should be rolled back and redone in a more tiki way, but not just now 960GS: For our (pondstone's) needs we can use the 960 tpl for new works, we can discuss implementation more. i still don't see what you mean by "the 960 tpl" it would be better to make a new theme called 960 and have a new tiki.tpl in there like i did with mobile inside tiki.tpl are two html pages, one is old tiki.tpl style (left col and middle are nested) and other one is "normal" jonnyb: +1 jonnyb: Yes that is more realistic right now. the question is: is 960.gs _the_ one to go with? i'd tend to think Gary C (chibaguy) would have the best perspective on this but if we add it as a new "top level" style, we can have several of them... jonnyb: It depends upon what you want. Use oocss and you have access to all the other benefits. also then it doesn't need to be a pref or have any "code" there are more css systems in the discussion - for ex. oocss what would be more a framework ok, not looked at oocss and seems to need more changes did not yet look closer to oocss 960GS only layout and very basic. OOCSS uses extending classes to develop css styles 960GS: The intent was to come up with a more intuitive html design for the 'index' page. you can get stuck forever analysing frameworks and still make a bad decision, if you ask me, 960gs is a good enough solution and someone did work for it, so I would end the framework debate right there unless someone comes up with a competing implementation TIKI.TPL (7.0) is not easy to rework as div's are nested and existing styles are difficult to work with. lphuberdeau: +1 lphuberdeau: I am going back to old tiki.tpl with grid_X extended classes lphuberdeau: +1 but i will re-work it into being a theme rather than a pref jonnyb: skeleton960 ? seems 960 is quite a bit more compatible with tiki themes than i was expecting changi67 has just found 960 for jqm well, it's kind of a core issue to me, you can have multiple themes that use the grid system part of it remains a pref to load the CSS properly but yes, overriding the tiki.tpl through a style makes sense garypp: you mean as the theme name? i thought 960.gs would be more self explanitory jonnyb: sure. http://jeromeetienne.github.com/jquery-mobile-960/ 960GS: I have to go. I will fix what I have done and create 960.gs theme with my tiki.tpl and then we can discuss implementation further. 960GS: Please continue comments on tiki-devel. ttyl. have to go now bye polom rodrigo_sampaio1: ping hello chealer you saw my answer yesterday? rodrigo_sampaio1: yes. regarding the string at :2570, the backslash is not there because it was removed by jean-lucnavarro in r35262 I wondered if that was an intentional change (the second backslash) chealer: no, it was not intentional rodrigo_sampaio1: so basically you added a backslash and jean-luc removed it, but I don't know if either of these changes was intentional rodrigo_sampaio1: your addition was not intentional? chealer: yes, it was not intentional. chealer: the only thing I did was to run get_strings.php after changing the regular expression to remove a few invalid strings chealer: I might have added that backslash unintentionally chealer: anyway that string should be removed as well but it need to be removed manually since the current version of get_strings.php keep unused strings if they have been translated rodrigo_sampaio1: OK rodrigo_sampaio1: thanks. I would just tell you it might be good to keep an eye on backslashes and apostrophes, there seemed to be a problem with that (one vs 2 backslashes) a couple of months ago already chealer: ok, thanks for the heads up. i was not aware of this backslash problem. chealer: you know how to reproduce the problem ? rodrigo_sampaio1: no, I think I noticed that strings of both escaping versions existed, but I didn't track where they came from. it could be interactive translation chealer: yes, I agree. can be interactive translation. chealer: I will keep an email on it s/email/eye/ :) rodrigo_sampaio1: ah. I was jealous of you getting a new sense :P rodrigo_sampaio1: how is the pt-br translation going? chealer: no real progress in the last months. I did translate only a few strings just to test improvements I did. rodrigo_sampaio1: right. too bad, German and French seem to have enough action that you could catch if you could review German is really promising chealer: yes, it is great to see the amount of work both French and German translators are doing tikiwiki: 03chealer * r35283 10/trunk/lang/fr/language.php: French: some improvements on r35262 does somebody know if {img on a file that is a bmp works it displays only the bmp image ahah seems it is onkly the thumbnail tikiwiki: 03chealer * r35284 10/trunk/lang/fr/language.php: French: remove some problematic old tracker string it is gd that does not support bmp - only wbmp tikiwiki: 03lphuberdeau * r35285 10/trunk/ (7 files in 5 dirs): [MOD] Adding a new feature to allow users to mark their favorite objects (work in progress) tikiwiki: 03sylvieg * r35286 10/branches/7.x/templates/tiki-pagehistory.tpl: [FIX]history: label the column not to have an empty column polom