[Xerte-dev] Re: enabling html for LO and page titles or size control for page title?
Ron Mitchell
ronm at mitchellmedia.co.uk
Tue Jul 31 14:59:00 BST 2012
Ok been testing this and probably safest to keep it as a simple optional
property for page title size. Doesn't need an engine change just an addition
to the xwd and rlt. I've been testing and concluded that a stepper option is
best with minimum set to 16 and maximum set to 30.
So in the xwd I've added:
<allpagestitlesize optional="true" type="NumericStepper" min="16" max="30"
step="1" label="Page title size"/>
and in the rlt:
//change page title size for all pages if optional property set
if (templateData.learningObject[0].allpagestitlesize != undefined){
STYLES.pageTitleSize = templateData.learningObject[0].allpagestitlesize;
}
I could commit these two changes to xerte and XOT svn's but do I need to do
something elsewhere to reflect the change to the xwd and in particular to
languify the label?
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 31 July 2012 11:11
To: For Xerte technical developers
Subject: [Xerte-dev] Re: enabling html for LO and page titles or size
control for page title?
No reason It can't be HTML. An optional property probably more user
friendly, look in the engine to see how the textfield is getting built and
how to set it's size: thre';s something else I need to figure out this
morning.
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 31 July 2012 09:53
To: 'For Xerte technical developers'
Subject: [Xerte-dev] enabling html for LO and page titles or size control
for page title?
Hi all
I can't remember if we've discussed this before but could html be enabled
for LO title and/or page title or is there a reason it can't?
If for some reason html can't be enabled what about an LO optional property
controlling page title size throughout the LO?
The main reason I ask this is that it often crops up that people want to
have longer page titles than there is room for especially when a logo and
the help button is also in use. The help button is a useful feature and
underused but when added it does often mean that existing page titles don't
fit. I know there's an argument that page titles should be kept short but
sometimes for good reason they need to be slightly longer than there is
currently space for when the LO is viewed at 800 x 600 and a logo and help
button is also used. I think an optional LO page title size property would
accommodate this.
The question about enabling html would extend this further but I'm guessing
there's probably a reason that can't be enabled and vaguely recall we may
have discussed that previously.
Cheers
Ron
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20120731/d0076714/attachment.html>
More information about the Xerte-dev
mailing list