Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Noob Menu Help

Status
Not open for further replies.

Havocx

Technical User
Mar 5, 2002
1
US
I have recently made a website for my first time without frames. I used frames in pure html to create nice menus. I have no created a table site from scratch at as a beta test site and came to a problem. It will be impossible to change my menu for every page of my website quickly. I thought php would be my awnser but people told me cgi might be easier then php for a beginner 16 year old like me. If you can help me post a reply maybe tell me what cgi code i need or direct me to a page. I will credit you on my page I am real good with java and html just a noob at php and cgi. Thankyou for your help.
-Sean Havoc Cavanaugh
 
Sean

Your best bet might be even easier than CGI. Why not use SSI (server side include) where you take the menu, table and all and paste the code into a txt document, call it menu.txtr or something more creative, then include that file on all of your sites pages. Now when you want to change the menu, you open the txt file and edit it, and you are done. You can use the same method for headers, footers and then in 3 minutes you can give a website an entirely new look. When in doubt, deny all terms and defnitions.
 
Another option would be to use Template Toolkit ( which is now available as a windows PPM package from OpenInteract (
Like SSI you can use the INCLUDE keyword in your templates and run other template fragments. I use it to create a psuedo frame layout via a TABLE then include the other fragments (header, footer, navigation and body) within the table cells.

It is a bit daunting for a new user, but there are several people, including it's author Andy, who are on hand to help out via the mailing list. Slashdot, the BBC and many others now use it to help them produce dynamic content.

HTH,
Barbie. Leader of Birmingham Perl Mongers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top