[Xerte-dev] Re: Modules and htaccess

Ron Mitchell ronm at mitchellmedia.co.uk
Fri Apr 12 15:59:13 BST 2013


Tested - both work!

Will test further once you commit your other patch files.

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: 12 April 2013 15:30
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Modules and htaccess

 

INDEX_WORKSPACE fixed and committed
New Folder issue fixed and committed

:-)

Op 12-4-2013 15:45, Tom Reijnders schreef:

Ok.

The INDEX_WORKSPACE thing is fixed now (not committed yet)

I'll check the new folder and the state of the recycle bin as well.

Op 12-4-2013 15:35, Ron Mitchell schreef:

Yeah I did notice it previously (probably around that time) and started
making a list of bugs but didn't want to mention those until I'd found time
to test more thoroughly. Some of the things on that list have either been
fixed now or related more to template functionality but a key current bug I
think is...

 

I discovered around that time I think that creating new folders doesn't work
and that applies to this latest code too with both installations I've been
testing with. Click New Folder the pop-up appears to name it but then naming
and clicking new folder doesn't do anything.

 

The other notes I had were about INDEX_WORKSPACE and the button state thing
when selecting recycle bin

 

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: 12 April 2013 14:21
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Modules and htaccess

 

Good!

The INDEX_WORKSPACE has (probably) nothing to do with these changes, but
it's a bug caused by the translation changes that I committed some three
weeks ago.

And I know what's happening there too. I'll fix it. 

Tom

Op 12-4-2013 15:14, Ron Mitchell schreef:

:-( sorry my mistake.

 

Ok continued progress...

 

Creating templates now works!

Changing engine via properties now works even with IE10!

Play by default for new projects is html 5

Ctrl clicking play changes to Flash preview

Tested on both a local xampp upgraded install and a clean remote Centos
install.

 

I do still get the odd problem that when creating a new LO the workspace
title and button label change to index_ as shown below





This happens when deleting a project too.

 

BTW I meant to say previously when selecting recycle bin to click delete and
totally empty the bin the the styles of the buttons e.g. delete don't change
to enabled state even though it does work.

 

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: 12 April 2013 13:27
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Modules and htaccess

 

No, like I said in the mail: :-)
website_code\php\templates

Op 12-4-2013 14:25, Ron Mitchell schreef:

Hi Tom

is that from \modules\xerte\ ?

I've replaced that file and tried in both Chrome and IE but still get the
error e.g.

 

 
<http://localhost/xertetoolkits_new_svn/edit.php?template_id=FAILED-Failed%2
0to%20create%20new%20template%20record%20for%20the%20database%20INSERT%20INT
O%20templatedetails%20%28template_id>
http://localhost/xertetoolkits_new_svn/edit.php?template_id=FAILED-Failed%20
to%20create%20new%20template%20record%20for%20the%20database%20INSERT%20INTO
%20templatedetails%20(template_id

 

Just about to test a new clean install so will let you know if that's any
different.

 

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: 12 April 2013 12:57
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Modules and htaccess

 

Ron,

Found a bug in the following file:

website_code\php\templates\new_template.php

Please see attached. This should enable creating new LO's again. 

I can toggle between html5/flash in IE9, haven't got IE10 (yet) let you know
a.s.a.p.

Tom

Op 12-4-2013 13:22, Tom Reijnders schreef:

It's very easy to implement with the scheme we have now. But I propse to do
that in the next round. For example, I didn't get rid f the lay_html5.php in
the root just yet, but implemented it using the 'normal' play.

So let's do this for 2.1 and also have some tme to put a mechanism in place
to make url's deprecated.


Tom






Op 12-4-2013 12:47, Julian Tenney schreef:

I used it to get at the XML so I couod display it that mobile Xerte app I
put together a while ago, but this isn't for end users to see, this is a
developer thing,

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 12 April 2013 10:50
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Modules and htaccess

 

And so, you would use for example an app, that would interpret that xml?

If your question is, did I consider XML as a play option, the answer is NO.
If, on the other hand, you ask me, whether I can add an xml play option, the
answer is yes, easily, no problems whatsoever. And I am left with a
question.... why?

Op 12-4-2013 11:08, Julian Tenney schreef:

Is that something end users would need to see, or is this tech stuff for an
API call?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy
Sent: 12 April 2013 08:22
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Modules and htaccess

 

At the moment XML is a link option for XOT files, but all it does is return
the XML.

 

As we now have different methods for displaying content for a module, XML
could be one of those?

Pgogy Webstuff - http://www.pgogywebstuff.com

Makers of web things of a fair to middling quality


On 12 Apr 2013, at 07:32, Tom Reijnders <reijnders at tor.nl> wrote:

Ehmmm... could you be a bit more specific? Last time I checked I still
wasn't a mind reader.... :-)

Op 12-4-2013 0:28, Pat @ Pgogy schreef:

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

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev










_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev









-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 












_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev








-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 












_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev








-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 


















_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev







-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 













_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev






-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 






_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev





-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 






_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev





-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130412/18e2797c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 1617 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130412/18e2797c/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 3290 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130412/18e2797c/attachment-0003.jpg>


More information about the Xerte-dev mailing list