View more context

 

vanny

now just to give it a label 🙂

🏷️ (1)
vanny

hmmm, I can only get it to put in the left handle column $fields->addFieldToTab('Root.Main',LiteralField::create('View','<a target="_blank" href="' . $this->AbsoluteLink() .'">' . $this->AbsoluteLink() . '</a>'),'Name');

dorsetdigital

(and use the snippet @wmk posted to avoid the content being escaped)

dorsetdigital

What did you do in the end? It might help someone in the future

vanny

I looked at the source and added a <div><label>View on Site</label>

vanny

I put the HTML in the literal field that CMS normally outpits