Jump to content

Blog not visible in Site Map


Recommended Posts

Hi,  I am using SmartBlog from SmartDraftSoft but it is not visible in Google site map and then useless.

Does anybody have experience with this module or possibly any other Blog module you could advise to avoid this problem?

Link to comment
Share on other sites

You have to attach it to new hook (e.g. SmartBlogSitemap) in main smartblog.php
then in the same file make a function public static function hookSmartBlogSitemap
where you will return the content of your blog into the sitemap
last you add {h='SmartBlogSitemap' mod='smartblog'} into sitemap.tpl

And you are done!

If you feel that it helped you rate me with a like (it helps me a lot) on this post

  • Like 2
  • Confused 1
Link to comment
Share on other sites

  • 1 year later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...