Results 1 to 6 of 6

Thread: MODDED for "Custom" Custom Fields output

  1. #1
    Thread Starter
    Veteran vienna's Avatar
    Join Date
    May 2010
    Location
    Vienna, Austria
    Posts
    718
    Thanks
    19
    Thanked 177 Times in 118 Posts

    MODDED for "Custom" Custom Fields output

    I am trying to convert ClassiPress into a version that can handle real estate for sale or rental listings. One of the things I really liked about another non WP php program for real estate is the many customizations allowed in the Forms Builder. And one of the things that allows for real estate listing is to show "list boxes" per type of related values.

    Right now ClassiPress only stores a Dropdown list with multiple options. As far as I remember only one value or option can be selected. But I need a way to easily allow a user to see all of his or her choices and to click as many as apply to their ad.

    The form builder in ClassiPress so far only allows storing one value per custom field outside of the Dropdown list option. So, I have had to mod to create this extra capability in the Form builder.

    For instance, in a case where a home or rental or office building has "Extras" or "Community Resources" or "Property Amenities" or "House Amenities". And the same values or lists of things could apply to many ads. 20 rental properties might have the same "amenities"---"Covered parking, playground, laundry, gym," etc, etc

    But instead of a Dropdown list that only stores one option, a Multiple select checkbox can store all those options for a Rental form in a Checkbox named "amenities". When the form is displayed while the user is making an ad the user can quickly check however many of those checkbox options apply. When the ad is submitted the checkbox values get saved in ONE field as comma delimited values.

    When the AD is displayed on the website then those checkbox values can be returned not in checkboxes but displayed inside their own unordered sequential lists with separate CSS styling to stylize and postion them on the single-default one-page-per-ad view.

    This is what I am in the progress of creating.

    At the moment I can go into the Form Builder and create a whole multi-value series of checkboxes for just one series of options, such as for a Service such as a Dentist office...I can put in "Monday, Tuesday, Wednesday, Thursday, Friday, Saturday". Then if the User selected an Ad in the Dentist category the custom form will display with a checkbox form included to allow the user to simply click the appropriate days of the week very quickly.

    The submitted ad will store the values in one field in the "meta_value" field of wp_postmeta.

    The ad online will show whatever Field Label I wrote such as "Office Open on:"
    and Monday, Tuesday, Thursday can either show up as a vertical list or as a horizontal string with commas.

    Today I have created the function which displays all of these separate checkboxes in their own format boxes for individual ads and only displays the checkboxes that were clicked and submitted when the ad was created.

    Then I will modify the function now gathering custom fields to exclude from displaying these checkbox values.

    I am hoping that David and Seth and the gang will upgrade the Form Builder so that these kinds of things are available in the "off-the-shelf" ClassiPress.

  2. #2
    Member screenrage's Avatar
    Join Date
    Jul 2010
    Location
    The Moon, Alice!
    Posts
    61
    Thanks
    4
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Veteran vienna's Avatar
    Join Date
    May 2010
    Location
    Vienna, Austria
    Posts
    718
    Thanks
    19
    Thanked 177 Times in 118 Posts

    Custom Checkboxes Mod coming

    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Veteran rodeoramsey's Avatar
    Join Date
    Jan 2010
    Location
    Ohio
    Posts
    274
    Thanks
    3
    Thanked 13 Times in 10 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    ~Ramsey
    ClassiPress Custom Design by Cowgirl Expressions

  5. #5
    Veteran alinimmo's Avatar
    Join Date
    Sep 2010
    Location
    United Kingdom
    Posts
    372
    Thanks
    29
    Thanked 11 Times in 8 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    Thread Starter
    Veteran vienna's Avatar
    Join Date
    May 2010
    Location
    Vienna, Austria
    Posts
    718
    Thanks
    19
    Thanked 177 Times in 118 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Adding more Custom field TYPES-- modded by necessity
    By vienna in forum ClassiPress General Discussion
    Replies: 6
    Last Post: January 30th, 2011, 11:33 AM
  2. Adding "instructional" text to fields
    By equinemedia in forum Help Using ClassiPress
    Replies: 1
    Last Post: May 27th, 2010, 04:31 PM
  3. Custom Fields remove "state"
    By aktiwers in forum Help Using ClassiPress
    Replies: 2
    Last Post: May 4th, 2010, 04:00 PM