XF 2.2 extending sitemap options

briansol

Well-known member
How does the XFMG attach the sitemap options on admin.php?options/groups/sitemap/ like this?

sitemap options.png
I can't find any code in the addon that does it.

I would like to add a checkbox for my custom addon which i've built out already by extending XF\Sitemap\AbstractHandler but does not seem to get included. I'm wondering if that last part is the missing piece to link it up to the main generation process.
 

briansol

Well-known member
Yup, i already have a content type listed pointing to my class extension.

I've been through XFMG\Sitemap for 2 days and cannot find anything including in the xml's that adds those options.
 

briansol

Well-known member
I just found my issue - i had a typo in my namespace on the extension file and my urls are included now and the option is listed.

But, it's not pretty. It's a_phrase_like_this instead of a Nice Phrase.
 
Top