Forums / Cotonti / Bugs / Bug in the index Tag cloud

foxhound
#35474 2012-09-17 10:49

I hope you are not getting tired of me and my bug reporting but there is also an issue with the tag extension. I have tested this all different ways around and I can only see this as an error with the extension and not my implementation.

If you show the tag cloud on the homepage and you set it to show "all" tags, when you than click a page tag it will not return a result but show you an error message the tag was not found (even though it is right there in the pages). It will however find any forum tag.
If you set the tag cloud on the index to show only "page" tags it works just fine and it can find the tag without issues.
If you set it to "forums" only it can fint all forum tags too.

So, only if you set it to show "all" tags it can not find any page tag.

I went through the php files to see if I could see the issue but it is to complicated for me. I found one line which was commented out which has to do with the page_alias (no idea what exactly):

'TAGS_RESULT_ROW_URL' => empty($row['page_alias']) ? cot_url('page', 'c='.$row['page_cat'].'&id='.$row['page_id']) : cot_url('page', 'c='.$row['page_cat'].'&al='.$row['page_alias']),

Since I use page_alias extension I thought maybe enabling that line of code would fix it did not. So I commented it out again.

<img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />