Xmap URL: itemId is wrong?

More
12 years 1 month ago #46839 by Pheno
Replied by Pheno on topic Xmap URL: itemId is wrong?
Thanks for your interest in this ggppdk - it's appreciated.

Here's my answer to your question:

- once via a item view menu item
There are definitely no flexicontent menu items pointing directly to flexicontent items.
- once via its main category
OK
- once via a multiple category menu item
I don't think so. All the menu items on the site are of type FLEXIContent » Category
- once via a tags menu item
There are no tags menu items.

One thing there are, is menu items pointing to parent categories (which are also minor categories of the item). So for example, the item "Carl Oswald Bulla" is in the following categories: Biographies , Russian Artists , 20th Century , Turn of the Century , Photographer

There is a menu item for each of the 4 parent categories, and also one for the main category (I created the latter since my previous posts on this thread).

The item is listed 5 times in the sitemap:http://www.rusartmarch.co.uk.gridhosted.co.uk/index.php?option=com_xmap&view=html&id=1&Itemid=264

Incidentally, none of the URLs in the sitemap have a menu id corresponding to any of the categories. They all use itemId 119 (hidden menu).

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

More
12 years 1 month ago #46842 by ggppdk
Replied by ggppdk on topic Xmap URL: itemId is wrong?
Hello

if you have this:

ParentCat1
|_Cat2
|_Cat3
|_Item4

and you create 2 menu items:
- ParentCat1
- Cat2

then Item4 will be listed twice,
- once in the subTree of ParentCat1
- once in the subTree of Cat2

is the above the case ?


Also the above item will use the "default" menu item because there is no menu item pointing to his category


Regards


-- 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 review. Thanks!

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

More
12 years 1 month ago #46846 by Pheno
Replied by Pheno on topic Xmap URL: itemId is wrong?
Yes that's the case, so that explains why the item is in the sitemap 5 times.

But I do have a menu item for the main category of the item, but none of the 5 URLs in the sitemap have this itemId.

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

More
12 years 4 weeks ago #46852 by ggppdk
Replied by ggppdk on topic Xmap URL: itemId is wrong?
Hello

the categories of the item should be selected in any case, unless you have set to override this is content type configuration (you can have a default menu item per content type too, which can be configured to take priority over the category)

also, the menu item id selection depends also on the SEF URL configuration of the component, can you post a picture of it ?


-- 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 review. Thanks!

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

More
12 years 4 weeks ago #46865 by Pheno
Replied by Pheno on topic Xmap URL: itemId is wrong?
Here they are:

[attachment=0:3vpyoyt9]<!-- ia0 -->flexiSEF.png<!-- ia0 -->[/attachment:3vpyoyt9]

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

More
12 years 3 weeks ago #46904 by ggppdk
Replied by ggppdk on topic Xmap URL: itemId is wrong?
Hello

will take time to test and possibly update/improve plugin / routing at end of week

most notably considering this new feature to the XMAP plugin:

-- if a category has already been expanded via a parent category then don't re-expand it

you may post a reminder during weekend too

Regards


-- 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 review. Thanks!

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

More
12 years 3 weeks ago #46908 by Pheno
Replied by Pheno on topic Xmap URL: itemId is wrong?
That would be fantastic.

If it would help to test on a big live site you're welcome to use my test site www.rusartmarch.co.uk.gridhosted.co.uk

You still have a log in on there.

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

More
12 years 3 weeks ago #47030 by Pheno
Replied by Pheno on topic Xmap URL: itemId is wrong?
Did you get a chance to look at this?

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

More
12 years 3 weeks ago #47033 by ggppdk
Replied by ggppdk on topic Xmap URL: itemId is wrong?
Hello

the SEF URL creation code (route.php) was updated to use reverse lookup (1-step lookup to find matching menu item) and to also consider if menu item to parent categories exist, and also consider if language filtering is enabled

- this will improve performance when a large number of URLs is created e.g. XMAP

- this will address issue of parent categories not being used in SEF URL when they exist

have not be tested this yet though


-- 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 review. Thanks!

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

More
11 years 11 months ago #48006 by Pheno
Replied by Pheno on topic Xmap URL: itemId is wrong?
Hi ggppdk,

I just installed Flexicontent 1910 beta and the URLs are looking fantastic! Thank you very much for your work on this.

The only other "wish list" request I would make is that it would be nice if you could configure it to only display 1 URL per item in the xmap sitemap. Currently it creates 1 URL per category menu. So on my site, I have a large category heirarchy and the following menu structure:

ParentCat1
|_Cat2
|_Cat3
|_Cat4
|_Cat5
|_Item

And this means I get 5(identical) URLs in the sitemap which makes the sitemap slow to load.

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

Moderators: vistamediajoomlacornerggppdk
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
Save