Difference between revisions of "Issues:004"

From its-wiki.no
Jump to: navigation, search
Line 46: Line 46:
 
}}
 
}}
 
{{Response Template
 
{{Response Template
|Response=Okay, something really odd going on here. It works if you are logged into the MW site. But if you are not logged in, the CSS is ignored and you see the header etc. Never seen that before! It must be something to do with the skin.
+
|Response=Okay, something really odd going on here. It works if you are logged into the CWI site. But if you are not logged in, the CSS is ignored and you see the header etc. Never seen that before! It must be something to do with the skin.
  
 
I will investigate further.
 
I will investigate further.

Revision as of 10:35, 5 October 2015

Go to Issue Log page
Headline Inclusion of Wiki content on regular web pages
Status Need Info
Issue ID 004
Issue Type Enhancement
Priority Normal
Description Hide header and footer when including pages in regular web pages.
Page Link http://cwi.unik.no/TestPage.html
Screenshot Screen Shot 2015-09-09 at 14.45.59.png
Created By Josef.Noll
Date Added 2015/09/10


Response I added Template:Gravid_About to include a page, and included them through iframe in a normal html page: TestPage.html. The result is not as expected, the inclusion still shows header and footer. I had expected to see only the text
Page Link http://cwi.unik.no/TestPage.html
Responded by Josef.Noll
Response Added 2015/09/09


Response Hi Josef.

What browser are you seeing the header and footer? If I open in Firefox, IE and Chrome I only see the text in the iFrame (see attached screenshot).

Page Link
Screenshot Screenshot-cwi unik no 2015-09-23 09-09-31.png
Responded by Neill
Response Added 2015/09/23


Response Hi Neill,

I have now tested in Opera, Vivaldi, Chrome, and Safari. All of them have the header with them. Mac OS issue? - I can't believe that the OS affects the view in the browser. Have I forgotten something in the Wiki as packages?

Page Link http://cwi.unik.no/TestPage.html
Screenshot Screen Shot 2015-09-26 at 20.43.14.png
Responded by Josef.Noll
Response Added 2015/09/26


Response Hi Josef.

Something really weird going on here! On my Linux and Windows systems I do not see the header. I was suspicious that Opera may have been ignoring the CSS, but would not expect WebKit based browsers to.


However, I've just tested on a borrowed Air and the header is showing as you say. I'll have to further investigate. It must be something to do with the way WebKit handles iFrames. Unfortunately differences between browser engines are all to common :(

Page Link
Responded by Neill
Response Added 2015/10/05


Response Okay, something really odd going on here. It works if you are logged into the CWI site. But if you are not logged in, the CSS is ignored and you see the header etc. Never seen that before! It must be something to do with the skin.

I will investigate further.

Page Link
Responded by Neill
Response Added 2015/10/05