Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Profile for bobysolo

  • OFFLINE
  • Time Zone: GMT +0:00
  • Local Time: 02:15
  • Posts: 1
  • Profile Views: 1361
  • Location: Unknown
  • Gender: Unknown
  • Birthdate: Unknown

Signature

Posts

Posts

emo
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:
echo $title


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 ;-)
Get item stripped ur ...
Category: JoomSEF 3
More
User Login Empty