Author Topic: SEF Advance extension for K2  (Read 18832 times)

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,650
    • View Profile
    • Sakic.Net
SEF Advance extension for K2
« on: 25 June 2010, 01:49 »
SEF Advance extension for K2 is now in testing phase. If you use the K2 component for Joomla it will give you some kick-ass URLs in combination with SEF Advance.

Let me show you an example. Let's say you have a category called Animals, under that a subcategory called Birds and finally two items there: Eagle and Hawk. The parent category Animals is linked to menu.

The regular K2 SEF URLs are right now like:
Animals (category): http://domain/animals
Birds (subcategory): http://domain/animals/itemlist/category/4-birds
Eagle (item): http://domain/animals/item/3-eagle
Hawk (item): http://domain/animals/item/4-hawk

With the new extension for SEF Advance you get:
Animals (category): http://domain/animals/
Birds (subcategory): http://domain/animals/birds/
Eagle (item): http://domain/animals/birds/eagle/
Hawk (item): http://domain/animals/birds/hawk/

It works for unlimited category depth. As you can see there are no IDs nor strange words in the URLs and they are far more logical reflecting your content structure. The other K2 views are also covered with improved URLs.

You will notice there is no "k2" component prefix in the URLs either which was the case in all previous extensions for 3rd party components. This is possible thanks to a new API format in SEF Advance which allows for this to be skipped (will require SEF Advance v2.3.1 or later). As K2 is often used as a replacement for Joomla's own content component and tightly connected to the core, I figured you will appreciate this feature as URLs become far more advanced and simple.

The extension is almost completed and will be available soon for free download to all SEF Advance users. I would appreciate your help through this testing phase though.

How can you help?

If you have a well developed K2 site (preferably the latest version 2.3) with many categories and content and wouldn't mind me testing the extension there please contact me with your admin password and FTP info. You will most certainly get the access to the extension first in that case.

Thank you!
« Last Edit: 25 June 2010, 10:48 by Saka »

Gianni

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: SEF Advance extension for K2
« Reply #1 on: 04 July 2010, 21:23 »
Hi,
I have a SEF Advance powered (www.phpnews.it) website and I want to convert all my articles to K2.
Does this extension allow me to do this whitout changing the article URLs?

Thanks.

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,650
    • View Profile
    • Sakic.Net
Re: SEF Advance extension for K2
« Reply #2 on: 04 July 2010, 23:09 »
Hello,

Yes, providing you have same titles for categories and subcategories as you had with your sections / categories in Joomla core. K2 export should take care of that automatically.

Feel free to download the free trial and test.

Gianni

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: SEF Advance extension for K2
« Reply #3 on: 05 July 2010, 10:13 »
In my current SEF Advance setting the parameter "Include section" is set to YES and the parameter "Include category" is set to No.

Does these settings will be used also for K2 URLs? For K2 a section is a parent K2 category and a category is a child K2 category.

This is very important to avoid that URLs changes moving my articles to K2.

Thanks.

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,650
    • View Profile
    • Sakic.Net
Re: SEF Advance extension for K2
« Reply #4 on: 05 July 2010, 21:51 »
No, it will not be used in K2. In that case you need to reorganize your content and have only one category in K2 which should be named as your previous section.

Gianni

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: SEF Advance extension for K2
« Reply #5 on: 06 July 2010, 06:42 »
I tried SEF Advance extension for K2 width UberPageBreak:
http://www.joomlaworks.gr/content/view/82/42/

UberPageBreak allows to split K2 articles in multiple pages.

SEF Advance extension for K2 seems not handle article pagination links.

Thanks.

Gianni

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: SEF Advance extension for K2
« Reply #6 on: 06 July 2010, 16:01 »
Yet another question: how does the K2 extension distinguish between Joomla article URLs and K2 article URLs?

Thanks.

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,650
    • View Profile
    • Sakic.Net
Re: SEF Advance extension for K2
« Reply #7 on: 06 July 2010, 18:44 »
I tried SEF Advance extension for K2 width UberPageBreak:
http://www.joomlaworks.gr/content/view/82/42/

UberPageBreak allows to split K2 articles in multiple pages.

SEF Advance extension for K2 seems not handle article pagination links.

Well, it's made for K2 out of the box, not for additional plugins. But I wll take a look on that.

Yet another question: how does the K2 extension distinguish between Joomla article URLs and K2 article URLs?

Yes.

Gianni

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: SEF Advance extension for K2
« Reply #8 on: 08 July 2010, 15:27 »
Any news about UberPageBreak pagination links? I need only this feature to convert my website to K2.

Thanks.

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,650
    • View Profile
    • Sakic.Net
Re: SEF Advance extension for K2
« Reply #9 on: 08 July 2010, 22:04 »
I just tested it with K2 2.3 and UberPageBreak 1.0 and it works good. Make sure you also use the latest versions of everything.

Gianni

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: SEF Advance extension for K2
« Reply #10 on: 08 July 2010, 23:14 »
Hi Saka,
i tried to paginate a K2 article and I optained some URLs width the ending parameter "limitstart": /?limitstart=1 for the second page, /?limitstart=2 for the third page and so on...

Thanks.

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,650
    • View Profile
    • Sakic.Net
Re: SEF Advance extension for K2
« Reply #11 on: 09 July 2010, 00:27 »
Yes. And the links work too, they take you to the next page. So what's the problem?

Gianni

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: SEF Advance extension for K2
« Reply #12 on: 09 July 2010, 06:44 »
multipage links for standard joomla article ends wigth a number, whithout the "limitstart" parameter:

myarticle
myarticle/1/
myarticle/2/

I'm trying to reproduce the same Joomla URLs

Another question: i created a new menu item (alias = menu-item) that points to a k2 category (title alias = my-category). The URLs of K2 article are like this:
menu-item/article-alias
and not like this:
my-category/article-alias

Is this a bug?

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,650
    • View Profile
    • Sakic.Net
Re: SEF Advance extension for K2
« Reply #13 on: 09 July 2010, 16:51 »
It's different in K2, not a big deal I think.

It's not a bug, it has to be that way in order to find correct component and Itemid so we can skip "k2" prefix in URLs. Just have the same menu names as category names.

Gianni

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: SEF Advance extension for K2
« Reply #14 on: 09 July 2010, 17:57 »
It's different in K2, not a big deal I think.

I'm trying to preserve ALL the old URLs of my joomla articles in the conversion to K2 articles. I have a lot of articles divided in multiple pages so for me it's important how the page number is handled in the URL.

It's not a bug, it has to be that way in order to find correct component and Itemid so we can skip "k2" prefix in URLs. Just have the same menu names as category names.


Ok, thanks.