Support Forums

Ad description

This is a discussion on Ad description within the v3.1 Modules & Modifications forums, part of the Legacy Help & Support category; How Do I set up the ad description, so the description is along the bottom of the photo not the ...


Go Back   68 Classifieds Forums > Archives > Legacy Help & Support > v3.1 Modules & Modifications

 
 
Thread Tools Display Modes
Old 12-09-2007, 01:14 PM   #1
Member
 
Join Date: Sep 2007
Posts: 49
Rep Power: 10
Jessej is on a distinguished road
Default Ad description

How Do I set up the ad description, so the description is along the bottom of the photo not the side. Thnks

http://www.autoprocanada.com/viewlisting.php?view=277
Jessej is offline  
Old 12-09-2007, 04:38 PM   #2
Senior Member
 
Join Date: Jul 2007
Posts: 109
Rep Power: 13
Greg H is on a distinguished road
Default

Jesse,

I believe you would need to edit viewlisting.tpl.php


I think its just a matter of moving the code below to where you want it.


PHP Code:
        {if $description<>""}

            <
tr

                <
td colspan="2"><strong>{$smarty.const.LANG_DESCRIPTION}: </strong><br /><font size="2">{$description}</font></td>

            </
tr>

            {/if} 
Move it so it is under this code.

PHP Code:
      {if $viewphotos=="Y"}

              {foreach 
from=$data item=image}

                   <
p><a href="#" onMouseOver="window.status='View Large Image';return true" onMouseOut="window.status='';return true" onClick="window.open('{$smarty.const.URL}/viewimage.php?photo={$image.id}','_popup','width=450,height=500,directories=no,location=no,menubar=no,scrollbars=yes,status=no,toolbar=no,resizable=no,left=0,top=0,screenx=50,screeny=50');return false"> <img src="thumbs/small_{$image.image}" hspace="5" vspace="5" class="image" border="0" /></a><br />{$image.title}</p>
                   

                {
foreachelse}

             <
img src="images/nophoto.gif" width="100" hspace="5" vspace="5" border="1" />

              {/foreach}

      {/if} 
My example above assumes you are only using a long description.


I hope this helps, and I hope I am right! Backup the file first just incase please.

Greg
__________________
Greg

Version 3.1.9 and 4.0.3 Developer
Greg H is offline  
Old 12-09-2007, 05:58 PM   #3
Coder
 
Join Date: Mar 2006
Posts: 4,986
Rep Power: 121
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by Jessej
How Do I set up the ad description, so the description is along the bottom of the photo not the side. Thnks

http://www.autoprocanada.com/viewlisting.php?view=277
That doesnt look anything like the default template so for anyone to really help we need to know what template your using.

If its a modified default you can have images across the top of ad as opposed to down the left side by changing the viewlisting template in admin. If thats not the goal and you just want your current layout to have the description carry over under the images you have to take a closer look at how you modified the template because to me it looks like something is messed up.
__________________
Larry

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

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why Google dont index anyting in item description? Syafi Technical Support 3 06-29-2007 05:34 AM
� sign in description Grebogreen v3.1 Questions & Support 6 05-28-2007 02:31 PM
short description and description Timeshareline v3.1 Questions & Support 10 02-07-2007 08:57 AM


All times are GMT -4. The time now is 07:48 AM.


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