Problem with SitemapMgr

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
(M)
Forum Members
Forum Members
Posts: 118
Joined: Tue Mar 18, 2008 11:43 pm

Problem with SitemapMgr

Post by (M) »

After install en configure, I have a problem that only one off all the pages are show in ../assets/sitemaps/sitemap-pages.xml

There is no problem with ../assets/sitemaps/sitemap-news.xml it shows al the news items.

in config;
$config['permissive_smarty'] = 1;
$config['root_url'] = 'http://www.website.com';

PHP 7.0.23
CMSMS 2.2.3.1 and all modules updated
I have installed SitemapMgr 1.5.2
and also MleCMS 2.0-beta1
(M)
Forum Members
Forum Members
Posts: 118
Joined: Tue Mar 18, 2008 11:43 pm

Re: Problem with SitemapMgr – has somebody same problem?

Post by (M) »

I try it on another site with nearly the same settings;
PHP 7.0.23
CMSMS 2.2.3.1 and all modules updated
SitemapMgr 1.5.2
But no; MleCMS 2.0-beta1

After add "$config['permissive_smarty'] = 1;" to the config, the site front-end give a white page. The back-end isn't available anymore.

Without $config['permissive_smarty'] = 1; in config I get the warning in SitemapMgr but ../assets/sitemaps/sitemap-pages.xml shows me all the active pages.
User avatar
Rolf
Dev Team Member
Dev Team Member
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Problem with SitemapMgr – has somebody same problem?

Post by Rolf »

white page == error 500 >> error log

I never used the MLE module and don't have the need to... So can't help you out here.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
(M)
Forum Members
Forum Members
Posts: 118
Joined: Tue Mar 18, 2008 11:43 pm

Re: Problem with SitemapMgr

Post by (M) »

There is no problem with ../assets/sitemaps/sitemap-news.xml it shows al the news items.
When I use the module tag 'News' in a page there is a difference in what is generated.

{News summarytemplate='cms_template:Sitemap News'} gives;
.../news/82/-100/Werk-opgenomen-in-Nederlandse-Kunstkalender-2018.html 2017-11-09 weekly 0.6

.../assets/sitemaps/sitemap-news.xml gives;
<url>
<loc>
.../news/82/119/Werk-opgenomen-in-Nederlandse-Kunstkalender-2018.html
</loc>
<lastmod>2017-11-09</lastmod>
<changefreq>weekly</changefreq>
<priority>0.6</priority>
</url>

The first has '-100' and the second has '119'. 119 in the url is correct.

Other strange thing is that .../assets/sitemaps/sitemap-pages.xml give one result/page. But the are many more pages active.

Permissive Smarty is enabled in config.php
User avatar
Rolf
Dev Team Member
Dev Team Member
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Problem with SitemapMgr

Post by Rolf »

In the News module you need to set a default detail page in "News Settings". Or you can set it in the {News ...} smarty tag in the SitemapMgr module page.

Pages is probably related to the MLE module.
Try to create multiple sitemaps, for each language one.
And use start_level in the {Navigator ...} tag
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
(M)
Forum Members
Forum Members
Posts: 118
Joined: Tue Mar 18, 2008 11:43 pm

Re: Problem with SitemapMgr

Post by (M) »

Thanks again for your hints!

No default detail page was selected for news. When it was set up it works.

About the pages; the problem of not showing came because "Show in Menu:" was not active on the two pages 'nl' and 'en' in the page hierarchy. All pages under 'nl' and 'en' did have 'Show in Menu:' active, but were not shown in the sitemap.

By initially looking for the solution in the SitemapMgr templates, I have now made a nice sitemap page by means of copy templates.
Post Reply

Return to “Modules/Add-Ons”