Our Joomla! extensions are all OpenSource and free of charge. Support is also free of charge. Nevertheless, we do have costs that need to be paid. This is done out of our own pocket. We have had a donation button on our website for some time now, which is actually used to make donations from time to time. The donation progress bar is intended to show how much support we have received and how much is still missing to cover the basic costs, such as hosting and services. The annual costs currently amount to 420€.
2024: €235.49 out of the €356 target was reached
Thank you for your support!
You want to support and there is no suitable platform? Write to us in the forum.
I have now installed a new, clean Joomla 4 instance with sample data and your sitemap extension locally and narrowed down the error a bit. The error must be in the plugin for the content, or related to this. With the screenshots you can see how everything belongs together and behaves accordingly.
This shows the content / categories of the sample data and how I arranged it.
This shows the setting of the main menu and mirrors the structure of the category setting.
This shows the html sitemap output with the main menu on the right, with the content plugin disabled. Everything is displayed correctly.
Now the html sitemap output with the main menu, but with the content plugin enabled. Now the subcategories are duplicated - so this is wrong.
Now again the settings of the main menu, but with the menu item Help unpublished.
Here the html sitemap output with the main menu on the right, with the Help Item unpublished and the content plugin disabled. Everything is displayed correctly.
And lastly the html sitemap output with the main menu on the right, with the Help Item unpublished, but the content plugin enabled. Now the subcategories are duplicated again and the help item is displayed - so this is also wrong, both duplicated subcategories and the displayed help menu item in the sitemap. But the help is displayed only once, without a duplicate, although this menu entry is unpublished and should not be displayed in the sitemap at all.
Attachments:
Last edit: 1 year 3 months ago by LUCiD.
The following user(s) said Thank You: Sven Schultschik
add option to remove duplicates <-- default off, you need to activate
fix fix all subcategories showed even if subcatoegy is hidden
fix invalid XML
fix undefined method getLanguageFilter
If you enjoy our extensions and found our assistance helpful, please consider supporting the project as outlined at the top of the page. Your support would be greatly appreciated.
Unfortunately, it's still wrong, at least for me. Here are two screenshots.
The first one of the HTML sitemap with the content plugin enabled, the Help menu item disabled and in the sitemap manager at the sitemap item options 'Remove duplicate' enabled (yes).
Now only the items of the subcategories has duplicates, not their article entries. The Help category and its articles still exists although it is switched off in the menu (right).
Now the output of the xml sitemap.
The first base URL (Home) in the <loc> is wrong. For all other <loc> entries the URLs are completely missing, except for those of the categories and the entry for the HTML sitemap, but they are relative and not full URLs (the protocol and the domain are missing).
Add: If you need a bigger image of the xml sitemap output I could make one and put it in a zip, to bypass the file size restriction for images.
Attachments:
Last edit: 1 year 3 months ago by LUCiD. Reason: Add
- fixed empty loc
- fixed wrong base url
- to remove the menu items which are duplicated was a tricky one and risky option which is a new additional option remove duplicate menu
If you enjoy our extensions and found our assistance helpful, please consider supporting the project as outlined at the top of the page. Your support would be greatly appreciated.
Hi Sven.
Only briefly, because I still want to test it with my, to J4 migrated website (later today, or at the weekend), but at first glance, everything looks good so far with my recent J4 test installation.
OK, I have now also tested this with my migrated website on the local server and everything looks quite good so far.
Since it is still an alpha version, I will wait to use the sitemap on the live site until at least an RC is available.
Thank you Sven for your efforts and the implementation - see you then and all the best!
Add:
It would be nice, if you leave a short message here when you are ready with the RC or stable version.
Last edit: 1 year 3 months ago by LUCiD. Reason: Add:
The following user(s) said Thank You: Sven Schultschik