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, Ed, biapar, Willr, Ingo, swaiba

Blog: Moving content to new tab removes Date, Author and Tags

Go to End

2 Posts   1155 Views


Community Member, 197 Posts

28 July 2010 at 11:37am

This code moves "Content" to a new tab but it also removes the Date, Author and Tags.

			$fields->addFieldToTab("Root.Content.Zzz", new TextareaField("Content", _t("BlogEntry.CN", "Content"), 20));

QL Marketing

Community Member, 2 Posts

9 August 2010 at 12:39pm

This seems to work for me:

$fields->addFieldToTab('Root.Content.Zzz', $fields->datafieldByName('Content'));