The vB Geek

Go Back   The vB Geek > vB Geek Commons > Lizard Lounge

Lizard Lounge The place to post off topic stuff.

Advertisement
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #11  
Old 08-26-2005, 04:00 PM
KTBleeding KTBleeding is offline
Member
 
Join Date: Aug 2005
Posts: 89
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder 
Default

Quote:
Originally Posted by The Geek
Very important when you have more than 1 item on a page.
Are you sure? I just tested it with three items in my cart and they all update/function just fine.

I think that "name" is substituting it in some way.. even though "name" is supposed to have been depreciated with XHTML. :x
Reply With Quote
  #12  
Old 08-26-2005, 04:07 PM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

maybe im being a lame ass. I havent tested - however maybe PHP automatically makes multiple instances an array. I was pretty sure it had tobe in a php array bracket (ie [] like items[0] for it to come out as $_POST['items'][0]).
Reply With Quote
  #13  
Old 08-26-2005, 04:11 PM
KTBleeding KTBleeding is offline
Member
 
Join Date: Aug 2005
Posts: 89
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder 
Default

Haha. Well, hey; If you want to give it a whirl of testing , here is the template change:

gmart_cart_item
HTML Code:
<tr>
	<td class="alt1" align="left">
		<a href="$vbphrase[gmart_script].php?$session[sessionurl]do=displayproduct&amp;id=$item[productid]">$item[title]</a>
	</td>
	<td class="alt1" align="right" width="100px">
		$pp[symbol] $item[price]
	</td>
	<td class="alt2" align="center" width="100px">
		<input type="text" size="10" name="items[$itemkey]" value="$item[qty]" />
	</td>
	<td class="alt1" align="right" width="100px">
		$pp[symbol] $item[extprice]
	</td>
</tr>
Reply With Quote
  #14  
Old 08-26-2005, 04:17 PM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

but I thought you said it was having problems with:

name="items[$itemkey]"
Reply With Quote
  #15  
Old 08-26-2005, 04:27 PM
KTBleeding KTBleeding is offline
Member
 
Join Date: Aug 2005
Posts: 89
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder 
Default

Nope. It was having issues with id="items[$itemkey]". Name works fine. Too weird.
Reply With Quote
  #16  
Old 08-27-2005, 01:30 AM
KTBleeding KTBleeding is offline
Member
 
Join Date: Aug 2005
Posts: 89
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder 
Default

Just to update you guys, I believe I have Geekmart all done in XHTML now. Atleast all the pages I could browse to are valid XHTML that is.
Reply With Quote
  #17  
Old 08-27-2005, 07:16 AM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Excellent - i want those template changes!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Downloadable products? Caesar GeekMart 3 09-03-2008 01:32 AM
using INDENT not valid for vbadvanced nymyth Geek Article and Review System 7 07-03-2007 09:06 PM
valid GAL entry joh Geek Auto-Linker 20 10-25-2006 06:28 PM
Which products Bridges Lizard Lounge 2 10-10-2006 11:11 PM
a question regarding xhtml tpr Lizard Lounge 3 10-21-2005 05:28 PM


All times are GMT. The time now is 09:51 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.