Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

  • 0
DaoKakao

Sitemap module bug

Question

The problem with module for sitemap creating and bees blog module.

Sitemap module recognizes beesblog installed, i.e. on the settings page appears a checkbox for beesblog posts/categories include/exclude, but it won't generate real sitemap - there's no any entry related to bees blog in the generated xml.

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Isn't this just the normal controller checkbox? This happens with all module controllers... I wish there would be a possibility to hook into the sitemap module, but I believe that's not possible right now.

Share this post


Link to post
Share on other sites
  • 0

It is. Why this controller nor fired during sitemap creation? This issue was opened on the github some time ago and even marked as solved, but this is not true.

  • Like 1

Share this post


Link to post
Share on other sites
  • 0

Unfortunately it wasn't fixed properly. Although beesblog implements hook GSitemapAppendUrls, it does not register it inside its install method. I'll fix this for the next version of this module.

Meanwhile, if you are in hurry, you can edit beesblog.php file, find method getContent, and add this line inside it:

$this->registerHook('GSitemapAppendUrls');

Then save, and open beesblog configuration page. That will register the hook. Now you can delete the line again -- module has been successfully paired with sitemap

  • Like 2

Share this post


Link to post
Share on other sites
  • 0

Just wondering if this error is already fixed? I'm using beesblog too (started yesterday) and I noticed that the post url's don't make it to the sitemap file yet?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×