#1 (permalink)  
Old 07-05-2008, 09:17 AM
Registered User
 
Join Date: Mar 2005
Posts: 19
Glenn is on a distinguished road
Question Display Custom Fields

Hi - Searched and didn't find an answer.

Added a custom field - State. It is a checkbox.

It shows during entry of listing, during search and approval but not when viewing the listing.

Do I need to add the custom field to make it show up?

TIA

Glenn
Reply With Quote
  #2 (permalink)  
Old 07-05-2008, 09:24 AM
Mitchell's Avatar
Active Member
 
Join Date: Oct 2007
Location: Sydney
Posts: 584
Mitchell is on a distinguished road
Default

Code:
Content visible to License Owner only.
Yes, you have to add your custom field to the "detail_link.html" page.
Just add this
Code:
Content visible to License Owner only.
to your detail_link page, any where that you want it to be shown.
Reply With Quote
  #3 (permalink)  
Old 07-06-2008, 12:12 AM
Registered User
 
Join Date: Mar 2005
Posts: 19
Glenn is on a distinguished road
Default

Thanks Mitchell - This did the trick.
Reply With Quote
  #4 (permalink)  
Old 07-06-2008, 08:44 PM
Mitchell's Avatar
Active Member
 
Join Date: Oct 2007
Location: Sydney
Posts: 584
Mitchell is on a distinguished road
Default

No problem Glenn
Reply With Quote
  #5 (permalink)  
Old 08-31-2008, 02:09 AM
Registered User
 
Join Date: Jul 2008
Posts: 13
torambus is on a distinguished road
Default

Code:
Content visible to License Owner only.
I have added few custom field like phone, fax, address, city, zip but if any of field has no data how can I hide that field.

Basically I want to display info on listing page which has data for that field.

I am using IndexU Deulxe 1 version.
Reply With Quote
  #6 (permalink)  
Old 08-31-2008, 03:23 AM
Mitchell's Avatar
Active Member
 
Join Date: Oct 2007
Location: Sydney
Posts: 584
Mitchell is on a distinguished road
Default

Code:
Content visible to License Owner only.

Try some thing like this;

<%if $custom_field%>
Custom Field: <%$custom_field%>
<%/if%>
Reply With Quote
  #7 (permalink)  
Old 08-31-2008, 07:45 AM
Registered User
 
Join Date: Jul 2008
Posts: 13
torambus is on a distinguished road
Default

Thanks

It worked for me.
Reply With Quote
  #8 (permalink)  
Old 08-31-2008, 08:07 PM
Mitchell's Avatar
Active Member
 
Join Date: Oct 2007
Location: Sydney
Posts: 584
Mitchell is on a distinguished road
Default

You are welcome
Reply With Quote
Reply

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
how to display fields in rows.html echo@ Blocks and Modification 2 01-31-2008 03:28 PM
Display New Fields on detail.php beaker Tutorials, Hints & Tips 3 01-21-2008 09:31 PM
Is there any way to display only fields with info? daweb v5.x 4 06-18-2003 11:32 PM
Add Fields To Submit form & link display 4webmasters.us v5.x 9 05-03-2003 08:38 PM
Defining custom fields <%custom%>, or executing php code in template files. drakeraft v5.x 1 06-24-2002 07:23 PM

HACKER SAFE certified sites prevent over 99.9% of hacker crime.

All times are GMT -5. The time now is 04:56 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO
SSL Certificate