using sef urls on custom component?

16 years 7 months ago - 16 years 7 months ago #2227 by 3lad3
I have written a custom component that lists content items based on a custom mysql query. Links to these content items are then displayed based on following url where just the id number at the end changes -

/index.php?option=com_content&task=view&id=95

I was hoping that Advanced SEF would just update these links on the fly like it does with the rest of mambo to a url such as -

/4wdtracks/trails/nash-creek-loop-track/

How can I make SEF update these urls too?

thanks!

Please Log in or Create an account to join the conversation.

16 years 7 months ago #2228 by Saka
sefRelToAbs("index.php?option=com_content&task=view&id=95");

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

16 years 7 months ago #2229 by 3lad3
perfect!  ;D  Just what I was after.

thanks

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch