Hi,
did you install with a table prefix different from the default modx_ ?
if yes then update the sql below with the prefix you used instead of modx_
@SELECT CONCAT('(',id,')',pagetitle) AS Column1,id FROM [Your_DB_Prefix]site_content ORDER BY pagetitle, id
I’ve just been looking at the MODx docs and
(at)SELECT suggests you can use [+prefix+] in the sql but trying that I get
« Execution of a query to the database failed - 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 ’[+prefix+]site_content ORDER BY pagetitle, id’ at line 1 »
SQL: SELECT CONCAT(’(’,id,’)’,pagetitle) AS Column1,id FROM [+prefix+]site_content ORDER BY pagetitle, id;
I guess I’ve missed somehing obvious, but I can’t work out what.
Regards
Keith