marclapo1: joined #tikiwiki Tiki|bot: Recent Bug: - Newsletter autoclip url for article link or image is relative (sould be absolute) - http://dev.tiki.org/item4768
joined #tikiwiki fabricius: joined #tikiwiki luciash: polom
long time no polom from me :) chibaguy: joined #tikiwiki
polom marclaporte1: joined #tikiwiki marclaporte: joined #tikiwiki Tiki-KGB: 03nkoth r47750 10trunk/lib/core/Search/Formatter/Builder.php * [FIX] Allow 0 as possible alternate luciash: chibaguy: hi gary chibaguy: hi luci :-)
How's everything? luciash: mostly good :) chibaguy: That's good. Same here. marclaporte: joined #tikiwiki marclaporte1: joined #tikiwiki marclaporte: joined #tikiwiki
joined #tikiwiki marclaporte1: joined #tikiwiki marclaporte2: joined #tikiwiki marclaporte: joined #tikiwiki redflo: joined #tikiwiki rinnan: left #tikiwiki marclaporte: joined #tikiwiki rinnan: joined #tikiwiki marclaporte: joined #tikiwiki marclaporte1: joined #tikiwiki chibaguy: joined #tikiwiki marclaporte: joined #tikiwiki Tiki|bot: New Forum Posts: Caching system and php hacks - http://tiki.org/tiki-view_forum_thread.php?forumId=24&comments_parentId=49320 Tiki-KGB: 03gezzzan r47751 10trunk/templates/modules/mod-breadcrumbs.tpl * [ENH] Adding bootstrap class="breadcrumb" pianoliv: joined #tikiwiki GillesMM: joined #tikiwiki arildb: joined #tikiwiki jonnyb: joined #tikiwiki Tiki-KGB: 03jonnybradley r47752 10trunk/lib/wiki-plugins/wikiplugin_listpages.php
[REF] listpages: Remove duplicated code in plugin (merged from 11.x) following LPH's superior fix in r47747
03gezzzan r47753 10trunk/templates/tiki-admin.tpl * [ENH] Adding some bootstrap classes Tiki|bot: New Forum Posts: Translating labels in jscript - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=49323 Jenser: joined #tikiwiki Tiki-KGB: 03jonnybradley r47754 10trunk/templates/trackerinput/files.tpl
[FIX] vimeo: Better (client-side) validation for Vimeo URLs and make validation errors appear on the correct input Tiki|bot: New Forum Posts: Dutch translation - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=49324 Jenser: left #tikiwiki rodrigoprimo: joined #tikiwiki Tiki|bot: joined #tikiwiki arildb_: joined #tikiwiki Tiki|bot: Recent Bug: - Need to restart browser after accessing a closed site - http://dev.tiki.org/item4769
New Forum Posts: Flemish translation? - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=49329 abradley: I'm using the categories module. Is it possible to have a new post by a user in X group automatically be assigned Y category? chibaguy: joined #tikiwiki arildb: joined #tikiwiki fabricius: joined #tikiwiki rinnan: joined #tikiwiki arildb_: joined #tikiwiki xavi: joined #tikiwiki
polom arildb: Hi xavi xavi: hi arildb
I didn't have time to give it another go at the frist 2 screens in the user wizard yet
I can invest some hours today
if I can't manage to fix it, I'll delete it from trunk tonight
to avoid any issues arildb: ok Tiki-KGB: 03xavidp r47755 10trunk/lang/ 03ca/custom.js_example 03es/custom.js_example
[ENH]Add custom.js_example files like the one in the lang/fr folder. Thanks jonnyb for reporting that this improvement existed already
03xavidp r47756 10branches/11.x/ 03lang/ca/custom.js_example 03lang/es/custom.js_example
[bp/r47755][ENH]Add custom.js_example files like the one in the lang/fr folder. Thanks jonnyb for reporting that this improvement existed already Caarrie|away: joined #tikiwiki Tiki-KGB: 03gezzzan r47757 10trunk/templates/ 10tiki-admin.tpl 10modules/mod-switch_lang.tpl * [ENH] adding bootstrap classes xavi: arildb? arildb: hi xavi xavi: let me see if I understand where I'm stuck
I'm at the first screen for user preferences
Real Name: (empty)
it seems that the value should come by some $_REQUEST value
$tikilib->set_user_preference($userwatch, 'realName', $_REQUEST["realName"]);
but $_REQUEST shows just 3 values: url, wizard_step and continue arildb: yes, it should in the onContinue function. Assuming you have given the field the right id/name xavi: in the onContinue of the previous step, right? arildb: You are in the onContinue function?
well... the wizard first calls the onStartPage for the first page
then when the user clicks save and continue, it calls nContinue for the first page, then onStartPage for the second page xavi: I'm on the onStartPage of user_preferences_info.php, which is the screen just after the welcome screen arildb: checking xavi: well, I've edited the files a bit...
adding some global variables that where missing, etc.
and added some dirty var_dump calls arildb: There you have the text field "Real Name" with the html name "realName". You should receive this value in $_REQUEST in the onContinue function for the same page handler xavi: in the onContinue of the same php file? arildb: always yes xavi: mmm
I thought onContinue was used after the user clicked at "save and continue" arildb: each page handler sets up and processes a single page xavi: my initial problem is that the form doesn't show the Real Name which is already in the database arildb: If you want to pass values between pages, you must use preferences or some other external value
yes, that's correct it is called after, but the wizard engine will call the same page handler to process the data xavi: so the form is not fetching the stored values (before any attempt to change them)
do you knwo what I mean? arildb: No it doesn't. However, if you use {peference=blabla}, it will. SInce the preference "plugin" will do that
I hope I know what you mean xavi: {preference=blabla}. Mmm, remember they are user preferences, and not site prefs arildb: You will receive the values (defined in the corresponding tpl file) in the $_REQUEST variable in the onContinue function for the same page handler
right. So, you must do this manually xavi: can you make that second screen fetch the stored value for admin (by default it is "System Administrator", as you can see when you visit the tiki-user_preferences.php standard file) arildb: That is in onStartPage, load the user prefs and fill the template with values
The user can then edit the values
Then presses save and continue j0n3: joined #tikiwiki arildb: The wizard passes the selected values in $_REQUEST to the onContinue function for the same page handler
I am not sure what you mean in yur latest comment
However, Having cross-page communication complicates things. As it is now the processing is confined per page. Thus we can reaarange pages without breaking any logic
...almost try...however, detail wizard pages do read the preferences set in previous steps j0n3: joined #tikiwiki arildb: s/almost try/almost true
If you need information from previous pages, you should load the settings from the database, when the next page is started. Thus use the database to "communicate" values. It represents what the user has already chosen xavi: I don't know if I need that
I just want the first screen of user preferences, to show the values stored already for that user marclaporte: joined #tikiwiki Telesight: joined #tikiwiki xavi: ok, thanks arildb: first value shown :-) arildb: :-) Jonatura: joined #tikiwiki
hey
left #tikiwiki arildb_: joined #tikiwiki fabricius: juhu Tiki-KGB: 03xavidp r47758 10trunk/ 10lib/wizard/pages/user_preferences_info.php 10templates/wizard/user_preferences_info.tpl * [FIX]Show and save the right values. Thanks arildb arildb: xavi: 1 more down. Well dne. Still one to go...maybe you will make it by6 tomorrow? xavi: I hope so :-)
Otherwie, I'll remove that work-in-progress file
otherwise robertr_: joined #tikiwiki
Hello all arildb: xavi: You should not use calls like: $access->check_permission('tiki_p_admin_users'); It causes the wizard to stop, if the condition is not met. The wizard should not stop, but handle the conditions, so the user can complete the wizard xavi: ok, arildb, I didn't know. Now I do :-) arildb: :)
xavi: another thing ...."Pick user Avatar" opens a new page so the image can be uploaded. It is best to load this page in a new window/tab, so it can be closed afterwards. It avoid using the "back" button, which doesn't work to well for in the wizard
Makes it easier to step through the wizard pages xavi: ok Tiki-KGB: 03xavidp r47759 10trunk/lib/wizard/pages/user_preferences_info.php
[ENH]Selection of user avatar done in a new window for easier navigation trough the wizard. And checks for complicated cases removed since that is a user wizard viewed just by the user itself (and not by an admin for that user). Thanks arildb
03xavidp r47760 10trunk/templates/wizard/user_preferences_info.tpl
[ENH]Oups. Missing tpl file that should have been in r47759 (Select avatar in new window) arildb: xavi: I am able to step through the user wizard pages nicely now as a regular user. Didn't try all the settings, but the functionality seems to be almost right
Still missing some information to most options though. Can we have information icons on user preferences? xavi: icons: no idea Tiki|bot: New Forum Posts: TikiFestBootstrap November 16-17-18-19-20-21-22-23-24 2013, in multi-city mode (Ottawa, one European city, etc.) - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=49343 Tiki-KGB: 03xavidp r47761 10trunk/lang/es/language.php * [FIX]diff leftovers removed (oups)
03jonnybradley r47762 10branches/11.x/lib/tiki-js.js
[FIX] selections: Behaviour has changed in IE10+ concerning line-ends of plain textareas resulting in IE10 toolbars making a mess.
This tested in IE8 and IE10 (thanks marclaporte)
03jonnybradley r47763 10trunk/lib/tiki-js.js 10trunk * [MRG] Automatic merge, branches/11.x 47745 to 47762 arildb: Maybe it's a good idea to add information about how to get support in the the admin wizard. It could mention the dev-mailing list and #tikiwiki @ irc. What do you think? xavi: arildb: +1
and second screen fixed! :-)
commit in prgoress.... arildb: xavi: well done! xavi: uff, give it a go :-)
there is one thing that I didn't seem to get properly, it seems, at least. WHich is the extra langs that the user speaks
I did set them through tiki-user_preferences.php, and I couldn't retrieve them through the user wizard, it seems Tiki-KGB: 03xavidp r47764 10trunk/lib/wizard/pages/user_preferences_info.php * [ENH]Breadcrumbs are not used here
03xavidp r47765 10trunk/ 10lib/wizard/pages/user_preferences_params.php 10templates/wizard/user_preferences_params.tpl * [FIX]Show and save the right values. Thanks arildb xavi: anyway, it's an advanced feature, so if't not easy to fix for you, I can remove that line from the user wizard arildb: The user wizard may have reached a FIX level, which can enable it to be a part of Tiki12. I also like fabricius idea of backporting it, if it is not ready for the initial 12.0 release.
xavi: Any thoughts on the trigger mechanism for the user wizard?
... and your thoughts on having it in 12.0 too xavi: unsure about trigger mechanisms
I would let it stay in Tiki12, without triger mechanism or with a soft trigger mechanism (an entry in the main tiki menu on the side column?)
or a new user module, that can be removed easily, with a link to the user wizard? fabricius: xavi, arildb with "trigger mechanism" do you mean a link to the wizard? xavi: or some remarksbox at the topbar zone for users, until they click at cancel or complete it once at least, and click at close (and don't open again)
?
anyway, I'm reaching the end of my day arildb: yes, a soft trigger is certainly best at this point. The menu in the side column is an admin menu, though maybe this is enough to make admins aware that this exists, and allow them to integate this link somewhere else if the admin menu is hidden fabricius: +1 arildb arildb: With trigger mechanism, I mean either a link or code trigger which opens the user wizard xavi: the minimum would be to stay "as is", proof of concept to be used with a trigger mechanism in 12.1 ? arildb: yes fabricius: if a link to it starts the wizard, does the wizard has a button to close/stop it? Tiki|bot: New Forum Posts: Inline editing and plugins - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=49344 arildb: Maybe you should send an email to the dev-list explaing the current status and the thoughts on how it should evolve? fabricius: then I think that could be enough xavi: fabricius: run it and you will see (the is a button at the end) arildb: The button to exit the user wizard on the first page should be added xavi: ok, I'll send a short email. Can you add that button? fabricius: I have a 2 day old Tiki12 running - do I need to svn up? xavi: fabricius: yes arildb: xavi: I will add the "exit" button fabricius: ok, so I svn up and test the wizard - need to leave the house now and do it later xavi: fabricius: open it with tiki-wizard_user.php fabricius: arildb, xavi: an eit button should be at the top aswell, not only at the bottom - afaik the admin wizard has it on the top aswell
xavi, ok thx arildb: fabricius: Yes, it is always at the top, but it can be difficult to spot xavi: arildb, and maybe a line in the wiki homepage content :-) arildb: xavi: Yes, that would also make the admin aware of its existence xavi: First steps: "Complete the user wizard"?
admin, and all users that see this default homepage arildb: +1 for homepage link xavi: mmm, I did run out of time :-/ Link in 12.1 then (I'm writing email) arildb: shall I add it, or do we wait for community feedback first? xavi: maybe let's wait for feedback first arildb: yes fabricius: xavi, arild: somehow the way how the user wizard is integrated should be optional to the webmaster/webdeveloper ... a second level link (section level 1) should be included in the menu 42 under "my Tiki" ...
arildb, xavi: if the user wizard stays in Tiki for branching, this link is essential in my point of view arildb: fabricius: In "my" installations the Tiki homepage is gone, and the admin menu is hidden from users. Adding a homepage link make the admin aware that a user wizard exists and can add it where it fits in the site. but a link in My Tiki can also be there fabricius: arild, xavi - in "my" installations I have removed the admin menu and the quickadmin from all users and I have added a hidden "leftflip" menu with 42 and whois online and the quickadmin button ... I suggest to commit this, as it appears to be very practical, but I would need assistance to create a preference for it (should be optional and deactivated by default) xavi: sorry guys, done for the day (urgent housework pending here). email to devel list sent
cheers
left #tikiwiki fabricius: arild, xavi: I am not sure, if it would be a good idea to add another default link or module which would have to be deleted by an admin ... anyway every admin does what he/she wants to do with default 42 anyway after installation - a prominent position at the top of the default HomePage instead seems a vey good idea to me
have to go aswell
bye arildb: bye Tiki-KGB: 03arildb r47766 10trunk/templates/wizard/user_wizard.tpl * [ENH] Add a "large" close button on the first user wizard page Tiki|bot: New Forum Posts: User Wizard (was Tiki 12 Branch) - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=49345 marclaporte: joined #tikiwiki rodrigoprimo: joined #tikiwiki robertr_: Bye Tiki-KGB: 03nkoth r47767 10trunk/templates/trackerinput/dropdown.tpl
[FIX] Do not automatically change dropdown to 'other' selection unless there is in fact a value in the field arildb: joined #tikiwiki astroo-: joined #tikiwiki
hello people