[Xerte-dev] Re: Previewing site template

Julian Tenney Julian.Tenney at nottingham.ac.uk
Mon Apr 22 10:32:28 BST 2013


I can’t work out whey it behaves differently for the two templates. There is window.open code in the wizard as well, but that all seems to work – it calls preview.php, I cannot see why sometimes preview php opens in a new window and why sometimes it opens in a  new tab, when the same code is doing it…

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com
Sent: 19 April 2013 15:22
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Previewing site template

in template_management.js

there is 2-3 window.open calls in there, and it should reference preview_size


Pgogy Webstuff http://www.pgogywebstuff.com
Makers of Web things of a fair to middling quality


----- Original Message -----
From:
"For Xerte technical developers" <xerte-dev at lists.nottingham.ac.uk<mailto:xerte-dev at lists.nottingham.ac.uk>>

To:
"For Xerte technical developers" <xerte-dev at lists.nottingham.ac.uk<mailto:xerte-dev at lists.nottingham.ac.uk>>
Cc:

Sent:
Fri, 19 Apr 2013 15:09:04 +0100
Subject:
[Xerte-dev] Re: Previewing site template

Where’s the window.open call?


From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy
Sent: 19 April 2013 14:48
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Previewing site template


The size of the preview (when called from workspace) is set by the info file


The size of the preview from the wizard - guessing in Xerte

Pgogy Webstuff - http://www.pgogywebstuff.com
Makers of web things of a fair to middling quality

On 19 Apr 2013, at 14:40, Julian Tenney <Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>> wrote:
Same thing here.

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 19 April 2013 14:39
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Previewing site template

It's working in Chrome.... and indeed not in firefox for me either.

<image001png>
Op 19-4-2013 15:30, Julian Tenney schreef:
No, hang on, the wizard’s not in the picture…

Highlight a project.
Click the preview button IN THE WORKSPACE

It worked fine if I preview from the wizard…

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 19 April 2013 14:29
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Previewing site template

OK, thanks,

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 19 April 2013 14:27
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Previewing site template

It's called form the wizard, see line 2373 for site, vs line 2432 for xerte.

You know this code better than I do.  The only difference I see, is the height and width are set in the case of Xerte.

Tom
Op 19-4-2013 15:09, Julian Tenney schreef:
Doesn’t scroll if you select it in the workspace and then click the ‘preview’ button:

<image002.png>




_______________________________________________

Xerte-dev mailing list

Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>

http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev


--

--



Tom Reijnders

TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196






_______________________________________________

Xerte-dev mailing list

Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>

http://lists.nottingham.acuk/mailman/listinfo/xerte-dev<http://listsnottingham.ac.uk/mailman/listinfo/xerte-dev>



--

--



Tom Reijnders

TOR Informatica

Chopinlaan 27

5242HM Rosmalen

Tel: 073 5226191

Fax: 073 5226196


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto: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/20130422/b3742932/attachment-0001.html>


More information about the Xerte-dev mailing list