Support Forums

How can made this

This is a discussion on How can made this within the Technical Support forums, part of the Technical Support Forums category; Hi , how made similar Price opcion of this web. http://ausproxy.com.au/truck/...


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 08-26-2008, 12:04 AM   #1
Junior Member
 
Join Date: May 2008
Posts: 20
Rep Power: 11
kama is on a distinguished road
Default How can made this

Hi , how made similar Price opcion of this web.http://ausproxy.com.au/truck/
kama is offline  
Old 08-26-2008, 02:54 AM   #2
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,075
Rep Power: 32
bowers01 is on a distinguished road
Default

In templates\default\viewlisting\listingextras2.tpl change the code to this:
Code:
<script type="text/javascript" src="includes/classes/cpaint/cpaint2.inc.compressed.js"></script>
<script language="javascript" type="text/javascript">
<!--
{literal}
	var cp = new cpaint();
	cp.set_transfer_mode('get');
	cp.set_response_type('text');
	cp.set_persistent_connection(false);
	cp.set_async(true);
	cp.set_proxy_url('');
	cp.set_debug(false);
		function saveFavorite(userid, id){
			document.getElementById('loading').style.display='block';
			document.getElementById('response').innerHTML = "";
			cp.call('{/literal}{$smarty.const.URL}{literal}/ajax.php', 'saveFavorite', favresponse, userid, id);
			return false;
		}
		function removeFavorite(userid, id){
			document.getElementById('loading').style.display='block';
			document.getElementById('response').innerHTML = "";
			cp.call('{/literal}{$smarty.const.URL}{literal}/ajax.php', 'removeFavorite', favresponse, userid, id);
			return false;
		}
		function favresponse(result) {
			document.getElementById('loading').style.display='none';
			document.getElementById('response').innerHTML = "";
			document.getElementById('response').innerHTML += '<span class="favorites">' + result + '</span>';
		}
{/literal}
//-->
</script>
<div class="listingextras2">
	<table width="100%" cellpadding="2" cellspacing="2">
			{if $viewprice=="Y"}
			<tr> 
				<td class="borderright"><strong><font size="5">{$price|format_money|replace:'$0':'P.O.A'}</font></strong></td>
			</tr>
			{/if}	
	{if $allowfriendmail=="N"}
	<tr><td></br><span class="friendmail"><a href="javascript:void(0);" onclick="MM_openBrWindow('{$smarty.const.URL}/friendmail.php?vehicle={$view}','contact','width=350,height=400')">{$smarty.const.LANG_EMAIL_FRIEND}</a></span></td></tr>
	{/if}
	<tr><td><br /><span class="printer"><a href="javascript:void(0);" onclick="MM_openBrWindow('{$smarty.const.URL}/printer.php?view={$view}','printer','width=525,height=450,directories=no,location=no,menubar=no,scrollbars=yes,status=no,toolbar=no,resizable=yes,left=0,top=0,screenx=50,screeny=50')">{$smarty.const.LANG_PRINT_FRIENDLY}</a></span></td></tr>
	{if $pmon=="N"}
	<tr><td><span class="contact"><a href="{$smarty.const.URL}/private.php?action=contactowner&view={$view}">{$smarty.const.LANG_CONTACT_OWNER}</a></span></td></tr>
	{/if}<tr><td><span class="moreads"><a href="searchresults.php?owner={$owner}">{$smarty.const.LANG_MORE_ADS_SELLER}</a></span></td></tr>
				{if $viewphone=="Y"}
			<tr> 
			<td class="borderright"><strong><font size="4"><br />PH: {$phone|replace:' ':''}</font></strong></td>
			</tr>
			{/if}
			{if $viewphone=="Y"}
			<tr> 
			<td class="borderright"><strong><font size="4">       {$extra2|replace:' ':''}</font></strong></td>
			</tr>
			{/if}
	</table>
</div>
In registration options you need to make extra2 field, secondary phone and the second phone will display under the first one.
Nick
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline  
Old 08-27-2008, 12:56 AM   #3
Junior Member
 
Join Date: May 2008
Posts: 20
Rep Power: 11
kama is on a distinguished road
Default

Thanks Nick but really only need the Prices Opcion Min and Max
kama is offline  
Old 08-27-2008, 03:56 AM   #4
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,075
Rep Power: 32
bowers01 is on a distinguished road
Default

Ah you mean on the front page. I thought you ment in the viewlisting.
I am using Maffo Search Mod for the location module, Its about $40 USD.
Nick
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline  
Old 08-27-2008, 10:38 PM   #5
Junior Member
 
Join Date: May 2008
Posts: 20
Rep Power: 11
kama is on a distinguished road
Default

Oh thanks anyway
kama is offline  
Closed Thread

Thread Tools
Display Modes



All times are GMT -4. The time now is 01:45 PM.


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