Navigation field creates different links for items than the links created by the category view

More
6 years 11 months ago - 6 years 10 months ago #71438 by lipatovroman
Hello!
For example we have items with normal path

www.somesite.com/category/subcategory/subsubcategory/item

But Navigation field creates links without last subsubcategory

www.somesite.com/category/subcategory/item

Also, Loop previous / next option works only for subcategory, not for subsubcategory, where item located.
Last edit: 6 years 10 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
6 years 11 months ago - 6 years 11 months ago #71448 by ggppdk
Hello

please send me a PM
with real links to your website


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 6 years 11 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
6 years 11 months ago #71459 by lipatovroman
Hmmmm... Issue not in Navigation field.
Explain.

We have item page
www.somesite.com/category/subcategory/subsubcategory/101-item

If we remove subsubcategory from URL we will get

www.somesite.com/category/subcategory/101-item

So, links in Navigation field will displays without subsubcategory too.

I crawled my site with special software and found many duplicates like:
www.somesite.com/category/subcategory/101-item
www.somesite.com/category/subcategory/subsubcategory/101-item
www.somesite.com/category/subcategory/102-item
www.somesite.com/category/subcategory/subsubcategory/102-item

Have no idea, why it happens.
I have many categories and menu items for each category...

Please Log in or Create an account to join the conversation.

More
6 years 11 months ago - 6 years 11 months ago #71460 by lipatovroman
Ok, I found reason of issue.

I have categories:

Directory
-category
-subcategory
-subsubcategory

Item should be added only in subsubcategory!

But I added 1 item in subcategory by mistake.

Then, Navigation field generates links for items without subsubcategory.

1. I think there is bug in Navigation field, because it have looping mode, but subcategory had only 1 item. Other items placed in subsubcategory.
2. If we remove subsubcategory from URL - page still opens (no 404 error). We need fix it.
3. How to disallow adding items in
-category
-subcategory
but allow adding items in
-subsubcategory?

Thanks.
Last edit: 6 years 11 months ago by lipatovroman.

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago #71649 by lipatovroman

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago #71650 by ggppdk
Hello

not a bug, but not optimal either
that is why we have rel canonical

but FLEXIcontent item navigation field is much better
than Joomla article navigation (next/previous), which cannot use settings of the current view

e.g. 1 setting is mentioned here:
github.com/joomla/joomla-cms/issues/19453

FLEXIcontent item navigation field , after a lot of efforts uses all settings of the category / multi-item view that navigation started ...


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.509 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline