[Xerte-dev] Re: noob xerte questions

Fay Cross Fay.Cross at nottingham.ac.uk
Fri Feb 8 09:48:22 GMT 2013


To add to what Tom and Pat have said...

1. Ctrl-Play in the wizard to preview in HTML5 and then if you make a project public you will see the two links in the properties panel for the Flash and HTML versions.  When all the page types are finished in HTML5 it will become the default, possibly with some browser detection that will send you to the Flash version if needed.

3. The css files for the html version are in modules\xerte\parent_templates\Nottingham\common_html5\css.  It's the mainStyles.css file that contains the bits you'd want to change.  I would like to separate out the purely aesthetic css in this file from the css that controls the structure/layout of the interface to make it easier to customise but I haven't had a chance yet.


From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 08 February 2013 09:30
To: For Xerte technical developers
Subject: [Xerte-dev] Re: noob xerte questions

Welcome Alex,

Let me give it a shot, others will certainly fill in the gaps or correct my mistakes... ;-)

Before reading these answers, please be aware that the HTML5 is still very much a work in progress. It is not finished yet.

1. Enabling HTML5. Depending on what you want:
  - In the wizard, press Ctrl+Play to preview in HTML5
  - When embedding the code, do the opposite, replace the play.html.php in the url with play_html5.php

In the near future, (target date is around Easter for now) the default output will be HTML5. Also see

http://xerte.org.uk/index.php/component/content/article/125-english/features-en/137-conversion-progress


2. Exporting in HTML5 is (as far as I know) not implemented yet.
3. After the conversions of all the template pages that currently are available in Flash to HTML5 is finished, Fay promised to write a document on how the CSS is structured and what the best way for customization is.
4. Don't know. Not to my knowledge. It shouldn't be to difficult to write though, as all the information you need is in an .xml file/structure.
5. You can in HTML5. You can also in flash, buty not automatically. For flash you would need to construct the url yourself.

To quote a recent message in the dev list:

In the flash version I set it to work with the following:

http://vle.jisctechdis.ac.uk/xot/play.php?template_id=159&linkID=PG1352114465620

http://vle.jisctechdis.ac.uk/xot/play.php?template_id=159&page=3

http://vle.jisctechdis.ac.uk/xot/play.php?template_id=159&pageID=advanced

Sounds like pageID might not be needed anymore but can't see there being any hurt in including it.


Regards,

Tom
Op 8-2-2013 9:57, Furr A.D. schreef:
Hello All,

I'm new to the list, and also new to xerte so please forgive my ignorance. I'm an experienced PHP developer (and flash) but don't know my way round xerte...yet.

I was after some pointers for the following, and searching the archives didn't yield much. If they've been answered elsewhere (as I'm sure they are common queries) then please point me in that direction!
So on to the questions:


1.       Enabling HTMl5 output
Is the only way to switch on HTML output to rename play_html5.php > play.php and preview_html5.php > preview.php ? Or am I missing an obvious interface.

2.       Exporting as HTML5
Currently the export  process is still as flash - I'm assuming this is coming, or if it's already there how do I switch it on?

3.       Modifying the look and feel (HTML version)
Like most institutions we'd like to customise the styles somewhat. Are there any guidelines how to do this via the templates folder? I'm proficient in CSS but would simply like to know which key DIVs I need to override to add logos / new colours for the header and footer etc of the output file

4.       Custom nav menu?
Possibly a more advanced query - is there a function to spit out nav menu of the object onto a template? For some projects we'd like to menu to stay up on all pages, and I assume this would require a custom template. I'm hoping there is a php function we can call to spit this out (<ul> list?) onto a page where required.

5.       Bookmarking individual pages
I can't see an obvious way of bookmarking an individual page within a learning object as its rendered dynamically (Ajax? JS innderDiv?) -  I'm assuming individual page bookmarking isn't possible, can anyone confirm?

Thanks in advance - I'm trying to get the University of Southampton on board (mostly there) but allowing customisation would seal the deal.

Kind regards,

Alex

Dr Alex Furr
eLearning Developer and Consultant
Centre for Innovation in Technologies and Education
www.cite.soton.ac.uk<http://www.cite.soton.ac.uk>
e: alexfurr at soton.ac.uk<mailto:alexfurr at soton.ac.uk>
m: 07779 606934







_______________________________________________

Xerte-dev mailing list

Xerte-dev at lists.nottingham.ac.uk<mailto: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/20130208/d949ce43/attachment.html>


More information about the Xerte-dev mailing list