Open the-robman opened 8 years ago
Hi, so use the first query if it works. The second doesn't look right as it will give you the same count for all news with the same title. Is it in the manual? If so, it's wrong.
Hello again and thanks for your fast reply. I write the first query yesterday and tested on my local server. The result (in phpmyadmin) looks fine: /same-newstitle, /same-newstitle-2, /same-newstitle-3, ...
But when I use the query in the cooluri xml file, I get only the "uid" from the news, no newstitle and no count. Example: /12, /152, /44, ... (the numbers are the tt_news uid's)
I think the query is parsed wrong. Maybe is the @ in the query a Problem?
Hi bednee, I tried to make an counter for tt_news titles with the same name, in the "lookInDb" part of the cooluriconf.xml, like this way:
If I use this query in phpmyadmin, I get a list which I expected. Your SQL example, from the Extension Manual don't work too:
Please help :) What I doing wrong? Greetings, Rob