( ! ) Warning: get_browser(): browscap ini directive not set in /var/www/vendorama/cart/includes/browser.inc on line 127
Call Stack
10.0003365320{main}( ).../index.php:0
20.0003365824include_once( '/var/www/vendorama/cart/includes/global.inc' ).../index.php:3
30.0008368104include_once( '/var/www/vendorama/cart/includes/browser.inc' ).../global.inc:82
40.0050381904get_browser ( ).../browser.inc:127
Docs: Introduction to Extensions on Vendo

Docs: Introduction to Extensions

In addition to the built-in extensions, you can also create your own. You can write PHP functionality plus query and update your SQLITE database.

Your PHP executable files are located in your /php/ directory which can be edited through your admin under Layout > PHP. Resellers can access via FTP, everyone else can access via /vendo/php/ in your browser.

Your PHP files are included at the top and bottom of every page. 

(Note: the built-in extensions are not editable.)

Files can you add extensions to


Via ftp: if you see a file named __top.inc and want to use it, rename it to top.inc - likewise if you no longer want to use it rename it back to __top.inc or any other name (or just delete it). Only files that are named exactly as above are included.

Include order

A page is accessed by the web browser, for example the homepage is "index.php"

The page includes:

    /php/top.inc             (or "head.inc")
       - Vendo then processes various functions specific to the index.php file
       - Vendo generates the html, head and opening body tags
       - Vendo loads and parses your template header.html
the page (index.php) runs its own content

       - Vendo loads and parses your template footer.html
       - Vendo then adds the closing body and html tags

To get a feel for adding your own extensions start with these Examples


Revisions history (8)    ( hide | show )     Extensions > Introduction to Extensions