I'm trying to design a Module for my web site. What I would like is to click on a "Moon Phases" link in my Modules list. Then be directed to a page that has one section at the top with a picture of the current moon phase displayed. Then beneath that a list of years. When you click on a year, in that same section appears a table with the moon phases for that whole year. (That sounds kind complicated, but it's really not. If it didn't make sence, let me know and I can provide images.)
What I did was create a "Moon_Phases" folder in my Modules section. Then I created the index.php file which contains the first section with the current moon phase picture and the secon section with the year links. I then created year files such as 2005.php and 2006.php which contain the tables for the moon phases.
Everything works fine independantly, however it doesn't play nice together. When I click on a year link, I get this error:
"You can't access this file directly."
Luna Faye
_________________ Oracle of Pæthieon
Evaders99 Site Admin
Joined: Aug 17, 2003
Posts: 12397
Posted:
Fri Sep 23, 2005 11:01 pm
The files must be accessed like the following template
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