Jump to content

New .tpl File,


mndunne

Recommended Posts

Hi,

I am currently making a skin for my store, i want to use some JavaScript on my FAQ page, however when i put the code in the text editor in the admin area and then update changes it displays the info but the javascript aint there its as if i cant find the JavaScript file or it cant read the JavaScript that has been put in.

There for i was going to just make the page as a new .tpl file and upload it to "styleTemplates/content/" the problem is how do i then link to this page in the "styleTemplates/content/" folder and get it to display in the correct place ie in the {PAGE_CONTENT} . The link to say "login" for example is

"http://bookworm-direct.co.uk/index.php?_a=login&redir=%2Findex.php"

I no this link relates to the styleTemplates/content/login.tpl

But how do i add my own and then link to it?

Any idiea,

Regards Matthew

Link to comment
Share on other sites

Join the conversation

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

Guest
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...