Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2006
    Posts
    16
    Plugin Contributions
    0

    Default Adding HTML Code

    In order to display a security image (you can see it at the bottom right corner of this page here
    I am trying to add code to my site, the problem is that the instructions are for an HTML site. I am suposed to insert some code EXACTLY before the </HEAD> tag and EXACTLY before the </BODY> tag.

    Now i would like to get that to display on the checkout funnel but if that is not possible I would settle to have it displayed on every page. Any ideas on how to do this?
    Specialty Soaps Online
    sheep's Milk Soap, goat's Milk Soap, Olive Oil Soap, Soap Making Kits and more!
    http://www.excellentsoaps.com

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Adding HTML Code

    Find and make a copy of this file and place into your template/common folder

    /includes/templates/template_default/common/html_header.php

    In this file towards the bottom you will enter your code where I have indicated in red:
    Code:
    /**
     * include content from all page-specific jscript_*.php files from includes/modules/pages/PAGENAME, alphabetically.
     * These .PHP files can be manipulated by PHP when they're called, and are copied in-full to the browser page
     */
        require($page_directory . '/' . $value); echo "\n";
      }
    
    //DEBUG: echo '<!-- I SEE cat: ' . $current_category_id . ' || vs cpath: ' . $cPath . ' || page: ' . $current_page . ' || template: ' . $current_template . ' || main = ' . ($this_is_home_page ? 'YES' : 'NO') . ' -->';
    ?>
    Insert your code here
    </head>
    This will place this on all pages and if I read this correctly it will not scroll but be anchored to the lower right corner
    I or another will have to look into and comment on the before the body insertion.
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Dec 2006
    Posts
    16
    Plugin Contributions
    0

    Default Re: Adding HTML Code

    Bump to find where to insert a <body> tag
    Specialty Soaps Online
    sheep's Milk Soap, goat's Milk Soap, Olive Oil Soap, Soap Making Kits and more!
    http://www.excellentsoaps.com

 

 

Similar Threads

  1. HTML Editor preview changes to Plain Text with HTML code
    By Morph99 in forum Basic Configuration
    Replies: 5
    Last Post: 3 Jan 2011, 10:12 PM
  2. HTML Code
    By cactusrunning in forum General Questions
    Replies: 0
    Last Post: 16 Nov 2009, 06:04 PM

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