Jump to content

Change "TemplateBase URL" Path


sahduk

Recommended Posts

So I just bought a website template called synergy from themeforest. I cant open this website on Dreamweaver. I tried on my browser and I get that error message above in the title.

 

I looked through the documents I got from the website asking me to change the base url in my js folder in a file called mc.modules.animation but I dont have a website to host on so its a bit pointless?

Link to comment
Share on other sites

If your website requires a server-side language then you can't preview it in the browser with dreamweaver, it has to be hosted on a server that supports the language.

Link to comment
Share on other sites

If your website requires a server-side language then you can't preview it in the browser with dreamweaver, it has to be hosted on a server that supports the language.

So I installed the wampserver with the defualt settings. Then went back to my mc.modules.animation to change the line that said http://themes.mediacreed.com/html/synergy to "your.domain.com and still nothing.

Link to comment
Share on other sites

You' ll need to do some testing to make sure your wampserver works. Then place your file in the wamp/www folder and execute by loading your file into your browser's url : localhost/yourFileHere

Link to comment
Share on other sites

You' ll need to do some testing to make sure your wampserver works. Then place your file in the wamp/www folder and execute by loading your file into your browser's url : localhost/yourFileHere

 

The wamp server works I think. I loaded up the original index file and it worked in my browser. I went through some tutorials and it said to delete the files in the www folder and replace them with my ones, which I did.

 

Then I turned on all services on the wamp icon in my tray. And its still asking me to change the baseURL

 

Should I be making a custom url through wamp somehow?

Link to comment
Share on other sites

Have you downloaded your template folder and files, to folder in wamp/www folder? Your template base would be http://localhost/xxxxxxx/ where xxxxxxx is the name of the folder you placed all you template files in.You can't link to domain outside your local server.

Yes I downloaded all the files from my template folder into the wamp.www folder. I changed the template base to:

 

var templateBaseURL = "null";/*"http://localhost/www/"*/ since I extracted it to that folder. still nothing :(

Link to comment
Share on other sites

Without all the code for that function, you might get by "localhost/"

 

EDIT:

 

Else, "localhost" (possibly).

Edited by niche
Link to comment
Share on other sites

LOOK! where is says "null" is where you place your domain, in this case because you are using a local server it would be var templateBaseURL ="http://localhost/", if it was placed in a folder 'synergy' it would be var templateBaseURL ="http://localhost/synergy/"; as mention /* blah blah blah */ is just a comment to give you example on what you should be entering it does nothing placing your local url here as you have discovered.

Edited by dsonesuk
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...