Display iframed content as a block using Block API
The code for this got buggered up in CKeditor due to it not handling Geshi properly, so I have removed all the code. You can download the Drupal 6 file here.
The code for this got buggered up in CKeditor due to it not handling Geshi properly, so I have removed all the code. You can download the Drupal 6 file here.
Comments
A beginner
Wed, 2010-08-18 12:28
Permalink
The first code goes to the
The first code goes to the .info-file. Into which files should the code "iframe_block_block.." should be placed?
James
Wed, 2010-08-18 17:50
Permalink
All of the following code
All of the following code goes into a file called iframe_block.module.
Anonymous
Mon, 2011-05-16 16:19
Permalink
good but..
which version of drupal works?
thanks..
james
Mon, 2011-05-16 22:32
Permalink
This was for an early Drupal
This was for an early Drupal 6 version of Block API, there may be a couple of small changes needed.
Anonymous
Mon, 2011-07-04 13:12
Permalink
This is exacly what I'm
This is exacly what I'm loking for !! Can u make it drupal7 accessible ?
james
Tue, 2011-07-05 08:56
Permalink
Done. http://jamestombs.co.uk
Done.
http://jamestombs.co.uk/sites/default/files/iframe_block.tar_.gz
You will need to rename the file to .tar.gz before you can extract it.
Anonymous
Wed, 2011-07-13 20:34
Permalink
Edit Blocks
Hi there,
I followed the different steps of this page. Thanks by the way
But now i can't access the Blocks page (/admin/build/block/ ) of my site any more. It displays a white page.
I can access /admin/build/block/add-module-block but no option is available.
Block Api is installed.
I'm running Drupal 6
Can you help me ?
Thanks !
james
Thu, 2011-07-14 12:55
Permalink
First step would be to
First step would be to disable Block API or your contributed module and see if you still get a white screen.
If you do then it isn't a problem with Block API.
If you don't, then the easiest way to resolve it would be to temporarily enable error reporting.
Just place this at the top of index.php below the opening php tag:
<?php
error_reporting(E_ALL);
ini_set("display_errors", 1);
?>
Anonymous
Thu, 2011-07-14 15:36
Permalink
Iframe_block pblm
Thanks for the answer.
It's actually the Iframe_block module that causes the issue.
When Block_api is activated, there is no pblm.
It's only when I activate the Iframe_block module.
What can I do ?
Thanks
james
Fri, 2011-07-15 12:06
Permalink
I have updated the post with
I have updated the post with a link to a download.
Unfortunately CKeditor ruined all the code and I don't have revisions enabled.