Forum Replies Created
-
AuthorPosts
-
Margo Bowie
Participantworked!! Thank you!
Margo Bowie
Participant<i m g src=”http://tribute-kiosk-software.com/demo/wp-content/uploads/Emblem_ARMY.png” alt=”Branch” id=”branchlogo”>
Margo Bowie
Participant
Margo Bowie
Participantok thank you! The value(s) are not being imported for some reason…
for instance:

should be the value of the Branch LogoAttachments:
You must be logged in to view attached files.Margo Bowie
Participantline 177 is this
cnEntry_Action::meta(Margo Bowie
ParticipantI got this error…. Your PHP code changes were rolled back due to an error on line 117 of file wp-content/themes/divi-child/functions.php. Please fix and try saving again.
syntax error, unexpected ‘cnEntry_Action’ (T_STRING)
this is my code…
// Register the custom fields CSV Import mapping options and processing callback. add_filter( 'cncsv_map_import_fields', 'cncsv_header_name' ); add_action( 'cncsv_import_fields', 'cncsv_process_import', 10, 3 ); function cncsv_header_name( $fields ) { // The field_id should match exactly the field id used when registering the custom field. $fields['Branch Logo'] = 'Branch Logo'; $fields['Marker Location'] = 'Marker Location'; return $fields; } function cncsv_process_import( $id, $row, $entry ) { // The field_id should match exactly the field id used when registering the custom field. $data = $entry->arrayPull( $row, 'field_id', '' ); $data = cnFormatting::maybeJSONdecode( stripslashes( $data ) ) cnEntry_Action::meta( 'update', $id, array( array( 'key' => 'Branch Logo', // The field_id should match exactly the field id used when registering the custom field. 'value' => $data ), ) ); cnEntry_Action::meta( 'update', $id, array( array( 'key' => 'Marker Location', // The field_id should match exactly the field id used when registering the custom field. 'value' => $data ), ) ); }Margo Bowie
Participantusing Connections : CSV Import
Margo Bowie
ParticipantThis is great!!! Almost works… the export works nice, but on import, there is no selection option for the Branch Logo and Marker Location (it defaults to Do Not Import, and is not available in the dropdown selection)…easy fix?
Margo Bowie
ParticipantThanks for the reply Steven. Love these plugins and addons.
Margo Bowie
ParticipantOK, i found it…
it was a conflict with the plugin “One Click SSL”….not a big deal either because you don’t need the plugin active after you run through the SSL fix.Hope this helps someone.
-
AuthorPosts
