Hello.
I would like to know how to get Artio's JoomSEF strippped and trimed item url in a template? Let's make an example.
Now I have this php code before the HEAD statement:
$database->setQuery( \"SELECT title FROM #__content WHERE id='\".$_GET['id'].\"'\" );
$title = $database->loadResult();
and this code, where I want the title to appear:
Now, I don't want to use the title, since it has some special characters and the created link isn't useful in a browser. The method I use now has nothing to do with JoomSEF.
My question is how can I use Artio's url creation to make my desired links to the content items - with no special characters, lowercase and with dashes instead of spaces? Something like this:
mydomain.com/en/stripped-url-to-content-item.html
the bolded part is what I'm interested in. So, I would like to get this part of the created URL in a template. Does anyone know how to code it? I've been looking through the JoomSEF code, but nothing seemd to work on-the-fly - need some more experienced coders ;-)