40 Posts
yoyoxp
7 years ago
6
Topic

Hi all,

I am having an issue with breadcrumb generation (seblod breadcrumb module) not including subcategories which I have defined. My setup is as following:

|_ Main category (itemid1) - Joomla Category menu item

|_ Secondary category (itemid2) - Seblod L&S menu item

|_ Item

My secondary category is configured under a menu item to point to a Seblod List and Search. Under this L&S I have a blog layout with certain fields set to link to the content.

This works great however the itemid will always be forwarded as itemid1, rather than itemid2 (even though you are accessing via menu item with itemid2).

I do know the reasoning for this. I discovered at the start that you cannot using Seblog L&S menu item to define root category, as doing so itemid will always default to 101 (homepage). I
worked around this problem by making my main category use the Joomla Category menu item type. This works but unfortunately sub category items will not use their itemid, but rather
that of root category.
I decided to make my root category a Joomla Category menu item, as the alternative of defining the category under a hidden menu view resulted in focus from the menu item getting lost.

At this point I could use SH404SEF to manually change over 400 URLs to replace with a different item id, this should work but would be tedious. I suppose it is possible with a simple
enough SQL query to resolve (not really looked into it).

Is there any alternative solution for controlling the itemid that gets passed using the "Link" to content option under L&S? It would seem like a pretty basic functionality so maybe I am missing something simple?

Cheers,

Nick

Get a VIP membership
4229 Posts
Kadministrator
7 years ago
1
Level 1

Hi,

in the link settings (in search or content type) you can choose a menu, that will be used for the link. In fact it is advisable to always choose a menu as auto option doe often chooses wrong one.

40 Posts
yoyoxp
7 years ago
0
Level 2

Hi Klas,

I have tried to set the menu item previously but to no effect. I want my List and Search to behave as a category, rather than relying on
Joomla default category menu item.

Calling L&S menu item item id is correct!:-
http://srv/call/index.php?option=com_cck&view=list&search=gallery_listing&task=search&Itemid=1476
=> Itemid correct for List & Search menu item

When item under above L&S is set as link, with menu item predefined as correct target, itemid=101 is appended to URL always:
=>http://srv/call/index.php?option=com_content&view=article&id=494:my-art-title&catid=23&Itemid=101

Here is my "link" configuration from under S&L, and wrong bahaviour:

http://imgur.com/a/Fx3gb

http://imgur.com/a/4Mlmg


Problem:
Breadcrumbs not defining correctly, frontpage only modules will display and tab will loose focus instead to homepage.
Under L&S -> Link -> Link properties menu item has been defined, but with zero effect.

Am I configuring something wrongly here?

Thanks,

Nick

40 Posts
yoyoxp
7 years ago
0
Level 1

It would appear the reason I have this error is because I am using Joomla SEF URLs and not the Seblod router ones. I must use Joomla SEF as I use SH404SEF. Actually I am migrating my website from Flexicontent to Seblod and I need to use SH404SEF to control URL generation for SEO reasons.

It is the same issue as discussed here:

https://www.seblod.com/community/forums/general-discussions/competibility

Will the compatibility of Joomla Native SEF URL generation with Seblod be addressed? Issue will happen in all cases with SEF url generation off, regardless of SEF URL configuration settings. This is an issue with Seblod and Joomla routing.

As a workaround I can replace URLs in SH404SEF with versions not including the itemid=101. This workaround does work, but it is very much not ideal. I can workaround the issue by creating a Joomla native Category menu item (Add menu -> Articles -> Category list), which will be a workaround suitable for most content types, and fortunately for the content type I need with specific menu structure it will only be maintained by me, so the workaround is suitable.

Cheers,

Nick

40 Posts
yoyoxp
7 years ago
2
Level 1

Hi all,

Is there going to be any update made to resolve this error using Joomla SEF/no SEF links? Each time a piece of content is called via a Seblod Search & List the itemid will always default to 101/home:
http://srv/call/index.php?option=com_content&view=article&id=494:my-art-title&catid=23&Itemid=101

It would be great if this issue could be resolved, as it would make development easier working with SEF URLs disabled and it will also allow use of SEF components i.e: sh404sef in tandem with Joomla SEF link generation configured under Seblod options.

Many thanks,
Nick

4229 Posts
Kadministrator
7 years ago
1
Level 2

Hi,

this is a problem with sh404 sef, not seblod, you should ask their support.

40 Posts
yoyoxp
7 years ago
0
Level 3

Hi Klas,

Cheers for getting back so quickly! I'm not sure if this is a SH404SEF issue, infact it is more a Joomla/Seblod issue. The reason I suggest this is that disabling even removing third party SEF tools, then disabling SEF URLs completely under Joomla via "Global Configuration" the non-SEF URLs Joomla generates will contain this error. This is also regardless of the Seblod SEF configuration defined under Seblod 'site' properties.
Using the Seblod Router does resolve the error, in combination with joomla SEF urls enabled but my question is will Seblod be updated to conform to Joomla routing rules, regardless of supporting third party SEF tools or not? As I mentioned earlier I do have workarounds, but when working/developing the site I have SEF URLs off and problem is still occurring.
I think if this is an incompatiblity with joomla router it would be good if it could be resolved?

Many thanks,

Nick

Get a Book for SEBLOD