[Xerte-dev] Re: Bugs in page models / wizard
Kemp Johnathan
johnathan.kemp at ntlworld.com
Mon Jul 16 12:53:49 BST 2012
On the 26th June we discussed this issue and Tom posted
*****************
Ehmm... it should NOT be in there. It should be put in at run-time, but the
template files should NOT contain that item.
What happen is the following:
When creating a new project, the 'blank' files are copied to the proper
place (without the language attribute), and when the editor is first
started, it checks whther the attribute is available or not. When
available, the language (of the wizard) is set accordingly. If not set, it
wil set it to the current selected language.
So, if the attribute is in the 'blank' templates, you will never be able to
create a Dutch project.
***************************
I have just performed a test using desktop Xerte, creating a project and
then adding a title page. I then saved the model for the page but it did
not contain the language="en-GB" attribute. So desktop Xerte is NOT adding
language attributes to its pages.
I have looked back on earlier desktop projects and have not found a
language="en-GB" attribute added to a page.
In a Xerte project the model files are not copied into the project folder.
As each page is created the model file in the Xerte installation folder is
used to create the page structure for the new page you are adding and only
the xwd file and an xml file are copied into the pages/page01/ folder
I have checked back over previous test projects I have created since April
and at no time as far as I can see has the desktop Xerte copied the model
files into the project folder.
I have not tested it in XOT to see what happens there. But if
" When creating a new project, the 'blank' files are copied to the proper
place "
means that a set of model files is copied into a local project folder for a
XOT project would that not be contrary to the way XOT works? I thought that
XOT always kept one master set of model files so that when you upgraded
your installation all your projects got the changes as they accessed the
same single set of model files at runtime.
It appears clear from Tom's post that the main set of model folders should
NOT contain a language attribute.
What I may have misperceived is someone working in XOT and then copying
their model changes back into Xerte. If XOT is adding language attributes
to model files then this could explain how a language attribute in a model
file could get back into the runtime folder for Xerte.
If what Tom is describing is currently happening in XOT it could also
explain why it might appear that every model file has a language attribute
if you are looking at a XOT project. But it would be the copy of the model
files local to the project and not the ones in
/Nottingham/models/
Tom will be in a much better position to explain what may be happening here.
Kind regards
Johnathan
On 16 July 2012 11:29, Julian Tenney <Julian.Tenney at nottingham.ac.uk> wrote:
> Johnathan, this is what you mentioned last week: this shouldn’t be in the
> files, right?
>
>
>
>
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Julian Tenney
> *Sent:* 16 July 2012 11:19
>
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Bugs in page models / wizard
>
>
>
> Johnathan, sorry, again, in the interests of ‘fix your own bugs’ please
> look at all the issues Fay logged against connector page types
>
>
>
> *From:* Tenney Julian
> *Sent:* 16 July 2012 11:13
> *To:* 'For Xerte technical developers'
> *Subject:* RE: [Xerte-dev] Re: Bugs in page models / wizard
>
>
>
> In XOT on xampp I think (Fay works Weds – Fri)
>
>
>
> I think the first bug listed under menu is the menu, rather than the
> connector page.
>
>
>
> If you do the language option stuff for now, I’ll look at the other stuff.
> In the interests of ‘fix your own bugs’ I might send an updated list for
> action with the owners of the various bits later,
>
>
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Kemp Johnathan
> *Sent:* 16 July 2012 11:10
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Bugs in page models / wizard
>
>
>
> Hello Fay and Julian,
>
>
>
> I am about to start now on the xwd's to sort out the language items.
>
>
>
> Can I clarify a few points
>
>
>
> 1. Where your tests in XOT or Xerte?
>
> 2. Menu Page - are you referring to the Menu option in XOT or the
> Connector Menu Page?
>
> I'll raise any queries on anything else as I get to them.
>
>
>
> All the Connector pages plus the Inventory Page offer some support to the
> learning object author. Originally this was set for each page individually
> by having an attribute in the xwd file for each page. However at Julian's
> request this was moved to a single attribute of the learning object xwd
> form "Add Author Support" which set a value for the authorSupport attribute.
>
>
>
> If authorSupport was set to "true" then all Connector pages and Inventory
> pages in the project will display their authorSupport information.
>
>
>
> If authorSupport is set to "true" and an individual page's optional
> property "Output Check List" is selected then depending on the value
> selected for this option a report will be output to the clipboard.
> Reference to "Developer Mode" in this option list is a left over from the
> earlier individual page setting. It should now read "Author Support only".
> I will fix that.
>
>
>
> Kind regards
>
>
>
> Johnathan
>
>
>
> On 13 July 2012 12:05, Fay Cross <Fay.Cross at nottingham.ac.uk> wrote:
>
> Johnathan,
>
>
>
> I’ve attached the list of the bugs I’ve found from testing all the page
> types. Actually, they’re not all bugs – a lot of them are just things I
> think would improve the usability of them.
>
>
>
> I’ve highlighted all the places where fields in the wizard need to be
> moved to Language Options so I think these are the only bits for you to
> look at. Julian’s working on the rest of the list so I don’t know whether
> it will potentially get confusing with you both working on the xwd at the
> same time.
>
>
>
> I’ve also added a few comments about the connector pages. Only a couple
> of the comments are proper bugs, the rest are more aesthetic comments to
> make them more consistent with other pages. It’s not really for me to say
> if they need changing or not! It was a quick test of these pages so you’ll
> see if some places I couldn’t work out what things were meant to do – I
> haven’t time to do these pages very thoroughly.
>
>
>
> Checking all these has made me realise just how many pages there are to
> recreate in the HTML5 version!
>
>
>
> 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.
>
>
>
> 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.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20120716/2a3580e8/attachment-0001.html>
More information about the Xerte-dev
mailing list