I have:
$fields->addFieldToTab('Root.Text1', new HtmlEditorField('Text1', 'Write the text here:'));
In the cms on the tab there will be the text: "Text1".
How can I get a png image before that text? A kind of icon.
Kim
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hi Kim K,
You want to be able to upload a png image for use in the template?
-helenclarko
No. But if I have multiple tabs in the admin area, then I can have a text on each tab, but I also want an small image there, like an icon.
Kim