Sessions page getting there ..

5 replies [Last post]
User offline. Last seen 1 hour 56 min ago. Offline
Project administrator
Joined: 2008-11-26

I think it's safe to say that we can soon leave the old Server status / sessions pages to history and move on to supporting a single session / gallery page. We started using all the data from the Drupal database instead and made some small javascript stuff to make the gallery/session page a little more interactive.

On a second note, I can't for the life of me seem to get the annoying CKEditor IFRAME to display with white background on the sessions/gallery page. It always seems to prefer to show the background image (with the farm). If anybody has any suggestions to correct this, please shoot.

Julius Tuomisto Project Administrator Laurea SID Networks, Espoo, Finland Tel. +358-50-4135412

User offline. Last seen 3 hours 11 min ago. Offline
Fellow
Joined: 2010-05-31
CKE Background

I'm not 100% sure, but I noticed that there's a "background-color: transparent" in http://www.renderfarm.fi/sites/all/libraries/ckeditor/skins/v2/editor.css

I think this means it accepts the background of the parent container (the page background?). But it's the same value for this (forum) editor. It doesn't make sense that one is white, while the other is the background image. Could they have different parents?

What happens when you change "background-color: transparent" to "background-color: #fff"?

User offline. Last seen 1 hour 56 min ago. Offline
Project administrator
Joined: 2008-11-26
Didn't seem to affect anything

I tried those changes to the stylesheet, but unfortunately to no avail. The difference between the Animation/session page and the rest of the pages with the the comment sheet is that the particular page has been made with the help of a Drupal module called Panels. I wonder if this is somehow affecting the Iframe (for example via the parenting that you proposed).

Julius Tuomisto Project Administrator Laurea SID Networks, Espoo, Finland Tel. +358-50-4135412

User offline. Last seen 3 hours 11 min ago. Offline
Fellow
Joined: 2010-05-31
Drupal CSS

Spent a while looking at this but can't figure much out. I'm a relative newbie with Drupal and haven't done any complex themes. All I can see is the div class around the form is "pane-content" for the gallery, and "content" for the forum. But I couldn't find a pane-content class in the css (so it's probably irrevelant). I'm stumped too.

If it goes away based on the Panels module, it must be in there. But drupal does so much "magic" it can be hard to track down.

User offline. Last seen 4 weeks 2 days ago. Offline
Fellow
Joined: 2010-07-12
The problem is

The problem is in:

http://www.renderfarm.fi/sites/all/themes/RFv3RC3/style.css

 

Line 14

body {
background-attachment:fixed;
background-color:#454545;
background-image:url("images/Page-BgTexture.jpg");

...

 

This is inherited by the body of the iframe.

 

I dont know the structur of you page, but you got 3 options you can try:

1. Try to give the <body contenteditable="true" spellcheck="false" class="cke_show_borders" id="editorBG" style=""></body>

an own id="editorBG" and in style.css go below the main background description, add a

body editorBG {

background-image:none;

background-color: #ffffff;

}

 

2. If that doesnt work, you can go directly for the style

 <body contenteditable="true" spellcheck="false" class="cke_show_borders" id="editorBG" style="background-image: none; background-color: rgb(255, 255, 255);"></body>

 

3. If you dont have access to all of this, I would do it by a small javascript, that resets background for the editor.

 

p.s.: You can also try to access the iframe body by it's class name cke_show_borders, but classes are less "mighty", so there's a chance that you cant override the style by it's class.

User offline. Last seen 1 hour 56 min ago. Offline
Project administrator
Joined: 2008-11-26
It is now possible to embed videos

After some consideration I now allowed everybody to enter embed (for easy Youtube and Vimeo posting) on comments and messages. The easiest you can do this is to click the "Source" button on the WYSIWYG editor, paste the embed code and switch back to the WYSIWYG editor mode by re-clicking "Source".

Julius Tuomisto Project Administrator Laurea SID Networks, Espoo, Finland Tel. +358-50-4135412

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.