[Xerte] Re: Xerte 2.n - Page Templates New Window Page

Kemp Johnathan johnathan.kemp at ntlworld.com
Wed Jul 6 07:26:43 BST 2011


"Get the latest files from the svn. Yes, you will need to preview in
browser,"

I updated my SVN after reading your email.

I have created a new project using the Xerte.exe in the runtime folder of
the svn and hence the pageTemplates.xtp file in the svn's runtime/wizards
folder. This file shows a Date modified date of 21/06/2011

I have published the project and then opened the index.htm file in both
Internet Explorer and Opera and still clicking on the image fails to open a
new window.

Does the index.htm page have to reside on a web server and be delivered by a
http request e.g.
"http://localhost/project/index.htm"

or should it work correctly if in Opera I use Page / Open and select
index.htm from the file picker?

I have attached the project so that you can see for yourself what is, or
rather is not, happening.

Sorry to be a nuisance with this but If I can reach a point where I have a
working example I can turn it into a Page Wizard and make it available so
that Deborah (see recent posts regarding actionscript 3) can use her
learning module.

Kind regards

Johnathan



On 5 July 2011 15:24, Julian Tenney <Julian.Tenney at nottingham.ac.uk> wrote:

> Get the latest files from the svn. Yes, you will need to preview in
> browser,
>
>
>
> *From:* xerte-bounces at lists.nottingham.ac.uk [mailto:
> xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Kemp Johnathan
> *Sent:* 05 July 2011 07:32
> *To:* Xerte discussion list
>
> *Subject:* [Xerte] Re: Xerte 2.n - Page Templates New Window Page
>
>
>
> Last night I downloaded Xerte 2.16 from the website to see if anything had
> changed. I also updated my svn copy.
>
>
>
> The website version of Xerte has not changed since I started working with
> the New Page page, it still has the line
>
>
>
> if (pageIcon.templateData.textGraphics[0].url.indexOf('http') == 0){
>
>
>
> The svn update showed no changes either, since my last update.
>
>
>
> Would someone mind emailing me a zipped up working page templates based
> project that contains a working New Page page, so that I can be sure
> everything is in order so that I can test it and compare the files to the
> ones I am using. I tried the model Tom attached and still could not get a
> window to open.
>
>
>
> One last question, just to cover all bases. Is this one of those things
> that only works when the project's htm file is opened as a url call to a web
> server, rather than using file / open in a web browser? I don't have a
> localhost server set up so I have been testing thus far by opening the
> index.htm file using open with / Internet Explorer. The project runs fine it
> is just the New Page page does not open a window, whilst a test.htm file
> that just contains a bit of html and javascript opens a window with no
> problem.
>
>
>
> Kind regards
>
>
>
> Johnathan
>
>
>
> On 4 July 2011 19:58, Tom Reijnders <reijnders at tor.nl> wrote:
>
> What I see here, but, I am not using the latest code... If I close the
> Window, I cannor reopen it, unless I navigate to another page and back....
>
>
>
> Op 4-7-2011 16:51, Julian Tenney schreef:
>
> I can launch the new window as many times as I want to: you will only get
> one window though, which is desired. There is no need to navigate back to
> the page to reset the launching code…
>
>
>
> *From:* xerte-bounces at lists.nottingham.ac.uk [
> mailto:xerte-bounces at lists.nottingham.ac.uk<xerte-bounces at lists.nottingham.ac.uk>]
> *On Behalf Of *Tom Reijnders
> *Sent:* 02 July 2011 21:11
> *To:* xerte at lists.nottingham.ac.uk
> *Subject:* [Xerte] Re: Xerte 2.n - Page Templates New Window Page
>
>
>
> Tried it, and here it seems to work fine.
>
> Clicking the image (to open the window) will work one time once the page is
> open. You have to navigate to another page and re-enter this page if you
> want to open the window again.
>
> As this is implemented using javascropt openWindow, you will have to allow
> pop-up windows.
>
> Regards,
>
> Tom
>
> Op 2-7-2011 17:38, Kemp Johnathan schreef:
>
> Hello Tom,
>
>
>
> Thanks for the info.
>
>
>
> I tried publishing the new page project and opening the page in both Opera
> and Internet Explorer.
>
>
>
> The good news is that in the browser I could not get the page to crash to
> the loading xml display.
>
>
>
> However I still could not get it to open a new window.
>
>
>
> Do I simple enter a URL into the wizard form's URL field e.g.
> http://www.bbc.co.uk
>
>
>
> or do I have to enter something else?
>
>
>
> Kind regards
>
>
>
> Johnathan
>
>
>
> On 2 July 2011 07:15, Tom Reijnders <reijnders at tor.nl> wrote:
>
> Jonathan,
>
> The new page is a bit of atrange beast as it uses javascript  to open a new
> Window, i.e. to the est of my knowledge, that is NOT working in preview.
>
> Tom
>
> Op 2-7-2011 0:06, Kemp Johnathan schreef:
>
> A while ago I tried to use the page and hit some issues that I reported to
> this list, but subsequently have not looked at the Page, being busy with
> looking at languaging issues for the Page Wizards.
>
>
>
> Following a recent post regarding whether there was a Page Wizard for the
> New Window page I have updated my Xerte svn and then tried both the
>
>
>
> /templates/pageTemplates folder contents
>
>
>
> and the
>
>
>
> /runtime/wizards/Page Templates.xtp file
>
>
>
> to create a Page Templates sourced project with a New Window page.
>
>
>
> I have experienced the following after creating a New Window page, adding
> an image and a valid url for the page to open a window on.
>
> a) Depending on the size of picture the panel can become displaced as shown
> in the attached picture panel.jpg
>
> b) I cannot open a new window, clicking on the picture does not open a new
> window
>
> c) The project navigation can become frozen so it is impossible to exit the
> page without closing down the preview, I think this occurs after several
> attempts to open a window by clicking on the picture.
>
> d) After the navigation becomes frozen and the preview closed, when I
> re-preview the project the page load stalls with a loading xml message as
> shown in loading.jpg. The only way to get the page to load again is to
> completely exit Xerte and then restart Xerte.
>
>
>
> Is anyone using this page template successfully?
>
> Are my experiences unique?
>
> If so what am I doing wrong?
>
>
>
> Kind regards Johnathan
>
>
>
> 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 mailing list
>
> Xerte at lists.nottingham.ac.uk
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
>
>
>
>
> 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.
>
>
>
>
>
>
>
> --
>
> --
>
>
>
> Tom Reijnders
>
> TOR Informatica
>
> Chopinlaan 27
>
> 5242HM Rosmalen
>
> Tel: 073 5226191
>
> Fax: 073 5226196
>
>
>
>
>
>
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> 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 mailing list
>
>
>
> Xerte at lists.nottingham.ac.uk
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
>
>
> 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.
>
>
>
>
>
>
>
> --
>
> --
>
>
>
> Tom Reijnders
>
> TOR Informatica
>
> Chopinlaan 27
>
> 5242HM Rosmalen
>
> Tel: 073 5226191
>
> Fax: 073 5226196
>
>
>
>
>
> _______________________________________________
>
> Xerte mailing list
>
> Xerte at lists.nottingham.ac.uk
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
>
>
> 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.
>
>
>
>
>
>
>
> --
>
> --
>
>
>
> Tom Reijnders
>
> TOR Informatica
>
> Chopinlaan 27
>
> 5242HM Rosmalen
>
> Tel: 073 5226191
>
> Fax: 073 5226196
>
>
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> 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 mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> 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/attachments/20110706/4499c4fe/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newPage svn 07_06.zip
Type: application/zip
Size: 724467 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110706/4499c4fe/attachment-0001.zip>


More information about the Xerte mailing list