|
|
#1 |
|
Member
Join Date: Jan 2009
Posts: 42
Rep Power: 2 ![]() |
If you take a look at my site at Wedding Yellow Pages you will see at checkout stage2 my 3 package options are displayed. (please feel free to register and mess around on the site - it isnt live yet! - or just use username 'northwest' , pass '121167' )
You will also see they are not spaced very well, with the package on the right taking most of the space. I would also like to display a line break (space) underneath 'price' and the 'select this package' button. I have looked at the template checkout/step2.tpl but cant figure out how to equally space the two columns of packages nor how to add a line after the price is shown Any help would be most appreciated. Thanks Mike Last edited by sunshinemike; 01-17-2009 at 04:02 PM. Reason: addition |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Mar 2006
Posts: 4,103
Rep Power: 100 ![]() ![]() |
I would say edit step2.tpl and assign a width="50%" and a fixed height in pixels that gives your ad package with the most text enough height.
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
|
|
|
|
#3 |
|
Member
Join Date: Jan 2009
Posts: 42
Rep Power: 2 ![]() |
Am I being thick?
I have tried adding a width="50%" after every <td> I can see but nothing seems to make any difference. Where exactly do I put it? Thanks Larry |
|
|
|
|
|
#4 | |
|
Moderator
Join Date: Mar 2006
Posts: 4,103
Rep Power: 100 ![]() ![]() |
Quote:
Code:
{section name=numloop loop=$results}
<td align="center" width="50%" height="200px">
<form method="post" action="usercheckout.php" name="purchase{$smarty.foreach.count.index}" id="purchase{$smarty.foreach.count.index}">
<strong>{$results[numloop].pTitle}</strong><br />
{$results[numloop].pDescription|nl2br}<br />
{if $results[numloop].pListPrice>0}
<strong>{$smarty.const.LANG_LIST_PRICE}:</strong><strike>{$results[numloop].pListPrice|format_money}</strike><br />
{/if}
<strong>{$smarty.const.LANG_PRICE}:</strong>{$results[numloop].pPrice|format_money}<br />
<input type="hidden" name="step" value="3" />
<input name="productid" type="hidden" id="productid" value="{$results[numloop].pID}" />
<input name="category" type="hidden" id="category" value="{$category}" />
<input type="hidden" name="listingid" value="{$listingid}" />
<p class="submit"><input type="submit" name="Submit" value="{$smarty.const.LANG_SELECT_THIS_PACKAGE}" /></p>
</form>
{if not ($smarty.section.numloop.rownum mod 2)}
{if not $smarty.section.numloop.last}
</tr><tr>
{/if}
{/if}
{if $smarty.section.numloop.last}
{math equation = "n - a % n" n=2 a=$data|@count assign="cells"}
{if $cells ne 2}
{section name=pad loop=$cells}
<td> </td>
{/section}
{/if}
</tr>
{/if}
{sectionelse}
{$smarty.const.LANG_NO_PACKAGE_DEFINED}
{/section}
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MODIFICATION: Changing the photo layout on the viewlisting.tpl page. | cwp | v4 Modules / Modifications | 4 | 05-01-2008 12:17 AM |
| Changing the name of a field and changing page backgound | Sandy68Classi | v3.1 Modules & Modifications | 7 | 10-16-2007 01:31 AM |
| Changing Yahoo Maps layout | GSP | v3.1 Modules & Modifications | 1 | 10-01-2006 08:57 AM |
| Changing viewlistings.tpl layout | GSP | v3.1 Modules & Modifications | 0 | 05-16-2006 03:12 PM |
| Avoiding step2.tpl | Don | v3.1 Modules & Modifications | 5 | 05-04-2006 12:31 PM |