Register   Login
     
  Latest Posts  
RE: Lightbox not working on 2.04?
by wallacea on 12/02/2008 12:31 AM
RE: Lightbox not working on 2.04?
by smcculloch on 12/02/2008 12:20 AM
RE: Facebook-like Tagging People in Pictures...
by swebster on 12/02/2008 12:13 AM
Lightbox not working on 2.04?
by wallacea on 12/01/2008 11:45 PM
News Article css
by daviking on 12/01/2008 7:04 PM
RE: File Expiration Date
by jcochran on 12/01/2008 6:35 PM
RE: Set default value
by mariusm on 12/01/2008 6:29 PM
New Module - File Search
by jcochran on 12/01/2008 6:21 PM
RE: Display Name
by blob150 on 12/01/2008 3:07 PM
How to replicate the paging control at the top of the photos grid
by markjjordan on 12/01/2008 3:05 PM
  Forums  
Subject: Icons for Garages, Beds, etc: how to replace with own?
Prev Next
You are not authorized to post a reply.

Author Messages
aquamanUser is Offline
Registered Users
Nuke Super Newbie
Nuke Super Newbie
Posts:19

9/17/2008 2:04 PM  

I see that the Real Estate template has graphics to represent a bed, a car, etc.

How can I have icons of my own on my own custom fields?

AlbertramsbottomUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:404


9/18/2008 2:09 AM  

Just find some icons and add the



www.classcampers.com
www.worldscheapesthomes.co.uk
www.beebiplayer.co.uk
www.internetinsurancequotes.co.uk
www.vwbussales.co.uk
AlbertramsbottomUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:404


9/18/2008 2:11 AM  
It semms to have rendered two img codes there, just use one

www.classcampers.com
www.worldscheapesthomes.co.uk
www.beebiplayer.co.uk
www.internetinsurancequotes.co.uk
www.vwbussales.co.uk
aquamanUser is Offline
Registered Users
Nuke Super Newbie
Nuke Super Newbie
Posts:19

9/18/2008 6:32 AM  
Ok, so how will that display the icon if the custom field is selected, and not display it if it's not selected?

And, I didn't see any code like that in the Real Estate Template?

Thank you for the suggestion. I hope you can clear up my confusion a bit.
aquamanUser is Offline
Registered Users
Nuke Super Newbie
Nuke Super Newbie
Posts:19

9/18/2008 6:43 AM  

Looking at the Real Estate layout again, I think it behaves differently than I first thought.

 

I thought it displayed the icons based on the user's inputs when they created the field, and I realize now it displays the number in front of the icon.

 

So, is there a way to display or hide an icon based on the user's inputs?

I wanted a checkboxlist with each item represented by an icon in the listing/featured/latest/view layouts. The ad manager and search could use text or the icon.

 

Hum, could I put html for the icon in the item list for the checkboxlist?

 

like this?

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12548


9/18/2008 7:45 AM  
To optionally show custom fields, you can use the [EXPRESSION] token, there is an example in the template guide.

As for the checkboxlist, i think it will only display a comma separated list or an unordered list depending on the token you use.

Scott McCulloch
Site Administrator
aquamanUser is Offline
Registered Users
Nuke Super Newbie
Nuke Super Newbie
Posts:19

9/18/2008 2:07 PM  

If I use EXPRESSION token with a checkbox, is, ZZZ (value to compare) , true/false or 1/0?

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12548


9/19/2008 7:09 AM  
From the template guide..

[EXPRESSION:XXX:YY:ZZZ]
[/EXPRESSION:XXX:YY:ZZZ]

Show region where XXX (custom field name), YY (operator, e.g. =,!=,>,>=,<,<=) and ZZZ (value to compare) matches. An example is ([EXPRESSION:Bedrooms:>:5]Wow this is a big place[/EXPRESSION:Bedrooms:>:5]).

Scott McCulloch
Site Administrator
aquamanUser is Offline
Registered Users
Nuke Super Newbie
Nuke Super Newbie
Posts:19

9/19/2008 9:43 AM  

Yes, Scott, I was at the Template Guide and it lacked the answer to my quesiton, so I posted looking for an answer.

 

Please re-read the post and answer.

 

Thank you.

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12548


9/20/2008 8:22 AM  
Sorry, I read it wrong.

It is True and False

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > Modules > Property Agent > Icons for Garages, Beds, etc: how to replace with own?



ActiveForums 3.7