Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Blog Module

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Cannot remove Google Sitemap Field from Blog


4 Posts   1609 Views


28 July 2010 at 11:09am Community Member, 197 Posts

I cannot remove the Google Sitemap field from blog pages. I can remove other fields but the Google Sitemap field will not go away.

$fields->removeFieldFromTab('Root.Content.GoogleSitemap', 'Priority');
$fields->removeFieldFromTab('Root.Content', 'GoogleSitemap');

Can anybody else make it go away?


28 July 2010 at 12:37pm (Last edited: 28 July 2010 12:39pm), Community Member, 243 Posts

I use:


to remove the tab completely.

Edit: I know you said this didn't work, but that is what i use in my Page.php getCMSFields() to remove the tab. Maybe try again?


28 July 2010 at 12:55pm Community Member, 197 Posts

Thanks for your reply. I tried that exact code in both Page.php and BlogEntry.php and while I can successfully remove all other fields and tabs, the Google Sitemap Field does not go away.

Terry Apodaca

27 January 2011 at 2:05pm Community Member, 109 Posts

Try this: