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

Kemp Johnathan johnathan.kemp at ntlworld.com
Tue Jul 5 07:31:37 BST 2011


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 listXerte at lists.nottingham.ac.ukhttp://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.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110705/42c9455c/attachment-0001.html>


More information about the Xerte mailing list