Support Forums

Listing preview when placing ad

This is a discussion on Listing preview when placing ad within the Technical Support forums, part of the Technical Support Forums category; Hi guys, I've added a portion of code in my viewlisting.tpl file with featured ads and other stuffs. This is ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 06-18-2009, 10:17 AM   #1
Member
 
Join Date: Apr 2009
Location: France
Posts: 57
Rep Power: 9
kayfi is on a distinguished road
Default Listing preview when placing ad

Hi guys,

I've added a portion of code in my viewlisting.tpl file with featured ads and other stuffs.
This is to be viewed when a visitor visit the details page of an ad placed.
But when a user is posting a new ad and goes to the verification page with the listing preview, of course the page is very long and the finish button is far from the top of page.
How can I reduce the viewlisting page in the checkout process without displaying the code normally viewed when reading the details of an ad.
I don't now if i'm quiet clear in the description of my problem...


The code I've added in my viewlisting.tpl is right above:
Quote:
{dynamic}
{if $pmon=="Y" && $smarty.session.uid > 0}

{elseif $allowcontact=="Y" && $display=="Y"}
{include file=contact/contactowner.tpl}
{/if}
{/dynamic}
I hope you can help !
Regards,
Yves.
__________________
v 4.1.3 Developer
Default templates
kayfi is offline  
Old 06-18-2009, 10:24 AM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,352
Rep Power: 134
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

fire up the debug console and see what variables for the script are being used. In checkout there should be a different php script file in use than when viewing the ad normally. You should be able to use smarty logic and surroiund you additional code with it to hide/show it......

This is just an example, you will need to get/verify exact script names...

{if $SCRIPT_NAME !="usercheckout.php"}
your special custom code here
{/if}
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
iPhone 3.0 preview Eric Barnes Off Topic 3 07-01-2009 11:15 AM
Extra Fields in Listing Preview Not Showing rhound Technical Support 2 05-29-2009 10:05 AM
Ad Preview Tim_A Technical Support 1 02-11-2007 10:09 PM


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


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