How to remote the Label on top of the Iframe

drizzi - March 2, 2009 - 17:59
Project:Iframe
Version:6.x-1.2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

hello,

i'm testing the iframe modul and would like to know if there is a possibility to remove the label above of the iframe.

thanks for support :-)

steffen

#1

drizzi - March 2, 2009 - 18:00
Assigned to:drizzi» Anonymous

#2

neffets - March 11, 2009 - 09:26
Status:active» closed

1) if you leave the title empty, no title is displayed.

2) Under /admin/content/node-type/story/display/

You can trim the display of all fields.

I choosed:

Basic: hidden / hidden / title above (when you leave title empty, no title is displayed(!))
(because in teaser, the iframe makes mostly no sense)
Rss: 'IFrame url as plain url'
Token: title above

#3

neffets - May 10, 2009 - 00:11
Status:closed» fixed

#4

System Message - May 24, 2009 - 00:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

#5

roe1234 - September 20, 2009 - 20:39
Status:closed» active

I *think* the original poster was referring to the "iframe:" placed above the iframe. I do not see a way to hide this. I created a new content type called iframe that has the iframe field enabled. I do not have "iframe" set anywhere on the node or content-type (I needed to name the content-type something, but nothing optional). I have hidden the teaser like the above poster suggests. I still see HTML:

iframe: 

on my node. I would like to hide this, but do not see a way to do so.

#6

jessicadennis - September 24, 2009 - 18:41

I removed the "iframe" label in css -- in /modules/cck/theme/content-module.css I changed this:

/* Node display */
.field .field-label,
.field .field-label-inline,
.field .field-label-inline-first {
  font-weight:bold;
}

to

/* Node display */
.field .field-label,
.field .field-label-inline,
.field .field-label-inline-first {
  visibility: hidden;
}

Of course, this may break when I update the module. There might be a better CSS sheet to put that into, but I'm kinda lazy.

#7

indyrev - October 10, 2009 - 00:11

jessicadennis, I'm assuming this CSS fix worked for you, I tried the same and it did not work for myself. In fact, I have two "iFrame:" displays. Any ideas anyone?

#8

marlun - November 10, 2009 - 11:59

If you choose to hide the Etikett as well (Under /admin/content/node-type/story/display/, as neffets chose to do) there is no display of "iFrame:" above the iframe.

 
 

Drupal is a registered trademark of Dries Buytaert.