[Xerte-dev] Re: How to create a new template?

Ron Mitchell ronm at mitchellmedia.co.uk
Wed Jan 22 16:43:06 GMT 2014


Hi Mark

You can make anything you want part of new LO's by tweaking \modules\xerte\templates\Nottingham\data.xml 

However it's not that simple because of also changing buttons etc and as you suspect it may not resolve the loading order.

I would still suggest customising an installation rather than a copy of the template is a better long term strategy. I don't have time to detail all the reasons for that right now just my experience over many years of maintaining copies of templates and page types.

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Mark Berthelemy
Sent: 22 January 2014 16:18
To: For Xerte technical developers
Subject: [Xerte-dev] Re: How to create a new template?

 

Hi Ron,

 

It is just the interface I’m looking at. So your idea makes perfect sense. It’s what I was hoping for to be honest.

 

Where do I find the optional properties for a main template, and the default XML? I know how to tweak CSS for each individual learning object, but not how to make it apply to every learning object.

 

Will your solution deal with the problem whereby the new CSS is only applied after the LO has loaded with the standard CSS - so you get a flash look at the standard design first?

 

Thanks,

 

Mark

 

-- 

Mark Berthelemy

Managing Director

Tel:     01773 881 227

Mob:   07922 146 761

Web:   www.wyversolutions.co.uk

 

Wyver Solutions Ltd | Company number: 5731173 Registered in England | Registered address: First Floor, 6 Bridge Street, Belper, Derbyshire, DE56 1AX

 

On Wednesday, 22 January 2014 at 15:22, Ron Mitchell wrote:

Unless you are also talking about customising/branding the different page types too e.g. as well as the player interface, I wouldn't look at adding a new template. It can be quite time-consuming keeping subsequent changes in sync if you create a derivative template based on a particular point in time.

 

You can add a custom css file to the main template via optional properties and you can also tweak the default xml so that the same custom xss is included in any new LO's created.

 

The other option which in reality can be quicker and easier than the new template route is to have a separate installation for each customisation required. 

 

Just my experience.

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Mark Berthelemy
Sent: 22 January 2014 14:42
To: For Xerte technical developers
Subject: [Xerte-dev] How to create a new template?

 

Hi there, 

 

I need to create a new look and feel for Xerte learning objects that will be used across all new LO’s.

 

It’s basically going to be the normal Nottingham HTML5 design, but with tweaks to brand it.

 

Is there a recommended way to do this?

 

I’m finding it hard to work out which bits of the code-base hold the relevant CSS, and then how to add a new “template(?)” so it can be used by the learning designers.

 

Thanks,

 

Mark

 

-- 

Mark Berthelemy

Managing Director

Tel:     01773 881 227

Mob:   07922 146 761

Web:   www.wyversolutions.co.uk

 

Wyver Solutions Ltd | Company number: 5731173 Registered in England | Registered address: First Floor, 6 Bridge Street, Belper, Derbyshire, DE56 1AX

 

 

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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20140122/e8ca963c/attachment.html>


More information about the Xerte-dev mailing list