noob module question / structure / layout / links

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   noob module question / structure / layout / links
joatmon
CZ Newbie
joatmon has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Feb 13, 2006
0.00 posts per day
Posts: 2
Points: 125
   
Hello all,
I have a couple of questions that's rackin my noggin,

Background

I have a structure of ...

%siteroot%/modules/mymodule/subcontent/images/
%siteroot%/modules/mymodule/subcontent2/images/
%siteroot%/modules/mymodule/subcontent3/images/

for ease of management ( or at least thats what I figured. )


How do i link to the mymodule/subcontent/index.php file
from /mymodule/index.php file

My mymodule/index is working just fine ,but im having a mental blockwhen it comes to linking to the subcontent/index

How do I get the /subcontent/index.php
incorporated into the rest of the site (theme , blocks ,header , footer , etc .. )

Goal :

I want to create a custom module with a main page,
that links to contents located in subfolders of the module , without resorting to using Iframe tags on the main module index to eliminate scroll bars inside the body of page etc .

Any helpfull links , code , input , guides greatly welcome ,
checked phpnuke's howto section and im either blind , looking in wrong spot, or to tired.



Back to top Reply with quote
#2   
joatmon
CZ Newbie
joatmon has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Feb 13, 2006
0.00 posts per day
Posts: 2
Points: 125
   
im working with the modding_tutorials_368.zip module from the other post , wich will work for what i want , but is there a way to use html instead of .txt ?



Back to top Reply with quote
#3   
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
   
Yes you can change it to look for .html. Linking to subfolders in the module you just want to include that file.

Make your index.php in the module look for some type of a trigger and then include that file. Same concept as the modding_tutorial I worte for the other post.




_________________
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
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