Results 1 to 1 of 1

Thread: How to add extra custom field without classipress custom field menu ?

  1. #1
    Thread Starter
    annecyloc's Avatar
    Join Date
    Dec 2012
    Thanked 0 Times in 0 Posts

    Question How to add extra custom field without classipress custom field menu ?


    I have always worked with old version of Classipress (2.9) and now I've decided to upgrade my old site with classipress 3.2.1
    I wonder if it si possible to add specific custom field to ads, without creating this field with the integrated classipress editor.
    I want to add an availability calendar, with differents php variables,
    In the old version of classipress, i have created this variables easely:

    In tpl-edit-ad.php :
    <select style="width: 100px;" name="jourdebutlocation" id="jourdebutlocation" class="mid2">...
    (To have the new value)
    $jourdebutlocation= cp_filter($_POST['jourdebutlocation']);
    (To create the new field)
    update_post_meta($_POST['ad_id'], 'jourdebutlocation', $jourdebutlocation);
    (To upgrade the new field value when clicking on "update ad"

    How to do the same thing In classipress 3.2.1 ??
    All the feature havé changed! I think it's very complicited !

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: July 8th, 2016, 04:42 AM
  2. How can I an an extra custom field to Stores database
    By geronimo in forum Clipper General Discussion
    Replies: 4
    Last Post: November 28th, 2012, 02:36 AM
  3. Replies: 1
    Last Post: October 24th, 2012, 01:58 PM
  4. Replies: 18
    Last Post: October 9th, 2011, 10:24 PM
  5. [SOLVED] Custom field order in frontend doesn't match with custom field order set in backend
    By bluecafe in forum Report ClassiPress Bugs
    Replies: 11
    Last Post: November 24th, 2010, 07:47 AM