[Xerte-dev] Re: Changing Ownership in Management PHP

Pat @ Pgogy xerte at pgogywebstuff.com
Sun Mar 3 12:31:45 GMT 2013


Maybe set the select list to me multiple (but only ever take the first value) so this way it will scroll more normally?

Pgogy Webstuff - http://www.pgogywebstuff.com
Makers of web things of a fair to middling quality

On 2 Mar 2013, at 10:17, Tom Reijnders <reijnders at tor.nl> wrote:

> Yeah, I figured the selection box of users could be an issue, but then, the selectionbox of users to assign to, will also be an issue. I didn't want to change that right away.
> 
> 
> Op 2-3-2013 10:34, Ron Mitchell schreef:
>> Hi Tom
>> that seems to work fine now.
>> Having said that the main problem here was the Nottingham installation because of the number of users and LO's - it strikes me that drop down menu will be much longer than the installs I've used to test with so presumably Julian will test this now too.
>> HTH
>> Cheers
>> Ron
>>  
>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
>> Sent: 01 March 2013 20:22
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: Changing Ownership in Management PHP
>>  
>> Jeee.... that was an interesting stupid mistake.
>> 
>> Every other LO was not shown, so if you had 9 LO's, only 5 were shown.
>> 
>> Fixed.
>> 
>> Op 1-3-2013 13:27, Tom Reijnders schreef:
>> I'll check....
>> Op 1-3-2013 12:07, Ron Mitchell schreef:
>> Hi Tom
>> sorry juggling other things and very short of time to get everything done before the end of the day :-(
>>  
>> The previous version seemed to work on xampp but not on the Ubuntu server I was testing with.
>>  
>> The new version works on the Ubuntu server and I tested changing ownership of a project which worked but...
>>  
>> I changed ownership, logged in as the new owner in a separate browser and could see and edit the changed project so that bit works and the filtering of users works. But when I select the new owner via users templates I don't see the new project even after logging out and back in again to management. It is gone from the previous owner but isn't showing under the new owner in management even though it is available to the new owner in their workspace.
>>  
>> HTH
>> Ron  
>>  
>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
>> Sent: 01 March 2013 10:13
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: Changing Ownership in Management PHP
>>  
>> Hmmm.... don't know why it even worked here...
>> 
>> Is this one better?
>> 
>> Tom
>> 
>> Op 1-3-2013 10:44, Tom Reijnders schreef:
>> What platform are you on?
>> 
>> Can you send me your version of _debug (in functions.php)
>> 
>> There should be diagnostic info there. 
>> 
>> Tom
>> 
>> 
>> 
>> Op 1-3-2013 10:29, Ron Mitchell schreef:
>> Hi Tom
>> I changed the debug.log path to write to error_logs and set development to true and then tried again but still getting the same message without any error log being written.
>> If I put the svn code back I see all the users and templates.
>> HTH
>> Ron
>>  
>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
>> Sent: 01 March 2013 09:07
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: Changing                         Ownership in Management PHP
>>  
>> Ron,
>> 
>> It indicates the code is basically working, because you get a reply. Something goes wrong with one of the mysql queries though.
>> 
>> Could you please try this one (should be in website_code/php/management), turn on debugging and look in  '/tmp/debug.log' file for 'Query for templates of user' (and the next line)?
>> 
>> Any php errors?
>> 
>> 
>> Tom
>> 
>> Op 1-3-2013 9:49, Ron Mitchell schreef:
>> Hi Tom
>> When clicking on users templates I see the drop down list with names but if I select a user and then view I get This user has no templates at present which isn't correct e.g. if I select my account which has lots of LO's I get the same message.
>> HTH
>> Ron
>>  
>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
>> Sent: 01 March 2013 07:19
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: Changing Ownership in Management PHP
>>  
>> This should be it...
>> 
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130303/b62df692/attachment.html>


More information about the Xerte-dev mailing list