Hi ,
For the list of articles created by a user, i try first to put the field Article Author - live value to his ID and i get the next eror :
1064
You have an error in your SQL syntax; check the manual that corresponds
to your MySQL server version for the right syntax to use near 'GROUP BY
t0.pk
ORDER BY t1.hits DESC' at line 6 SQL=SELECT t0.id AS pid,t0.pk AS
pk,t0.pkb AS pkb,t0.cck AS cck,t0.storage_location AS loc,tt.id AS
type_id,tt.alias AS type_alias
FROM `jos_cck_core` AS t0
LEFT JOIN `jos_content` AS t1 ON t1.id = t0.pk
LEFT JOIN `jos_cck_core_types` AS tt ON tt.name = t0.cck
WHERE t1.state = 1 AND t1.access IN (1,1,2,3) AND ( t1.publish_up =
'0000-00-00 00:00:00' OR t1.publish_up <= '2014-12-11 13:25:01' ) AND
( t1.publish_down = '0000-00-00 00:00:00' OR t1.publish_down >=
'2014-12-11 13:25:01' ) AND t0.cck = 'article' AND
GROUP BY t0.pk
ORDER BY t1.hits DESC
For the users search i added the User Groups (JForm - User Groups) - live value to the group I created before. And I get this error :
1054
Unknown column 't1.groups' in 'where clause' SQL=SELECT t0.id AS
pid,t0.pk AS pk,t0.pkb AS pkb,t0.cck AS cck,t0.storage_location AS
loc,tt.id AS type_id,tt.alias AS type_alias
FROM `jos_cck_core` AS t0
LEFT JOIN `jos_users` AS t1 ON t1.id = t0.pk
LEFT JOIN `jos_content` AS t2 ON t2.id = t0.pk
LEFT JOIN `jos_cck_core_types` AS tt ON tt.name = t0.cck
WHERE t2.state = 1 AND t2.access IN (1,1,2,3) AND ( t2.publish_up =
'0000-00-00 00:00:00' OR t2.publish_up <= '2014-12-11 13:33:30' ) AND
( t2.publish_down = '0000-00-00 00:00:00' OR t2.publish_down >=
'2014-12-11 13:33:30' ) AND t0.cck = 'article' AND t1.groups LIKE '%%'
GROUP BY t0.pk
ORDER BY t2.hits DESC
Thank you very much for helping me!