[Xerte-dev] Re: Adding the html stuff to toolkits

Fay Cross Fay.Cross at nottingham.ac.uk
Wed Oct 31 12:55:55 GMT 2012


Sorry! I tend to just delete emails about the other side of stuff that I don't normally have anything to do with

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 31 October 2012 12:48
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Adding the html stuff to toolkits

I love this list - this only came up yesterday

three steps

1) Add the urls to url_library.php and add the call to the url library function in where ever they are needed
2) Modify the .htaccess file on your site to add the new lines
3) in setup/htaccess.conf add in the new URLs so as to allow for people when they install (if this option will be installed).

The reason you need two play files is modularisation :)

So the root/play checks to see you can play it, and what type of thing you are trying to play - then it goes off after the module/whatever/play file so that can take over the display work, or tells you to leave/

So you could, if you wanted, using 1.9 build a html player instead of mixing the two

On Wed, Oct 31, 2012 at 11:51 AM, Fay Cross <Fay.Cross at nottingham.ac.uk> wrote:
> Probably questions for Pat...
>
>
>
> I've just added the html stuff to the Nottingham site for testing.
>
> It's set up so there are preview_html5.php & play_html5.php files that 
> are used instead of the normal play/preview.php.  I can view projects 
> by changing the urls to include '_html5' e.g.
> http://www.nottingham.ac.uk/toolkits/preview_html5.php?template_id=628
> 0 but on the Nottingham site it generally uses the short urls e.g.
> http://www.nottingham.ac.uk/toolkits/play_6280  - how are these done?
>
>
>
> Also, why are there two play.php and preview.php files? One of each in 
> the root and one in modules/xerte.  I know you need both for it to 
> work but why aren't they combined?
>
>
>
> By the way, I pretty much copied the play/preview files and just 
> changed a couple of things for the html versions - there's possibly 
> stuff in there that's not needed but I didn't want to mess anything 
> up.  If you want to see they're in the toolkits svn.
>
>
>
> Thanks
>
> Fay
>
>
> This message and any attachment are intended solely for the addressee 
> and may contain confidential information. If you have received this 
> message in error, please send it back to me, and immediately delete 
> it. Please do not use, copy or disclose the information contained in 
> this message or in any attachment. Any views or opinions expressed by 
> the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an 
> attachment may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with 
> the University of Nottingham may be monitored as permitted by UK legislation.
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> This message and any attachment are intended solely for the addressee 
> and may contain confidential information. If you have received this message in
> error, please send it back to me, and immediately delete it.   Please do not
> use, copy or disclose the information contained in this message or in 
> any attachment.  Any views or opinions expressed by the author of this 
> email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an 
> attachment may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with 
> the University of Nottingham may be monitored as permitted by UK legislation.
>
>

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



More information about the Xerte-dev mailing list