68 Classifieds Forums
Go Back   68 Classifieds Forums > v3.1.x Help & Support > v3.1 Questions & Support > Showlistings2.tpl.php help
v3.1 Questions & Support Help and support for 68 Classifieds v3.1.x

 
Thread Tools Display Modes
(#1)
Old
CHRD CHRD is offline
Member
CHRD is on a distinguished road
 
Posts: 54
Join Date: Nov 2006
Smile Showlistings2.tpl.php help - 11-07-2006, 06:51 PM

Hi I need and bit of help on the showlistings template, Im not to hot on php but Im willing to get to know this script.
Im wanting to use this for a holiday rental site and Im trying to call bits of information from the database, like, advertisers area, city, number of bedrooms and type of property, also have email a friend link for the showlistings page
Thanks
Glenn

Last edited by CHRD : 02-13-2007 at 08:50 AM.
Reply With Quote
(#2)
Old
Chaslie Chaslie is offline
Moderator
Chaslie is on a distinguished road
 
Posts: 493
Join Date: Mar 2006
Location: Great Ocean Road - Australia
Default 11-07-2006, 07:11 PM

I take it these will 'all' be 'extra fields' (administration > category > extra fields) ?


Chaslie
V3.1.4 dev
mods.auscity.com
AUSCITY
Reply With Quote
(#3)
Old
CHRD CHRD is offline
Member
CHRD is on a distinguished road
 
Posts: 54
Join Date: Nov 2006
Default 11-07-2006, 07:35 PM

Iv tryed using something like this {$extra.5.value}
and I cant get the email link to call advert ID number


Costa del Sol
Spain
v3.1.4b Developer
�Powerful you have become, the dark side I sense in you.�
Reply With Quote
(#4)
Old
Chaslie Chaslie is offline
Moderator
Chaslie is on a distinguished road
 
Posts: 493
Join Date: Mar 2006
Location: Great Ocean Road - Australia
Default 11-07-2006, 07:43 PM

Glen,
I still need to know if you are going to use 'extra fields' or not. This is a question.
Quote:
I take it these will 'all' be 'extra fields' (administration > category > extra fields) ?
Alternatively, if you are using the 'additional fileds' that are available for user registration, there is a different way to add these to showlistings2


Chaslie
V3.1.4 dev
mods.auscity.com
AUSCITY
Reply With Quote
(#5)
Old
CHRD CHRD is offline
Member
CHRD is on a distinguished road
 
Posts: 54
Join Date: Nov 2006
Default 11-07-2006, 07:49 PM

yes I was planing to use these fields, but can I adjust the places these fields show up in showlisting.temp.
Also if a member has more than one property in different locations the wrong area will be displayed in the showlistings page


Costa del Sol
Spain
v3.1.4b Developer
�Powerful you have become, the dark side I sense in you.�

Last edited by CHRD : 11-07-2006 at 07:58 PM.
Reply With Quote
(#6)
Old
Chaslie Chaslie is offline
Moderator
Chaslie is on a distinguished road
 
Posts: 493
Join Date: Mar 2006
Location: Great Ocean Road - Australia
Default 11-07-2006, 07:57 PM

For the email a friend link, you have probably used this:

Code:
<a href="javascript:void(0);" onclick="MM_openBrWindow('{$smarty.const.URL}/friendmail.php?vehicle={$listingid}','contact','width=350,height=400')">{$smarty.const.LANG_EMAIL_FRIEND}</a>
To make it pick up the ID, change {$listingid} to {$entry.id}

That works.

You mentioned 'showlisting.temp' - that's a new one on me. Where is that?


Chaslie
V3.1.4 dev
mods.auscity.com
AUSCITY
Reply With Quote


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com