Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

I just bought a website template

Featured Replies

Its been years since I did any coding myself so, I bought a template instead and decided to change a few things around. I tried opening the index file in my browser and got a message saying to change the 'templateBaseURL' URL which is:

 

var templateBaseURL = "null";/*"http://themes.mediacreed.com/html/synergy/"*/

 

Also I dont have a URL yet to change it to, and just want to preview the template for now.

It looks very pretty but what worries me is the large amount of scripts being used -- the're not concatenated and most aren't even minified.

 

The HTML is also full of inline styles.

  • Author

Right so on further inspection I found out that I need to edit some lines in the JS folder in order to us it. Yet I cant view my template on my browser with out having to insert my own url which I dont have it yet.

 

This is bascially what the I think I have to edit from what I read in the pdf I got when I bought this template. Yet after I edit it still doesnt work :(

 

/* start GENERAL CUSTOMIZATION PROPERTIES */
var templateBaseURL = "null";/*"http://themes.mediacreed.com/html/synergy/"*/
var themeColor = "#d00355";
var menuActive = true;
var menuHoverActive = true; /* it will change to false if menuActive == true. If 'menuActive'
is false and this true than on hover it will show the menu */
var menuTextOutColor = "#777777";
var customPageStart = false;
var customPageStartURL = "#portfolio.html";
var customPageStartSide = "none";
var customPageStartType = "full_width_gallery";
var phpUrlPath = "php/contact_synergy.php";
var contactFormDemo = true; /* SET IT TO FALSE FOR CONTACT FORM TO WORK */

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.