Results 1 to 4 of 4
Like Tree1Likes
  • 1 Post By appthemestoi

Thread: Problem with Vantage CUSTOM FIELD CSV IMPORT...problems problems

  1. #1
    Thread Starter
    Expired Customer appthemestoi's Avatar
    Join Date
    May 2014
    Location
    Spain
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problem with Vantage CUSTOM FIELD CSV IMPORT...problems problems

    Ok, absolutely no luck with creating a single (just one) custom field and importing a csv. The custom field does not show up in the listing.

    If I copy the code you have in the forum (from http://forums.appthemes.com/help-usi...listing-31116/)

    function my_custom_csv_fields( $args )
    {
    $args['custom_fields']['mydate'] = array( 'internal_key' => 'app_mydate' );
    $args['custom_fields']['another_field'] = array( 'internal_key' => 'app_another_field' );
    return $args;
    }

    add_filter( 'va_csv_importer_args', 'my_custom_csv_fields' );


    and modfy the code to

    function my_custom_csv_fields ( $args )
    {
    $args['custom_fields']['schoolname'] = array( 'internal_key' => 'app_schoolname' );

    return $args;
    }

    add_filter( 'va_csv_importer_args', 'my_custom_csv_fields' );



    I remain SOL

    - I have created a child theme
    - The child theme contains a css file (including the links indicated to be pasted into the file)
    - The child theme contains a functions.php file, where I pasted in the code above (enclosed in <?php and ?> tags
    - A custom form has been created - "schoolname" (Originally it was "School Name", but since I have no idea whehter that ends ups as school-name, school_name, or schoolname, I made everything "schoolname") - And I had all sorts of problems before resorting to just the one value "schoolname"...
    - The label in the form is also "schoolname"
    - The form is linked to categories
    - I added to my csv import file a "schoolname" field (in the last column of the csv file)
    - The child theme is activiated
    -The electricity is on


    But I cannot get it to work.

    I am using the "title" field for course offerings - thus, I would like to have a custom field for the name of the school offering the course.

    Look forward to hearing from you

  2. #2
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Expired Customer appthemestoi's Avatar
    Join Date
    May 2014
    Location
    Spain
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    dimitris likes this.

  4. #4
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 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. Samcy Problems uploading images and text field for the ad.
    By german4 in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: April 9th, 2013, 10:36 AM
  2. [SOLVED] Problems with ACF plugin, the additional field is not showing up !Urgent!
    By bernardphoon in forum Advanced Custom Fields
    Replies: 7
    Last Post: December 4th, 2012, 03:35 AM
  3. [SOLVED] Import custom field (Vantage)
    By permis in forum Report Vantage Bugs (Legacy)
    Replies: 5
    Last Post: August 13th, 2012, 07:56 PM
  4. problems with custom field
    By tempo in forum Help Using ClassiPress
    Replies: 4
    Last Post: July 3rd, 2010, 06:57 AM