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
 Add extra boxes to your panels via layout manager
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Senior Member

United Kingdom
1898 Posts

Posted - February 20 2010 :  22:15:32  Show Profile  Visit devshb's Homepage  Reply with Quote
This is only relevant to VPASP V7....

The standard vpasp layout manager lets you enable/disable/move the various side/footer/central panel elements around, and it also lets you create new boxes for things like text blocks and html/images etc, but we found recently that one thing it can't do is let you create a box which calls an asp function that you've created.

To do that you'd need to change the way that the headers/trailers get processed, or start copying/pasting loads of calls/code from the layout processing into your actual header/trailer templates.

So, the example scenario goes like this:

"I want to create a new box in my side panel via the layout manager; I want to be able to enable/move it around just like I can with the other layout manager elements but my box content isn't standard text/html/images and it doesn't equate to any of the other element/box "types", it uses session values and stuff to show different text, and/or does a query to show some other info. I've coded-up my function which shows what I want, all I want to do is create the call for it in the layout manager; how can I get the layout manager to call a given function for a given element?"

or, put more simply:
"I've created an asp function to display something, how can I call/show it in the relevant place in my panel?"

Well, we had to do exactly that, and ended up creating this for it:
Extra Panel Elements for VP-ASP:

It's also available in the latest version of BYZ093 (product showcasing), so if you want to showcase different types of products in your panels, then you can get BYZ093 which also includes BYZ162 within it:

It might all sound like a fairly obscure thing to do, and perhaps not many people will want to use it, but other people have already needed this functionality so we ended up coding a generic way to do it all as an addon and then just used that; it worked a treat and did exactly what was needed.

Simon Barnaby
[email protected]
Follow us on Twitter: http://twitter.com/bigyellowzone
Web Design, Online Marketing and VPASP addons
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000