VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Add-ons for VP-ASP
 Using/showing vpasp from other directories
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Senior Member

United Kingdom
1898 Posts

Posted - January 08 2005 :  13:15:44  Show Profile  Visit devshb's Homepage  Reply with Quote
If you want to call/show your vpasp content (eg side-panels; login form, category poplists, links etc) from other directories/systems that are outside your normal vpasp directory, you'll have a horrible time working out how to do it (especially if you use an access database).

We've created a new addon with loads of examples and extensive instructions so that you can use vpasp from any directory either above or below your normal site:


See also:

You can see this in action if you look at our main retail site (http://bigyellowzone.com/) and then click on the forum icon or a newsletter link; those "systems" are entirely separate from vpasp but still allow us to use vpasp inside them so we can call/show/use vpasp stuff around the panels etc (including mini-cart display, login form, category poplists etc).

We call this "Relative-to-Root", where you specify in each directory where vpasp is found, then we use that inside our side-panel links adding it to the front of the image paths and links. It means that you can call vpasp logic/content from any directory above or below your vpasp directory.

This is bundled with our generic "extra template fields" addon which allows you to create your own new template fields nice and easily. It's bundled because the "relative-path-to-vpasp-directory" value needs to be available as a template field so you can add it to the front of any files/links that are referenced in your templates, and this is part of that bundle (ie the "relative-directory-to-vpasp" template field is part of the bundle so you can add it to the front of your templates' links and image source values etc). So, the relative-path front bit is available both as a template field and as a vbscript variable, so you can use it anywhere you want.

Simon Barnaby
[email protected]
Web Design, Online Marketing and VPASP addons

Edited by - devshb on January 08 2005 13:16:22
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000