Aknot Posted March 24, 2003 Posted March 24, 2003 OK. I downloaded a free template. In it is a file called: custom.js The template has instructions that it needs to be edited to customize it for your use. So I opened it in notepad and edited a line from product 1 to Web Templates. But when I save and refresh it does not change on my site. When I do it (edited the file) offline from my harddrive it works fine. SO I figure copy that and replace it on my web folders online. It still doesnt work. The menu still displays Product 1. So now im confused and come here for help. Here is the part of the code: addMainItem("products.html","Products",80,"center","_self"); defineSubmenuProperties(120,"right","left"); addSubmenuItem("product1.html","Web Templates","_self"); addSubmenuItem("product2.html","Product 2","_self"); addSubmenuItem("product3.html","Product 3","_self"); addSubmenuItem("product4.html","Product 4","_self"); If any more info is needed I will provide all I can. Thanks! Quote
btrfld Posted March 24, 2003 Posted March 24, 2003 Here's a thought. I sometimes find that changes I make don't take on the Server, even though my FTP software says the file has been updated. Try this: Delete the file from the Server, then upload the new version. Usually works for me. Quote
Aknot Posted March 25, 2003 Author Posted March 25, 2003 Thanks but that did not work either. I deleted ALL of the .js files and replaced them with "fresh" edited ones from my harddrive. BTW How many people reconize your Avatar? Brings back memories. Quote
TCH-JimE Posted March 25, 2003 Posted March 25, 2003 Hi, Let me get this straight: A) You have a template which you downloaded This template works without editing C) Upon editing and displaying on your desktop it works D) The verson uploaded to your website does not work? If this is the case, or you are trying to refresh a copy already on the server then maybe you are putting the file into the wrong area and not the correct folder? I know i have done this many times. Is it possible to have a URL link to the page on your website in question and a link to the where you downloaded the template? Cheers Jim Quote
Aknot Posted March 25, 2003 Author Posted March 25, 2003 Yup. Thanks Jim. I just figured it out late last night. After reading thorugh the code on my web page I realized some of the lines where attempting to point to the place I extracted them all to and not where they were copied to. Once I went in and "redirected them" and everything works. Thanks for the help. Quote
TCH-JimE Posted March 25, 2003 Posted March 25, 2003 Its amazing how late nights suddenley make you see something you missed all day! Glad it works Jim Quote
btrfld Posted March 25, 2003 Posted March 25, 2003 Aknot - glad you got your answer. About my avatar - so far you're the only one. Thanks for asking. Quote
Aknot Posted March 25, 2003 Author Posted March 25, 2003 Its amazing how late nights suddenley make you see something you missed all day! Glad it works Jim So far it works I will probably break it later today!! Quote
Aknot Posted March 25, 2003 Author Posted March 25, 2003 Aknot - glad you got your answer. About my avatar - so far you're the only one. Thanks for asking. Yup, loved the movie and was in the play in HS. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.