Support Forums

Redirect to ad view from place ad final step

This is a discussion on Redirect to ad view from place ad final step within the Customizations forums, part of the Developer Forums category; Originally Posted by T0m1 Hi Nick, Erm, ok Ive enabled the debug and gone to the thanks page. Yet I ...


Go Back   68 Classifieds Forums > Developer Forums > Customizations

Reply
 
Thread Tools Display Modes
Old 08-20-2010, 08:46 PM   #11
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,082
Rep Power: 33
bowers01 is on a distinguished road
Default

Quote:
Originally Posted by T0m1
Hi Nick,

Erm, ok Ive enabled the debug and gone to the thanks page. Yet I dont see {$oID} listed anywhere?
Actually I find very few differences between each page actually?

Perhaps im missing something though?

Many thanks,

Tom.
To use the smarty debug place {debug} on the page you want to see the variable. So in this case we wanted to find what variables are there on thanks.tpl so place {debug} on the top of thanks.tpl and then upload.
Go onto your website and place an ad, when you get to the thank you page a popup will appear with the variables.
Go down until you find the variable you were looking for(if it is there) and in this case it was {$oID} so you can now use this is the code as above.

Nick
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline   Reply With Quote
Old 08-21-2010, 05:02 AM   #12
Customer
 
Join Date: Aug 2010
Posts: 100
Rep Power: 5
T0m1 is on a distinguished road
Default

Quote:
Originally Posted by bowers01
So in this case we wanted to find what variables are there on thanks.tpl so place {debug} on the top of thanks.tpl and then upload.
Ahhhhhhh,

Thats what I was doing wrong lol. I placed the debug statment at the top of the layout.tpl thinking this is what was meant and then browse through page by page until you found the page your after and look for the variable.

Ok this makes more sense

Many thanks Nick.

Kindest regards
__________________
Tom.

68c Developer v4.1.10 - Very Custom Template
MySQL v5.0.91-community <-> PHP v5.2.13 <-> Apache v2.2.15

Experience is the name we give to our mistakes
T0m1 is offline   Reply With Quote
Old 08-21-2010, 09:02 AM   #13
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,005
Rep Power: 74
seymourjames is a jewel in the rough
Default

You can place it at the top of the layout.tpl and the popup should change depending upon what page you are on. There is nothing wrong in doing that although if you put it on the specific template page it can be better if your site is live and being used for example. You will notice the console contents will change a bit between pages.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds Version 5 Themes and Version 4 Templates
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
checkout: extra fields don't hold value @ step 4 back to step 3 Golfball Modules / Plugins / Modifications 6 11-04-2008 11:18 AM
I have no Step 4 - Add Images in Place an Add? alvinjohn Technical Support 2 09-07-2008 10:28 PM
send user to home page from place AD final step centinel3 Technical Support 1 08-06-2008 06:24 PM
4.0 Final... Unregistered Pre Sales Questions 3 07-26-2007 10:32 AM


All times are GMT -4. The time now is 02:57 AM.


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