Forum
Welcome, Guest
Please Login to access forum.
Re:Not get Itemid for com_tag (1 viewing) 
Go to bottom
TOPIC: Re:Not get Itemid for com_tag
#3710
John Dagelmore
Admin
Posts: 3873
User Online Now
Re:Not get Itemid for com_tag Karma: 84  
Yes there is a way to force your specific Itemid directly inside the SQL query.

You must modify it and use the 'CONCAT' statement to specifcy your menu Itemid:

QUOTE:

SELECT
`#__tags`.`title`,
CONCAT(CONCAT_WS(':', `#__tags`.`id`, `#__tags`.`alias`), '&Itemid=471') AS `id`
FROM `#__tags`
WHERE
`#__tags`.`published` = '1'
AND `#__tags`.`access` IN {aid}
AND (`#__tags`.`language` = '*' OR `#__tags`.`language` = {langtag})
AND `#__tags`.`id` != '1'
ORDER BY
`#__tags`.`title` ASC
 
Logged Logged  
  The administrator has disabled public write access.
      Topics Author
    thread link
Not get Itemid for com_tag
Mikhail
    thread link
thread linkthread link Re:Not get Itemid for com_tag
John Dagelmore
    thread link
thread linkthread linkthread link Re:Not get Itemid for com_tag
Mikhail
    thread link
thread linkthread linkthread linkthread link Re:Not get Itemid for com_tag
John Dagelmore
    thread link
thread linkthread linkthread linkthread linkthread link Re:Not get Itemid for com_tag
Mikhail
Go to top