[Xerte-dev] Re: Modules and htaccess

Pat @ Pgogy xerte at pgogywebstuff.com
Thu Apr 11 23:28:24 BST 2013


Tom,

Thoughts on making XML into a play option?

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

On 11 Apr 2013, at 21:52, Tom Reijnders <reijnders at tor.nl> wrote:

> Yes definitely. Added function upgrade_4()
> 
> Tom
> 
> Op 11-4-2013 15:42, Ron Mitchell schreef:
>> Was the correct upgrade definitely in the patch?
>> If it was my applying of the patch didn't work because that's not in the patched or exported code yet it is in basic.sql
>>  
>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
>> Sent: 11 April 2013 14:33
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: Modules and htaccess
>>  
>> Strange.
>> 
>> Upgrade should give you an extra column on templatedetails called extra_flags.
>> 
>> 
>> Ron Mitchell <ronm at mitchellmedia.co.uk> schreef:
>> Cheers got it!
>>  
>> 
>> I'm not sure if anyone else has tried this yet but not quite working for me...
>>  
>> 
>> 1. Applied patch to local copy of svn code
>> 2. Exported patched version
>> 3. Dropped over a localhost test install
>>  
>> 
>> I can see new options in the properties panel e.g. what is the default engine to use for this project with Javascript (a.k.a. HTML5) ticked
>> But I can't untick that or tick the flash option
>> When following the flash and html5 links I get an empty wondow
>> and when trying to create a new LO I get an empty window with failed to create new template
>>  
>> 
>> I ran upgrade.php but there doesn't seem to be anything new in there?
>>  
>> 
>> HTH
>> Ron
>>  
>> 
>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
>> Sent: 11 April 2013 13:10
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: Modules and htaccess
>>  
>> 
>> I’ve just sent it on…
>>  
>> 
>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
>> Sent: 11 April 2013 12:29
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: Modules and htaccess
>>  
>> 
>> Didn't want to send It to the list . Julian has it.
>> 
>> Ron Mitchell <ronm at mitchellmedia.co.uk> schreef:
>> Happy to test and feedback but where do I get the patch? 752 looks like Fay's update.
>>  
>> 
>> 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: 11 April 2013 11:08
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: Modules and htaccess
>>  
>> 
>> I am off-line the rest of the day. I'll send the patch to Julian.
>> 
>> Op 11-4-2013 11:51, Tom Reijnders schreef:
>> As an addition:
>> 
>> Now you can just use play.php&template_id=4 (or play_4). It will show :
>> 1. if the template_frame=xerte  in the engine set by the user
>> 2. if the template_frame is site using modules/site/play.php
>> 
>> Also, you can use play.php&template_id=4&engine=flash or play.php&template_id=4&engine=javascript to force a specific engine.
>> 
>> Some is true for preview.
>> 
>> You can also use engine=other (this is used by the wizard when Ctlr+Play is pressed)
>> 
>> I have to do the same for peer.php, but first would like some feedback ;-)
>> 
>> Tom
>> 
>>    
>> Op 11-4-2013 11:38, Tom Reijnders schreef:
>> Almost finished.
>> 
>> I didn't change anything yet to modularize the properties page
>> 
>> - Changed play.php (root) and modules/xerte/play.php and preview
>> - Made play_html5.php (root) redirect to new play
>> - Make use of the same template files as export does for the play and preview
>> - Make wizard toggle the engine on Ctrl-click
>> - Move site to its own module dir
>> - Changed basic.sql
>> - updates upgrade.php
>> 
>> Not thoroughly tested yet, not committed yet
>> 
>> Patch is not attached but available. (from svn 752)
>> 
>> It's about 2.2Mb
>> 
>> Op 10-4-2013 23:39, xerte at pgogywebstuff.com schreef:
>> Hello,
>>  
>> 
>> Sorry for delay - travelling home from a conference.... again
>>  
>> 
>> The properties page is at present not modular - as it is the same code for each module. At present only Xerte Online Toolkits modules will have more than one URL, hence it needs some "Module" work.
>>  
>> 
>> I think I could see a case for giving XOT modules a new tab on properties                         which is HTML access - beca use in theory some of the projects are to become HTML5 projects. This tab could explain the process and give the                         preview and default setting options?
>>  
>> 
>> This way the main properties tab with the links in could remain as is (for now) and as the
> _______________________________________________
> 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/20130411/41df599d/attachment.html>


More information about the Xerte-dev mailing list