Business Management Tools
CMS Support - Javascript Files
The My Market Toolkit CMS allows you to manage your javascript files in one place. Each website can have as many javascript files as needed.
Creating a Javascript File
To create a javascript file:
- Click on "Manage Javascript Files".
- Click on "Create Javascript Page".
- Give the javascript file a meaningful title. The URL will be automatically generated unless you specify one.
- Change the Status to "Public" when ready to use it.
- Compose your javascript in the Content area or paste it from some other source.
- Click "Submit".
Applying a Javascript File to a Template
To apply a javascript file to a Template:
- Click on "Javascript Files".
- Click the "Edit" (pencil) icon next to the stylesheet you wish to apply.
- Copy the Template Code - it will look something like this: [kmod type="js" name="script-name"]
- Paste it into the template between the head tags where you would normall link to your javascript files. The appropriate tags will be generated.