Hi Martijn,
Thanks for your answer. I tried to access the function from within the model of the holder but for whatever reason I don't receive any data. As I'm still a beginner with Silverstripe, I'm sure I'm doing something wrong.
I extended the Model and the Controller. Here is a very simply example of what I tried just to make sure that I'm able to receive information directly.
function class ArticleHolder extends Page {
function getTest() {
return "THIS IS A TEST";
}
}
class ArticleHolder_Controller extends Page_Controller {
function getTest() {
return "THIS IS A TEST";
}
}
In the View I entered:
$getTest
Actually this works very well with ArticlePage, but not with ArticleHolder.
Any idea?