( ! ) Warning: get_browser(): browscap ini directive not set in /var/www/vendorama/cart/includes/browser.inc on line 127
Call Stack
10.0007365128{main}( ).../index.php:0
20.0012365632include_once( '/var/www/vendorama/cart/includes/global.inc' ).../index.php:3
30.0021367912include_once( '/var/www/vendorama/cart/includes/browser.inc' ).../global.inc:82
40.0136381712get_browser ( ).../browser.inc:127
Docs: Custom head on Vendo

Docs: Custom head

You need to be logged in to edit this page.

The head tag has dynamically generated content such as title, and links to the css and javascript files.

There are two was you can insert additional head content:

  1. using the Custom head field in your admin template.
  2. inserting into your top.inc file using the $_PAGE['custom_head'] var

The $_PAGE['custom_head'] var in top.inc

If the custom head you want to insert may differ from page to page, you can insert it into the top.inc file.

For example, you may have a javascript file that validates your newsletter signup form to be included only if the visitor is logged in:

if($_SESSION['user_id']) {
       $_PAGE['custom_head']="<script type=\"text/javascript\" src=\"/template/newsletter_form_validate.js\"></script>";


Revisions history (6)    ( hide | show )     Extensions > Custom head