Menu Content

Support

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

Adding a Unique ID to the SEF url
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1
  • 2

TOPIC: Adding a Unique ID to the SEF url

Adding a Unique ID to the SEF url 17 years, 3 months ago #2863

  • x126
currently things are working since I upgraded to v2 - But I need to add a unique numerical identifier to the url.

for example: the urls appear like this now...

www.mysite.com/folder/this-is-the-url.html or www.mysite.com/folder/this-is-the-url.html?Itemid=2

is there a way I can add the content id to it like so?

www.mysite.com/folder/this-is-the-url-id012345.html

the date may also work as a numerical id

any insight or direction would be appreciated

Re:Adding a Unique ID to the SEF url 17 years, 3 months ago #2865

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

this is not possible with the current version, but we can implement this feature in next release.

Regards,
David
ARTIO Support Team

Re:Adding a Unique ID to the SEF url 17 years, 3 months ago #2867

  • x126
is there anyway you could point out how I may be able to hack the existing code to accomplish this?

Re:Adding a Unique ID to the SEF url 17 years, 3 months ago #2869

  • dajo
  • OFFLINE
  • Posts: 5069
You can alter the com_content.php in /components/com_sef/sef_ext. Just append the content id to content title in place where the title is loaded from database.
But remember that when you update JoomSEF your changes will be replaced.

Regards,
David
ARTIO Support Team

Re:Adding a Unique ID to the SEF url 17 years, 3 months ago #2871

  • x126
Something like...

$title[] = getMenuTitle($option, $task, $Itemid, $Contentid, $string);

Re:Adding a Unique ID to the SEF url 17 years, 3 months ago #2872

  • x126
I have tried

$title[] = getMenuTitle($option, $task, $Itemid, $Contentid, $string);

it doesnt seem to effect anything

what am I missing?
  • Page:
  • 1
  • 2
User Login Empty