The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
registering arrays
I am working on a basic cart to integrate with paypal. I have 5 files and for the most part I can get what I want to work but not how I won't it to work. My biggest issue right now is I have to edit the layout in my functions file and I would like to have a separate template for each item block.
shopping.php - basic page that renders the template but noteworthy code is PHP Code:
cis_cart_functions.php PHP Code:
cis_block.php PHP Code:
my PHP skills aren't very good, so any help would be great! |
#2
|
|||
|
|||
I'm not quite sure what you mean by having a separate template for each item block. But I think you want something like:
PHP Code:
Then of course you'd create the template named cis_cart_ITEM (or whatever you want to call it). |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|