This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"enabled": true, | |
"mappings": { | |
"CONTACT": { | |
"properties": [ | |
{ | |
"externalPropertyName": "firstname", | |
"hubspotPropertyName": "firstname", | |
"dataType": "STRING" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function my_offline_auto_approve_filter( $result, $EM_Booking ){ | |
$event = [ | |
'eventname' => $EM_Booking->event->event_name, | |
'event_id' => $EM_Booking->event->event_id, | |
'post_id' => $EM_Booking->event->post_id, | |
'post_content' => $EM_Booking->event->post_content, | |
'start_time' => $EM_Booking->event->start_time, | |
'start_date' => $EM_Booking->event->start_date, | |
'end_date' => $EM_Booking->event->end_date, | |
'end_time' => $EM_Booking->event->end_time, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected function getListQuery($query = null) | |
{ | |
$db = JFactory::getDbo(); | |
$query = $query instanceof JDatabaseQuery ? $query : $db->getQuery(true) | |
->select('a.product_id AS id, a.product_name AS title, a.product_alias AS alias, "" AS link, a.product_description AS summary') | |
->select('a.product_keywords AS metakey, a.product_meta_description AS metadesc, "" AS metadata, a.product_access AS access') | |
->select('"" AS created_by_alias, a.product_modified AS modified, "" AS modified_by') | |
->select('a.product_sale_start AS publish_start_date, a.product_sale_end AS publish_end_date') | |
->select('a.product_published AS state, a.product_sale_start AS start_date, 1 AS access') | |
->select('brand.category_name AS brand, brand.category_alias as brandalias, brand.category_published AS brand_state, 1 AS brand_access') |
OlderNewer