adding your own content module

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   adding your own content module
EFFBMBR
CZ Newbie
EFFBMBR has been a member for over 17 year's 17 Year Member
Gender: Male
Status: Offline
Joined: May 20, 2007
0.00 posts per day
Posts: 5
Points: 0
   
Hey guys...

I'm extremely new to Nuke as you can probably guess but i've had alittle experience with E107.

On E107 in the administrative section there is an option to create your own custom page allowing you to put your own text in there, HTML based, i cant seem to find the samething in nuke and thats probably because it doesn't exist but im sure you can do the samething some other way.

If anyone knows of anyway to add your own module allowing you to add text or html code that would be awesome.

Thanks,

Jamie



Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
There should be a "Content Module" that came with your Nuke package. You can add text in there. To add html you may have to add the allowed tags into your config file.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: adding your own content module
EFFBMBR
CZ Newbie
EFFBMBR has been a member for over 17 year's 17 Year Member
Gender: Male
Status: Offline
Joined: May 20, 2007
0.00 posts per day
Posts: 5
Points: 0
   
I can add text in there but, i cant display it in the Modules box with everything else such as: Home, Downloads, FAQ, etc...

What i mean is... I run a clan for the 360, i want to add a Roster page, and a Rules page.

I can add those in the content box yes, but i'd like to have it in the actual modules box with everythin else on the homepage, im pretty certain its possible, im just not sure how to do it...



Back to top Reply with quote
#4   re: adding your own content module
web-hosting
CZ Newbie
web-hosting has been a member for over 17 year's 17 Year Member
Gender: Male
Website:
Status: Offline
Joined: May 21, 2007
0.00 posts per day
Posts: 3
Points: 50
   
Create a new folder in the modules dir, add inside an index.php containing the following....

<?php
if (!eregi("modules.php", $PHP_SELF)) {
die ("You can't access this file directly...");
}
$index = 0;   // 0 : do not show right blocks - 1:show right blocks
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
include("header.php");
OpenTable();
?>

ADD YOUR TEXT/HTML HERE

<?php
CloseTable();
include("footer.php");
?>


Activate through /admin.php.

Hope this helps!


Back to top Reply with quote
#5   
EFFBMBR
CZ Newbie
EFFBMBR has been a member for over 17 year's 17 Year Member
Gender: Male
Status: Offline
Joined: May 20, 2007
0.00 posts per day
Posts: 5
Points: 0
   
Thank you, very much.

Exactly what i wanted :-)

Thanks again !



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