Support Forums

Old 01-17-2009, 03:59 PM   #1
Member
 
Join Date: Jan 2009
Posts: 42
Rep Power: 2
sunshinemike is on a distinguished road
Default Changing layout of checkout-step2

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
sunshinemike is offline   Reply With Quote
Old 01-17-2009, 04:16 PM   #2
Moderator
 
 
Join Date: Mar 2006
Posts: 4,103
Rep Power: 100
Lhotch is just really niceLhotch is just really nice
Default

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
Lhotch is offline   Reply With Quote
Old 01-17-2009, 07:17 PM   #3
Member
 
Join Date: Jan 2009
Posts: 42
Rep Power: 2
sunshinemike is on a distinguished road
Default being thick?

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
sunshinemike is offline   Reply With Quote
Old 01-17-2009, 07:32 PM   #4
Moderator
 
 
Join Date: Mar 2006
Posts: 4,103
Rep Power: 100
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by sunshinemike View Post
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
here is the section, bottom half of template, I put in a width of 50% and height of 100px, you may need more height.

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
Lhotch 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
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


All times are GMT -4. The time now is 05:21 AM.


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