Jump to content
thirty bees forum

Question

Posted

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.

5 answers to this question

Recommended Posts

  • 0
Posted

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.

  • 0
Posted

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
  • 0
Posted

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
  • 0
Posted

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?

  • 0
Posted

Five years later and I can confirm that this works. Probably already for a long time. But now this thread has a conclusion 🙂

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
×
×
  • Create New...