Support Forums

Old 04-01-2008, 11:10 AM   #1
Senior Member
 
Join Date: Jan 2007
Posts: 123
Rep Power: 14
HotAir is on a distinguished road
Default Problem passing variables

I'm altering my renewal page by adding an offer to upgrade to a more expensive listing with more features. I've got it all sorted out except for passing a couple variables.

Here are the details:

The renewal page is built by /renew/step1.tpl.php

I'm passing some variables that already exist on this page, namely: $productid, $price, $title, and $section.

These are being passed to usercheckout.php step 3 with hidden form fields like this:
<input name="section" type="hidden" id="section" value="{$section}" />

The variables are populating correctly on this page. The problem is with two of the variables containing any values on the next page. When I run debug, the variables $section and $productid contain the correct values, but the variables $price and $title are empty.

Any clue why two of the variables are empty, when two get the correct values?

Thanks for any insights you can offer...

Regards,
Jim
__________________
V3.1.10 Developer - live
V4.1.0 Beta 2 - sandbox
HotAir is offline   Reply With Quote
Old 04-01-2008, 11:14 AM   #2
civ
Senior Member
 
civ's Avatar
 
Join Date: Mar 2006
Location: Greer, SC
Posts: 670
Rep Power: 28
civ will become famous soon enough
Default

Try pulling them via smarty.post.variablename

Edit: Wait, you're setting the vars in step1 and then retrieving them in step3? oO
__________________
Civ's Modules (____NOW v4 COMPATIBLE____):

Stop Incomplete Listings! (proven revenue booster!)
Scam Filter (Just say no to Nigerians!) updated
Similar Listings (keep visitors longer)
Feedback Mod (testimonial builder)
Listing Status Reminder free!
civ is offline   Reply With Quote
Old 04-01-2008, 11:46 AM   #3
Senior Member
 
Join Date: Jan 2007
Posts: 123
Rep Power: 14
HotAir is on a distinguished road
Default

That worked, Civ -- thanks!!

Regards,
Jim
__________________
V3.1.10 Developer - live
V4.1.0 Beta 2 - sandbox
HotAir is offline   Reply With Quote

Bookmarks

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Search Page Problem. URGENT!!! Pierce v3.1 Questions & Support 2 10-02-2007 02:12 PM
Host or Script problem? Grebogreen v3.1 Questions & Support 3 05-08-2007 09:49 AM
Admin icons problem Sinisa v3.1 Questions & Support 4 01-18-2007 10:54 AM
3.1.5b admin login problem Sinisa v3.1 Questions & Support 14 01-07-2007 10:15 AM
List of Smarty Variables and Arguments? bgordon v3.1 Modules & Modifications 5 09-12-2006 03:06 PM


All times are GMT -4. The time now is 06:06 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0