How do you make a module with just information on it?

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   How do you make a module with just information on it?
UpCast
CZ Newbie
UpCast has been a member for over 19 year's 19 Year Member
usa.gif indiana.gif
Occupation: Student
Age: 34
Gender: Male
Website:
Status: Offline
Joined: Dec 09, 2004
0.00 posts per day
Posts: 8
Points: 385
  MSN Messenger 
i was wondering about how to add a module with just like HTML information on it..so i can put HTML into the module page. so i can show stuff or add mis. stuff.



Back to top Reply with quote
#2   re: How do you make a module with just information on it?
iSsUeS
CZ Newbie
iSsUeS has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Jan 14, 2005
0.00 posts per day
Posts: 13
Points: 762
   
Have you tried the Content module?



Back to top Reply with quote
#3   re: How do you make a module with just information on it?
UpCast
CZ Newbie
UpCast has been a member for over 19 year's 19 Year Member
usa.gif indiana.gif
Occupation: Student
Age: 34
Gender: Male
Website:
Status: Offline
Joined: Dec 09, 2004
0.00 posts per day
Posts: 8
Points: 385
  MSN Messenger 
yea but like i dont want it to be in sections like that i just want it to be like a straight place where i can put HTML in so i can make a list of somthin like that



Back to top Reply with quote
#4   re: How do you make a module with just information on it?
Stray_Bullet
CZ Newbie
Stray_Bullet has been a member for over 19 year's 19 Year Member
usa.gif newyork.gif
Gender: Male
Status: Offline
Joined: Jan 07, 2005
0.00 posts per day
Posts: 13
Points: 979
   
Yep I Can Help Ya Out I Think... I Do The Same On Our Site. [ Register or login to view links on this board.]

Remember After You Do This You Need To Go To Your Admin Control Panel To Activate The Module...

For Example: In Your Root Directory Make A Folder Named "clan-members". In This Folder Put Your HTML. In The Modules Folder Make A Folder "Clan_Members" And In This Folder Make A File "index.php" And Put This Code...
<?php
if (!stristr($_SERVER['SCRIPT_NAME'], "modules.php")) {
    die ("You can't access this file directly...");
}
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
include("header.php");
$index = 0;
OpenTable();
include("clan-members/index.html");
echo $content;
CloseTable();
include("footer.php");

?>


Hope This Helps! icon_wink.gif



_________________
Kill With The Best... Or Die Like The Rest... [ Register or login to view links on this board.]
Back to top Reply with quote
#5   re: How do you make a module with just information on it?
stinke
CZ Newbie
stinke has been a member for over 19 year's 19 Year Member
usa.gif tennessee.gif
Age: 46
Gender: Male
Website:
Status: Offline
Joined: Jan 27, 2005
0.00 posts per day
Posts: 1
Points: 28
   
Thanks somewhat stray I got the module added but I get errors when I click on it.I am a PHP newb. Please help.
This is my code.
<?php
if (!stristr($_SERVER['SCRIPT_NAME'], "modules.php")) {
die ("You can't access this file directly...");
}
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
include("header.php");
$index = 0;
OpenTable();
include("Members_Pics/index.html");
echo $content;
CloseTable();
include("footer.php");

?>

I am running NUKE platinum
this is the link tp the page [ Register or login to view links on this board. ]



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum