248 Posts
Giuse
7 years ago
5
Topic

Hi, I am investigating the different options in the Link parameter in the List view with Joomla SEF disabled. I have a simple list of photo cameras (that is a content type with parent content type "product") associated to menu item "photo cameras list". In the list, the article title has the Link as "Content - View" to see the item. Very simple.

In the Link parameter, Menu Item is set to "Inherited" so I expected the link to use the same menu item as the list, but it is not: the link uses instead the home menu item. Content is normally set to "Current".

Why?

thanks

Giuse

Get a Book for SEBLOD
4229 Posts
Kadministrator
7 years ago
4
Level 1

Does it work if you enable sef? In my experience things are not exactly perfect with SEF off. Otherwise it is advisable to always specify target itemid as otherwise it can be guessed wrongly.

248 Posts
Giuse
7 years ago
3
Level 2

Yes, with Joomla SEF enabled it works..ok, so it's a bug, added to Tracker Seblod issue 464 (there are quite a number of bugs to be fixed, hopefully next release will be focused on solving them more than new features :)).

thanks

Giuse

248 Posts
Giuse
7 years ago
2
Level 3

Actually, I discovered another problem: linking a Seblod article using the menu of content list (i.e. an item of a Seblod type extended from article in a content view using menu item of the Seblod list of that type) from a native Joomla article does not support URL SEF rewriting: in the Joomla article, writing the link in the standard form like

index.php?option=com_content&view=article&id=<art_id>&catid=<cat_id>&lang=it&Itemid=<menu_item_id>

what is rendered is an ugly URL like

<site>/it/component/content/article/<cat_id>-cck/<sequence of cat aliases>/<article_alias>?Itemid=<menu_item_id>

instead of the expected form

it/<menu-item-alias>/<article_alias>

Can you confirm this? Do we need additional .htaccess rules for correct rewriting or something else or.... linking a Seblod item from a Joomla item requires to directly write the rewritten SEF form?

thanks

Giuse

248 Posts
Giuse
7 years ago
0
Level 4

Hi, any feedback on this? Am I doing something wrong or Seblod does not always support native Joomla SEF rewrite?

cheers

Giuse

4229 Posts
Kadministrator
7 years ago
0
Level 4

Joomla by itself can't render Seblod links correctly, Seblod links are only rendered correctly when handled by Seblod (e.g. on lists). 

Get a Book for SEBLOD