[Xerte] Re: "Embed Content" Page is blank

Fay Cross Fay.Cross at nottingham.ac.uk
Thu Aug 23 10:59:59 BST 2012


Great, as Pat was getting at it's obviously not ideal to swap files like this if we're not sure what other differences there might be between them.  Probably best to hold on to the originals for a bit in case you find it has fixed this but broken something else along the way.

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Wood
Sent: 23 August 2012 10:57
To: Xerte discussion list
Subject: [Xerte] Re: "Embed Content" Page is blank

Hurray!

It works!

Thanks again for all the help everyone!

On 23 Aug 2012, at 10:33, Fay Cross wrote:

> Thanks Ron, the one place I didn't think to look!
>
> Simon - try the attached file (save yours first in case it causes any
> problems)
>
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of RonM
> Sent: 23 August 2012 10:29
> To: Xerte discussion list
> Subject: [Xerte] Re: "Embed Content" Page is blank
>
> Reading this offline (sort of) so no access to the files but if I
> remember correctly I think there's a call to kill popup in
> Nottingham.rlt
>
> HTH
> Ron
>
> Sent from my iPhone
>
> On 23 Aug 2012, at 10:13, Fay Cross <Fay.Cross at nottingham.ac.uk> wrote:
>
>> The swf I sent before was from the Nottingham installation where it works but not working for Simon.
>>
>> There's only two frames of code in the XMLEngine fla but killPopUp isn't called in either of them - weird.  Not directly in button clips either.  Can't find it being called in any other file either.
>>
>> I'll find it somewhere...
>>
>>
>> -----Original Message-----
>> From: xerte-bounces at lists.nottingham.ac.uk
>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat
>> Lockley
>> Sent: 23 August 2012 10:03
>> To: Xerte discussion list
>> Subject: [Xerte] Re: "Embed Content" Page is blank
>>
>> I only did the JS stuff
>>
>> I assume the call is an external Interface somewhere in the forward and back buttons in the xmlengine? closePage maybe?
>>
>> If it works on the sandbox - use that swf?
>>
>> On Thu, Aug 23, 2012 at 9:49 AM, Fay Cross <Fay.Cross at nottingham.ac.uk> wrote:
>>> I thought the call to the killPopUp function was in the XMLEngine swf but I've just looked and I can't find it.  Can't seem to find where this is called anywhere... have you got any idea Pat?
>>>
>>> Although I did do some of the work on the pages that use iframes I think Julian did the original code for it and I can't find where this is called from.
>>>
>>> -----Original Message-----
>>> From: xerte-bounces at lists.nottingham.ac.uk
>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Simon
>>> Wood
>>> Sent: 23 August 2012 09:22
>>> To: Xerte discussion list
>>> Subject: [Xerte] Re: "Embed Content" Page is blank
>>>
>>> I used Firebug to put a break point in the killPopUp function.
>>>
>>> It's not being called.
>>>
>>> Simon
>>>
>>> On 22 Aug 2012, at 16:19, Pat Lockley wrote:
>>>
>>>> one of the JS functions will be delete something or style.display
>>>> =none
>>>>
>>>> put an alert in that function
>>>>
>>>> On Wed, Aug 22, 2012 at 4:16 PM, Simon Wood <WoodSN2 at cardiff.ac.uk> wrote:
>>>>> I cleared the cache after updating the XMLEngine.swf.
>>>>>
>>>>> I'm not sure how to tell if a function is being called - I presume
>>>>> I use Firebug, but I'm not sure how I see it.
>>>>>
>>>>> Again - thanks for all your help today!
>>>>>
>>>>> On 22 Aug 2012, at 15:58, Fay Cross wrote:
>>>>>
>>>>> Is the killPopUp function in preview_xerte_top being called?
>>>>>
>>>>> Clear cache now new XMLEngine.swf is being used?
>>>>>
>>>>> I'm off home in a sec so we might have to finish sorting this tomorrow.
>>>>>
>>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Simon
>>>>> Wood
>>>>> Sent: 22 August 2012 15:54
>>>>> To: Xerte discussion list
>>>>> Subject: [Xerte] Re: "Embed Content" Page is blank
>>>>>
>>>>> It doesn't do anything odd (as far as I can see) but, alas, it
>>>>> doesn't fix the problem either.
>>>>>
>>>>> On 22 Aug 2012, at 15:43, Fay Cross wrote:
>>>>>
>>>>>
>>>>> I think you need a more up to date version of XMLEngine.swf - I
>>>>> think this is where the killPopUp() function is called from on page change.
>>>>>
>>>>> I've attached a file for you to try - make sure you back up the
>>>>> version you're using now before trying this in case it does anything really odd.
>>>>>
>>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Simon
>>>>> Wood
>>>>> Sent: 22 August 2012 15:36
>>>>> To: Xerte discussion list
>>>>> Subject: [Xerte] Re: "Embed Content" Page is blank
>>>>>
>>>>> I may have spoken a little too soon... It *is* loading up the
>>>>> embed content, and that's great. However, once you hit a page with
>>>>> embedded content on it, if you go back to other pages the embedded
>>>>> content stays visible! It stays there, hiding everything on any
>>>>> other pages in the LO, until you get to another embed content page.
>>>>>
>>>>> On 22 Aug 2012, at 15:21, Fay Cross wrote:
>>>>>
>>>>>
>>>>>
>>>>> Oh good, I'd run out of ideas after that J
>>>>>
>>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Simon
>>>>> Wood
>>>>> Sent: 22 August 2012 15:20
>>>>> To: Xerte discussion list
>>>>> Subject: [Xerte] Re: "Embed Content" Page is blank
>>>>>
>>>>> WE HAVE IGNITION!
>>>>>
>>>>> You are an absolute star, Fay. Many, many thanks for your patient help!
>>>>>
>>>>> Simon
>>>>>
>>>>> On 22 Aug 2012, at 15:10, Fay Cross wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Ok, check your play/preview.php files - the popup_parent div
>>>>> should be before the </body> tag
>>>>>
>>>>> I've attached a version of play.php with it in
>>>>>
>>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Simon
>>>>> Wood
>>>>> Sent: 22 August 2012 15:03
>>>>> To: Xerte discussion list
>>>>> Subject: [Xerte] Re: "Embed Content" Page is blank
>>>>>
>>>>> The body contains a div containing the swf but does not appear to
>>>>> contain popup_parent.
>>>>>
>>>>> I'm getting an error "parent is null" on the last line (
>>>>> parent.appendChild(create_div); ) of makePopUp()
>>>>>
>>>>> On 22 Aug 2012, at 14:33, Fay Cross wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Your file seems the same as ours which is working.
>>>>>
>>>>> Is makePopUp() being called?  If not, try the attached
>>>>> embedDiv.rlm to see if it makes a difference.
>>>>>
>>>>> Have a look at the html for the page in Firebug.  The body tag
>>>>> should contain a div containing the swf and a div called
>>>>> popup_parent. The popup_parent should have an iframe in it.  Is your popup_parent div empty?
>>>>>
>>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Simon
>>>>> Wood
>>>>> Sent: 22 August 2012 14:04
>>>>> To: Xerte discussion list
>>>>> Subject: [Xerte] Re: "Embed Content" Page is blank
>>>>>
>>>>> The source of the page is here: http://pastebin.com/KT2viTAL
>>>>>
>>>>> I've installed Firebug for Firefox on Pat's advice when he was
>>>>> helping me with a separate problem, but it's not showing anything.
>>>>>
>>>>> Simon
>>>>>
>>>>> On 22 Aug 2012, at 13:51, Dave Burnett wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> What does a "view source" of the blank page show?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ________________________________
>>>>> From: WoodSN2 at cardiff.ac.uk
>>>>> Date: Wed, 22 Aug 2012 13:41:51 +0100
>>>>> To: xerte at lists.nottingham.ac.uk
>>>>> Subject: [Xerte] Re: "Embed Content" Page is blank
>>>>>
>>>>> Safari 5 and Firefox 14 on OS X Snow Leopard.
>>>>>
>>>>> I created an embed page on the Sandpit, just to check it would
>>>>> work in my browser, and it does.
>>>>>
>>>>> Simon
>>>>>
>>>>> On 21 Aug 2012, at 16:46, Dave Burnett wrote:
>>>>>
>>>>>
>>>>>
>>>>> IE or FF or Chrome or?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> From: WoodSN2 at cardiff.ac.uk
>>>>>> Date: Tue, 21 Aug 2012 16:32:04 +0100
>>>>>> To: xerte at lists.nottingham.ac.uk
>>>>>> Subject: [Xerte] "Embed Content" Page is blank
>>>>>>
>>>>>> Using our Xerte Online Toolkits install, when I create an "embed content"
>>>>>> page and preview/publish it, it is blank (title, no errors, but no content).
>>>>>>
>>>>>> I think this has come up before so I've tried to follow how it
>>>>>> was resolved - in particular I've updated
>>>>>> modules/xerte/parent_templates/Nottingham/models/embedDiv.rlm to
>>>>>> the latest version - but I haven't had any success. "Embed content" stays blank.
>>>>>>
>>>>>> Is there anything else I should have updated or looked for?
>>>>>>
>>>>>> Simon
>>>>>>
>>>>>> - -
>>>>>> Simon Wood
>>>>>> Officer for Technology Enhanced Education
>>>>>>
>>>>>> Learning and Teaching Support
>>>>>> Cardiff University Registry
>>>>>> 30-36 Newport Road
>>>>>> Cardiff CF24 0DE
>>>>>>
>>>>>> Tel: 029 2087 9428
>>>>>> Email: WoodSN2 at cardiff.ac.uk
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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.
>>>>>>
>>>>>
>>>>> 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.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________ 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.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> <embedDiv.rlm>_______________________________________________
>>>>> 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.
>>>>>
>>>>>
>>>>>
>>>>> <play.php>_______________________________________________
>>>>> 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.
>>>>>
>>>>>
>>>>>
>>>>> <XMLEngine.swf>_______________________________________________
>>>>> 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.
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>
>>>
>>> _______________________________________________
>>> Xerte mailing list
>>> Xerte at lists.nottingham.ac.uk
>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>
>>> _______________________________________________
>>> Xerte mailing list
>>> Xerte at lists.nottingham.ac.uk
>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>
>> _______________________________________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>
>> _______________________________________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> <Nottingham.rlt>_______________________________________________
> 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



More information about the Xerte mailing list