Hey Hey SilverStrippers,
We've been working on extending newsletter.php so we can add an image, link and one other textfield to the newsletter.
We've successfully extended the $db array and likewise with the CMS fields, the problem is - when we call them from our template - they don't show.
I'll just use the image as an example:
Newsletter.php line 23
static $has_one = array(
"Parent" => "NewsletterType",
"NewsletterImage" => "Image"
);
Newsletter.ss
<div id="Newsletter">
$Body
$NewsletterImage
</div>
Is there something extra we need to do? ... Do we need to apply some code to "class Newsletter_Email extends Email " at the bottom of Newsletter.php?
KThxBye