Skip to content

Commit ba67951

Browse files
author
micker
committed
small update
1 parent 56e3d18 commit ba67951

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

helper.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* @version 0.6.0 stable $Id: default.php yannick berges
3+
* @version 0.0.3 stable $Id: default.php yannick berges
44
* @package Joomla
55
* @subpackage FLEXIcontent
66
* @copyright (C) 2015 Berges Yannick - www.com3elles.com
@@ -45,7 +45,7 @@ public static function getLoc(&$params)
4545
// recupere la connexion à la BD
4646
$db = JFactory::getDbo();
4747
$queryLoc = 'SELECT a.id, a.title, b.field_id, b.value , a.catid FROM #__content AS a LEFT JOIN #__flexicontent_fields_item_relations AS b ON a.id = b.item_id '.$catids_join.' WHERE b.field_id = '.$fieldaddressid.' AND '. $catids_where.' AND state = 1 ORDER BY title DESC LIMIT '. (int) $params->get('count');
48-
var_dump ($queryLoc);
48+
//var_dump ($queryLoc);
4949
$db->setQuery( $queryLoc );
5050
$itemsLoc = $db->loadObjectList();
5151
foreach ($itemsLoc as &$itemLoc) {
@@ -54,7 +54,4 @@ public static function getLoc(&$params)
5454
return $itemsLoc;
5555
}
5656

57-
}
58-
59-
//'SELECT a.id,b.name, a.title, a.catid, a.created, a.created_by, a.modified, a.modified_by FROM #__content AS a LEFT JOIN #__users AS b ON a.created_by = b.id '.$catids_join.'WHERE '. $catids_where.' AND state = 1 ORDER BY modified DESC LIMIT '. (int) $params->get('count');
60-
//$catids_join = ' JOIN #__flexicontent_cats_item_relations AS rel ON rel.itemid = a.id ';
57+
}

mod_flexigooglemap.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<creationDate>Janvier 2016</creationDate>
1010
<authorEmail>[email protected]</authorEmail>
1111
<authorUrl>www.com3elles.com</authorUrl>
12-
<version>0.0.2</version>
12+
<version>0.0.3</version>
1313
<copyright>Copyright (C) 2005 - 2015 Open Source Matters. All rights reserved.</copyright>
1414
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
1515
<description>FLEXI_GOOGLEMAP_INTRO</description>

tmpl/default.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* @version 0.6.0 stable $Id: default.php yannick berges
3+
* @version 0.0.3 stable $Id: default.php yannick berges
44
* @package Joomla
55
* @subpackage FLEXIcontent
66
* @copyright (C) 2015 Berges Yannick - www.com3elles.com

0 commit comments

Comments
 (0)