Re: EN/DE Sortieren Namen im Menu-Modul, Spaltenansicht
Posted: 19 Nov 2014, 17:56
Sorry i have see your post only now. Sorry again, i dont understand this tree.
I have this code:
$query = 'SELECT cc.title AS text, cc.id AS id, cc.parent_id as parentid, cc.alias as alias, cc.access as access, cc.accessuserid as accessuserid'
. ' FROM #__phocagallery_categories AS cc'
. ' WHERE cc.published = 1'
. ' AND cc.approved = 1'
. ' AND cc.parent_id = '.$category_id
. $hideCatSql
. $hideCatAccessSql
. ' ORDER BY cc.title,cc.ordering ASC';
$db->setQuery( $query );
$categoryData = $db->loadObjectList();
Thank you for your help!
I have this code:
$query = 'SELECT cc.title AS text, cc.id AS id, cc.parent_id as parentid, cc.alias as alias, cc.access as access, cc.accessuserid as accessuserid'
. ' FROM #__phocagallery_categories AS cc'
. ' WHERE cc.published = 1'
. ' AND cc.approved = 1'
. ' AND cc.parent_id = '.$category_id
. $hideCatSql
. $hideCatAccessSql
. ' ORDER BY cc.title,cc.ordering ASC';
$db->setQuery( $query );
$categoryData = $db->loadObjectList();
Thank you for your help!