Jump to content

Recommended Posts

Posted

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!

Posted

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.

Posted

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.

Posted

Hi,

 

Let me get this straight:

 

A) You have a template which you downloaded

:unsure: 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

Posted

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.

Posted
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!! :unsure:

Posted
Aknot - glad you got your answer.

 

About my avatar - so far you're the only one. Thanks for asking.

 

:unsure:

Yup, loved the movie and was in the play in HS.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...