using sef urls on custom component?
- 3lad3
-
Topic Author
- Offline
- New Member
-
Less
More
- Thank you received: 0
17 years 2 months ago - 17 years 2 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!
/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!
Last Edit: 17 years 2 months ago by 3lad3.
Please Log in or Create an account to join the conversation.
- Saka
-
- Offline
- Administrator
-
17 years 2 months ago #2228
by Saka
Emir Sakic
www.sakic.net
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.
- 3lad3
-
Topic Author
- Offline
- New Member
-
Less
More
- Thank you received: 0
17 years 2 months ago #2229
by 3lad3
perfect! ;D Just what I was after.
thanks
thanks
Please Log in or Create an account to join the conversation.