Hi to all. Has anyone every tried to stip the tag urls so they don't dupicate for every catagory. For example:I post an aticle using K2 and i apply a TAG such as " street crime " from a catagory called education. the non sef url looks like this:
index.php?option=com_k2&Itemid=2&task=tag%3D+street+crime&view=itemlist
with ACESEF on it looks like this. mysite.com/education/tags/street-crimewhat i want to do is change the url code so the catagory is never lncluded in the tag url. i have tried working with the k2_com helpers/route.php file here....function getTagRoute($tag) { $needles = array ( 'tag'=>$tag ); $link = 'index.php?option=com_k2&view=itemlist&task=tag&tag='.urlencode($tag); if ($item = K2HelperRoute::_findItem($needles)) { $link .= '&Itemid='.$item->id; } ;but can't get the result im looking for. But i know there are also lines which echo the tag urls with in the template files, such as catagoryItem & Item.phpI could use ACESEF, but i dont want to have to rewrite every TAG which is created by the site users. All ideas & help is much appreciated.
index.php?option=com_k2&Itemid=2&task=tag%3D+street+crime&view=itemlist
with ACESEF on it looks like this. mysite.com/education/tags/street-crimewhat i want to do is change the url code so the catagory is never lncluded in the tag url. i have tried working with the k2_com helpers/route.php file here....function getTagRoute($tag) { $needles = array ( 'tag'=>$tag ); $link = 'index.php?option=com_k2&view=itemlist&task=tag&tag='.urlencode($tag); if ($item = K2HelperRoute::_findItem($needles)) { $link .= '&Itemid='.$item->id; } ;but can't get the result im looking for. But i know there are also lines which echo the tag urls with in the template files, such as catagoryItem & Item.phpI could use ACESEF, but i dont want to have to rewrite every TAG which is created by the site users. All ideas & help is much appreciated.