devshb
Senior Member
United Kingdom
1904 Posts |
Posted - January 08 2005 : 13:15:44
|
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:
http://bigyellowzone.com/shopexd.asp?id=83
See also: http://vpasp.com/virtprog/vpaspforum/topic.asp?TOPIC_ID=3373
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 Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons
Edited by - devshb on January 08 2005 13:16:22 |
|