Hi,
And the plot thickens. It seems to be smart enough to understand that ?Itemid=xxx on the URL is for the module menu display options, but it does not see that for the template selection.
#
SELECT template
FROM jos_templates_menu
WHERE client_id = 0
AND (menuid = 0 OR menuid = 0)
ORDER BY menuid DESC
LIMIT 0, 1
Note menuid here is 0 (zero) for both. Yet here:
SELECT id, title, module, position, content, showtitle, control, params
FROM jos_modules AS m
LEFT JOIN jos_modules_menu AS mm
ON mm.moduleid = m.id
WHERE m.published = 1
AND m.access <= 0
AND m.client_id = 0
AND ( mm.menuid = 127 OR mm.menuid = 0 )
It can see it for the module positions.
any thoughts on getting the theme selection set too?
- Mike