Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
LinkBack Thread Tools
Old 01-13-2008, 01:58 PM   #1 (permalink)
Registered User
 
Join Date: Jan 2008
Posts: 3
OS: winXP


[SOLVED] problem adding menu with SSI

I am new to SSI and these functions but for the past few days I have been trying to learn from tutorials googling for info to get my web pages to load the menu/navigation via include command but I keep running into the same problem the menu just does not function, every thing looks proper but when mouse over the menu it doesn't give the drop down sub menus ect.

First off I am using dreamweaver to create my pages, using the built in SSI function and selecting the file I wish to include. I am using PVII tabbar magic to create my menu.

I create a blank html file (all code tags everything del), then use the menu maker to create the code then save the file as .shtml this is the file I try to include. (have also tried them as php and same problem)

when I use the include command to import that menu file to the page I want it on it gets imported all jumbled as with no css, I then use this style import
<style type="text/css">
@import url(path/filename.css);
</style>

Then that fixes that, the menu looks perfectly fine but does not function.

And now this is were I am stuck I don't understand how to get it working, am I supposed to import the java script some how like I did with the CSS, I have googled for info with no luck. am I missing something in the htaccess file? these are the lines I added to my servers default file

AddType text/html .shtml
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes

I have also tried removed all default stuff that was in the file and including only that along with some other code that I found in SSI tutorials like
AddType application/x-java-applet .class
AddType application/x-java-applet .js

hopefully some one here can help, if there is any other info you need just let me know.

Edit: forgot to mention the .htaccess file is in my root and should be working for every thing on the site. I have tested it with code to pull the local date from the server, tried that test file in various folders on my site and worked fine.

Last edited by rumrak; 01-13-2008 at 02:06 PM.
rumrak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 01-14-2008, 03:33 AM   #2 (permalink)
TSF Enthusiast
 
KoosHopeloos's Avatar
 
Join Date: Nov 2004
Posts: 555
OS: Windows XP Pro & Windows Vista Ultimate browsing the web with FF, Opera, Safari and IE.


Re: problem adding menu with SSI

@ rumrak: Welcome to TSF!

Do you wish that your navigation menu is put on your webpage using SSI? And that the way it looks and functions using CSS? Can you post a page from your website to be online to review?
__________________
KoosHopeloos, straight to you from .nl via the world wide web!

KoosHopeloos is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-14-2008, 12:34 PM   #3 (permalink)
Registered User
 
Join Date: Jan 2008
Posts: 3
OS: winXP


Re: problem adding menu with SSI

Hi KoosHopeloos, thanks for the reply. yes that sounds about right how I want to do this. I put together a normal html page with how it should look and function, another with the same page trying to include a menu from another folder (this time with error), also an example of what was happening with the menu before.

Page looking correct in html


Same page saved as shtml trying to include menu from a different folder

An example of the previous problem with the menu being included from another location, css setup through import but menu not functioning.


This is the menu file that is trying to be included from the above page

I added these extra lines to my servers default .htaccess file which is located in my root folder of ajphoto.org
AddType text/html .shtml
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes

I have also tried it with only those lines and no change, I have tried importing another access file that had all all the most common things and still same issue.

hopefully from that you can see were the problem may be coming from or what I am doing wrong.

Thanks

Last edited by carsey; 04-07-2008 at 01:52 PM.
rumrak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-16-2008, 11:20 AM   #4 (permalink)
Registered User
 
Join Date: Jan 2008
Posts: 3
OS: winXP


Re: [SOLVED] problem adding menu with SSI

I have finally figured it out and fixed the problem, test pages that were made have been del to clean things up so the above links will be dead now and oddly enough you cant edit here.

for the others that it may help what worked for me was, main page php, include page shtml, use php include command, style import on main page hard linked to the css (http:location), used normal script code on main page and did another hard target to the java script for the menu, directly poiting to the file with the full address is the only way I got it to work right for me. and of course edit your .htaccess would need at least these lines.

AddType text/html .shtml
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes

hopefully that will help some one and save them days of trouble shooting like I had
rumrak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 12:59 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85