Menu Content

Support

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

Making extensions for ARTIO JoomSEF
(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: Making extensions for ARTIO JoomSEF

Making extensions for ARTIO JoomSEF 16 years, 3 months ago #4806

Hi everybody! I really need your help over here! I made a custom component, and i want to add SEF to it. Then I have tried to make a extension to this component. I have followed all the steps in the _com_example.txt, that is under the sef_ext dir, and also used some other extensions as example. I think that everything is well coded, and I made a package with the XML and everything, but i am not getting SEF in my component. There is some clearer documentation, or someone that already passed through that?

There is a prize: since i have found so little documentation about it (basically, just the example txt in the component folder), if there really is so little documentation, and if the process of making a custom extension becomes clear to me, i offer my help to document this development of JoomSEF extensions, to help future developers :)
See, people? It's a good trade :)
Sooooo, anyone want to help me?

Thanks in advance?
Last Edit: 16 years, 3 months ago by charles.ccomp.

Re:Making extensions for ARTIO JoomSEF 16 years, 3 months ago #4810

Ops. Sorry people, this was not the problem. I figured out why the links were not working: I was passing the absolute URL. Then I changed the links to relative URL, and it worked :)
But here comes another doubt: I have a component generating content in a pop-up, to do this I have to use index2.php, and it seems that SEF is not applied to index2.php links, because when i changed those links to index.php, the SEF worked well. Is there a way to generate SEF URL's to a index2.php URL?

I am using:
Joomla 1.5.6
JoomSEF 3.2.0
Database MySQL version: 5.0.51a-community
PHP version: 5.2.6
Webserver: Apache
Webserver Interface: cgi

Thankyou very much
Last Edit: 16 years, 3 months ago by charles.ccomp.

Re:Making extensions for ARTIO JoomSEF 16 years, 2 months ago #4815

  • fidoboy
Hello charles, i'm having exactly the same problems than you, so it could be great to share experiences here (i'm also trying to develop a custom extension for my component in JoomSEF). It seems that index2.php isn't working with JoomSEF enabled, so, all my AJAX functions doesn't work anymore.... I'm also trying to find some documentation or tutorial for JoomSEF extensions developing, but there isn't any :(

regards,
Last Edit: 16 years, 2 months ago by . Reason: add some text

Re:Making extensions for ARTIO JoomSEF 16 years, 2 months ago #4817

Hi! I have managed to solve it, it's simple: use index.php, instead of index2.php, and pass this variable via post, get or request: tmpl=component. It will have the same effect of index2.php, but with index.php. Worked great for me, and I hope it works for you!
Last Edit: 16 years, 2 months ago by charles.ccomp.

Re:Making extensions for ARTIO JoomSEF 16 years, 2 months ago #4818

  • fidoboy
Thanks for the tip, i've also though about using it that way but i don't like too much that solution. I hope that there is a better aproach because there is A LOT of components, plugins and modules that are using index2.php. I want also to know if this is a bug in JoomSEF or if it has been done intentionally...

regards,

Re:Making extensions for ARTIO JoomSEF 16 years, 2 months ago #4829

  • fidoboy
Hello again charles,

I'm still trying to create a custom extension for JoomSEF to work with my own component, but i've found that the problem is with AJAX calls. URLs contained into the js files doesn't work fine... i suppose that i must bypass JoomSEF to not translate that URLs but i don't know how...

regards,
  • Page:
  • 1
User Login Empty