Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 ASP in template?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

krish
Starting Member

12 Posts

Posted - April 22 2003 :  12:44:48  Show Profile  Reply with Quote
Hi,
Can we inlcude ASP code sections in Product and Category templates?
Can VPASP run the asp code in these templates without any problem?

Thanks
Krish

support
Administrator

4679 Posts

Posted - April 22 2003 :  17:12:56  Show Profile  Visit support's Homepage  Reply with Quote
Sorry No.

The templates are read in as plain text and cannot have ASP in them. The actual interpretor is file shopfileio.asp. Special code needs to be added into that file to do additional logic.

VP-ASP Support

Go to Top of Page

nick180
Starting Member

3 Posts

Posted - December 26 2003 :  21:50:14  Show Profile  Reply with Quote
this is one of the most annoying things I've found with VPASP. You would think with "ASP" being in the title of your program you would make it as easy as possible for developers to include asp code within their product template. There are so many things I want to do within my product template and I can't because i can't use asp!!! GRRRRR

Go to Top of Page

Jill
VP-CART Super User

USA
249 Posts

Posted - December 27 2003 :  13:47:08  Show Profile  Reply with Quote
Yeah, and you would think with VP in the title that the Vice President would come with the program. That's what makes me mad. GGGGRRRRR.





(sorry, I just couldn't resist that!)

Go to Top of Page

jsbeads
Starting Member

USA
39 Posts

Posted - January 16 2004 :  07:51:16  Show Profile  Visit jsbeads's Homepage  Reply with Quote
Sure you can in my version 3.5...
********************************
In shopfileio.asp find the function
Sub Handle_PageHeader (value)
(This is the routine that handles the template display)
***********************************

Towards the end of the sub add your include...
If TemplateDisplay="No" then exit sub
%>
<!-- #include file="./JSShopAlsoBought.asp" -->
<%
'ShopPageTrailer
end sub
**********************************
I use this to call a host of hit tracker's etc.


Go to Top of Page

Curator
Starting Member

2 Posts

Posted - January 25 2004 :  06:25:31  Show Profile  Visit Curator's Homepage  Reply with Quote
I was very surprised by this as well... Blogger for example accounts for language various imbedded within their templates. I couldn't believe it's not possible in VPASP.

O well. I'll try the afore mentioned hack.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00