Menu Content

Support

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

Extension Problem
(1 viewing) (1) Guest
Support forum for customers who have purchased paid JoomSEF extension. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: Extension Problem

Extension Problem 13 years, 12 months ago #18841

Hallo,

ich habe ein Problem un zwar legt eine SEF Extions seit dem Update keine Links mehr selbstsändig an. Leider habe ich diese Extension auch nicht selbst erstellt, gibt es ein aktuelles Tutorial zur erstellung von Extensions?

Bitte um Hilfe.
Gruß Benni
Last Edit: 13 years, 12 months ago by klausbenni1.
The topic has been locked.

Re: JoomSEF legt selbst Links an 13 years, 12 months ago #18862

  • jaku
Hello,

please, write in English in our forums.
There is no tutorial on creating extensions so far, there is only an example extension available. (it is part of the installation packeage)

The best way is to use other extension for inspiration. In principle, there is a method create where you put all the logics of composing the URL. You can of course create additional helper methods e.g. for selecting data from database.

At the end of the create method you call JoomSEF code:
$newUri = $uri;
if (count($title) > 0)
$newUri = JoomSEF::_sefGetLocation($uri, $title, @$task, @$limit, @$limitstart, @$lang, $this->nonSefVars);
return $newUri;

where uri is the original URL, title is an array of the URL parts (that will be separated by slash - "/") and the additional (optional) variables task, limit, limitstart, lang - if defined - will be processed by JoomSEF automatically. The last parameter is list of non-sef variables, that will be ignored when creating SEF URL and wil be always appended as query parameters.

That is it.
Last Edit: 13 years, 12 months ago by .
The topic has been locked.

Re: JoomSEF legt selbst Links an 13 years, 12 months ago #18866

Solved! Sorry
Last Edit: 13 years, 12 months ago by klausbenni1.
The topic has been locked.
  • Page:
  • 1
User Login Empty