Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
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 19 years 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
The topic has been locked.

Re:Adding a Unique ID to the SEF url 19 years ago #2865

  • dajo
  • OFFLINE
  • Posts: 5064
Hi,

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

Regards,
David
ARTIO Support Team
The topic has been locked.

Re:Adding a Unique ID to the SEF url 19 years ago #2867

  • x126
is there anyway you could point out how I may be able to hack the existing code to accomplish this?
The topic has been locked.

Re:Adding a Unique ID to the SEF url 19 years ago #2869

  • dajo
  • OFFLINE
  • Posts: 5064
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
The topic has been locked.

Re:Adding a Unique ID to the SEF url 19 years ago #2871

  • x126
Something like...

$title[] = getMenuTitle($option, $task, $Itemid, $Contentid, $string);
The topic has been locked.

Re:Adding a Unique ID to the SEF url 19 years ago #2872

  • x126
I have tried

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

it doesnt seem to effect anything

what am I missing?
The topic has been locked.
  • Page:
  • 1
  • 2
Přihlášení uživatele Prázdný