Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Quistart to write extensions
(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

TOPIC: Quistart to write extensions

Quistart to write extensions 16 years, 3 months ago #4609

Hi all,

Thanx for the nice Joomla Component.
I´m a web developer and I decided to start use Joomla 1.5.X instead of 1.0.X on my applications, and a SEF componenent is essencial.

Most of open-source component that I use, dont have a extension on Artio SEF 3.X.
Can anyone help with a quickstart to start writing my own extension for that ? I can see on the code that it looks easy, but some tips can be useful!
It will be a pleasure to publish it on the community if that works!

Thanx all,

Wellington Cruz

Re:Quistart to write extensions 16 years, 3 months ago #4619

  • dajo
  • OFFLINE
  • Posts: 5069
Hello,

Basically, you just need to implement the class with proper name and with a function create(&$uri). The function gets the nonSEF URL in $uri variable, you can do anything you want to transfer it to a nice SEF URL, and at the end you just need to call the JoomSEF::_sefGetLocation function, so the URL gets saved into the database.
Try following the code from our free extensions, it really is easy :)

Best regards,
ARTIO Support Team
ARTIO Support Team
  • Page:
  • 1
Přihlášení uživatele Prázdný