Members: 16,996
Threads: 38,845
Posts: 159,389
Online: 17

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 30.04.2004, 07:02   #1 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 1
walten is on a distinguished road
Default put a webpage into a module window

I am in the process of changing my site from a phpnuke site to MOS. In phpnuke if i wanted to add a module to show a website I would do this.

<?
if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
die ("You can't access this file directly...");
}

if(!IsSet($mainfile)) { include ("mainfile.php"); }
$index=0;
$theme="DeepBlue"; ///<------SET A THEME HERE OR PLACE TWO BACKSLASHES IN FRON OF THIS LINE
$go_to_address1="site would go here";
$go_to_address=rawurldecode($go_to_address1);
include("header.php");
OpenTable();
echo "<iframe SRC=\"".$go_to_address."\" width=\"100%\" height=\"1200\" framespacing=0 frameborder=no border=0 scrolling=auto></iframe>";
CloseTable();
include("footer.php");
die;

?>

then save it as a php file. put it in the module dir and activate it.
obviously that wouldnt work here.

how would I acompplish this in MOS


Thanks

Brian
walten is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 30.04.2004, 08:18   #2 (permalink)
Senior Mamber
 
coke's Avatar
 
Join Date: Apr 2004
Posts: 125
coke is on a distinguished road
Send a message via MSN to coke
Default Re: put a webpage into a module window

go to administration

modules->mamange modules->new

in the content editor click < > to view the source

and paste your iframe code

voila!...

isn't mambo great??
__________________
Como quieres que te quiera si el que quiero que me quiera no me quiere como quiero que me quiera
coke is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Yanc Subscribe Module 1.2 Released visualdensity Development Announcements 24 14.10.2005 14:06
phpShop Module... problem... dunedain Module 'How Do I' Questions 4 05.07.2004 14:41
Is there an easy way to create multiple instances/copies of a module nickc Module 'How Do I' Questions 8 29.04.2004 04:50
General Module setup Module Development 0 24.04.2004 23:34


All times are GMT +2. The time now is 08:48.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.