Results 1 to 4 of 4

Threaded View

  1. #3
    Join Date
    Oct 2007
    Posts
    241
    Plugin Contributions
    0

    Default Re: PHP and Javascript embedded within

    Quote Originally Posted by DrByte View Post
    Making *any* edits to application_top.php is unadvisable unless you know exactly why you're doing it.

    If you need to add javascript to your site for some reason, it belongs somewhere in the template logic, not in the core intelligence of the overall site.

    There is documentation on the built-in support for javascript handling available here: http://www.zen-cart.com/wiki/index.p...s_-_Javascript
    From the above URL:

    Site-Wide jscript's

    jscript*.js files -- to be "linked" by your site

    Any file in the includes/templates/{template_directory}/jscript/ directory with the following filename format will be loaded globally on every page of your shop:




    OK....would {template_directory} then be the:

    CLASSIC
    (I am using the Classic template, and customizing as I go along)

    or

    TEMPLATE DEFAULT

    folder?

    Thanks to any forum members responding to this!!!!
    Last edited by Donn; 6 Feb 2009 at 01:04 AM.

 

 

Similar Threads

  1. Javascript product pages and php basket?
    By mattjb in forum General Questions
    Replies: 2
    Last Post: 9 Oct 2014, 10:42 AM
  2. Javascript help with embedded video
    By rottiejoe in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Feb 2011, 03:11 AM
  3. Javascript within blank_sidebox mod
    By skyegospel in forum Addon Sideboxes
    Replies: 5
    Last Post: 29 Oct 2008, 06:18 PM
  4. Embedded Javascript inside an EZ-Page
    By dcarrith in forum General Questions
    Replies: 4
    Last Post: 10 Jun 2008, 04:47 AM
  5. Replies: 7
    Last Post: 24 Nov 2007, 05:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg