|
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!
|
Making extensions fo ...
|
Posted 17 years ago
by charles.ccomp
|
|
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
|
Making extensions fo ...
|
Posted 17 years ago
by charles.ccomp
|
|
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?
|
Making extensions fo ...
|
Posted 17 years ago
by charles.ccomp
|