Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Add-Ons & Blocks :: Archives ⇒ Missing side blocks / New module / Need code to include them :: Archived


Missing side blocks / New module / Need code to include them :: Archived
Need help creating a block or add-on, or you have created or modified a block/add-on that works in Dragonfly CMS and it meets the CPG Security Requirements? Do you have feedback about a specific add-on? Here is the place to post. Read the announcements here first!.
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  Add-Ons & Blocks

Topic Archived View previous topic :: View next topic  
Author Message
Gerald
Supporter
Supporter

Offline Offline
Joined: Oct 19, 2004
Posts: 508
Location: Asheville, NC
PostPosted: Sun Feb 20, 2005 2:16 am
Post subject: Missing side blocks / New module / Need code to include them

Hi Folks,
I posted a follow up to a thread in "please explain" then I noticed that my question did not fit under that topic. Nor did the original one that started the thread but thats beside the issue....

Anyway here's the thing I created a new module it'is here if you want to look. you can see it missing the right and left blocks. I would like to have these showing.

Here is the code I used to create the new blocks and thanks to Bigner 75 for posting it the other thread it was very helpful for getting this fare on the new block.

Code::
<?php
if (!defined('CPG_NUKE')) { exit; }
/*---------------------------------------------------------
  Description:
  iframe Module - CPG-Nuke Compatible
  By: Stephen2417 aka HomeSlice (stephen2417@gmail.com)
  http://www.stephen2417.com
  Copyright © 2004 by Stephen2417
  ---------------------------------------------------------
  Instructions:
  Save as index.php, Upload to /modules/NAME/
  (change the name if you wish to have more than one)
  then fill in the config (url and size).
  ---------------------------------------------------------*/
/*--------------------[START CONFIG]-----------------------*/
$url = 'http://www.yoursite/htmlpage.html'; /* URL */
$size = array(
'width'  => '100%', /* Width */
'height' => '500'  /* Height */
);
$pagetitle .= 'title goes here';
/*---------------------[END CONFIG]------------------------*/
require_once('header.php');
OpenTable();
echo '<center>'
    .'<iframe src="'.$url.'" width="'.$size['width'].'" height="'.$size['height'].'">'
    .'Your browser dosen\'t support iframe\'s, Get a real browser. Firefox - getfirefox.com'
    .'</iframe>'
    .'</center>';
CloseTable();
?>


Gerald's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
. . . . . . . . .. . . . . . ( Linux 2.6.9 / 2.2.3 / 5.0.22 / 5.1.6 / 9.1.2.1 )
Back to top
View user's profile Visit poster's website Photo Gallery
Gerald
Supporter
Supporter

Offline Offline
Joined: Oct 19, 2004
Posts: 508
Location: Asheville, NC
PostPosted: Sun Feb 20, 2005 4:22 pm
Post subject: Re: Missing side blocks / New module / Need code to include

Code me......What you say......Code me.....That's what.... Very sad


Gerald's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
. . . . . . . . .. . . . . . ( Linux 2.6.9 / 2.2.3 / 5.0.22 / 5.1.6 / 9.1.2.1 )
Back to top
View user's profile Visit poster's website Photo Gallery
bigern75
Platinum Supporter
Platinum Supporter

Offline Offline
Joined: Aug 18, 2004
Posts: 2102
Location: River Valley - FS AR
PostPosted: Sun Feb 20, 2005 4:52 pm
Post subject: Re: Missing side blocks / New module / Need code to include

admin> modules> Poster> edit> blocks-both

_________________
iPad 1

bigern75's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.6/5.0.86/5.2.8/9.3.2
Back to top
View user's profile Visit poster's website
Gerald
Supporter
Supporter

Offline Offline
Joined: Oct 19, 2004
Posts: 508
Location: Asheville, NC
PostPosted: Sun Feb 20, 2005 5:48 pm
Post subject: Re: Missing side blocks / New module / Need code to include

Sweet....Thanks
I guess it was a "Please Explain" Thing was-in-it.

So much to learn on the admin I get lost sometimes.


Gerald's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
. . . . . . . . .. . . . . . ( Linux 2.6.9 / 2.2.3 / 5.0.22 / 5.1.6 / 9.1.2.1 )
Back to top
View user's profile Visit poster's website Photo Gallery
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  Add-Ons & Blocks
Page 1 of 1
All times are GMT

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.
· Removed index.php depency.
· v9 fixed menu hoverings on touch screens.
· Fixed menu hoverings on touch screens.
· Fixed empty $Module object

read more...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy