HI Geekdenz,
Which ones do you want me to paste into sspaste website? ArtcleHolder.php or ArticleHolder.ss?
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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 Geekdenz,
Which ones do you want me to paste into sspaste website? ArtcleHolder.php or ArticleHolder.ss?
Both (the relevant ones).
Here is:
http://www.sspaste.com/paste/show/53e09fdceb53b
http://www.sspaste.com/paste/show/53e0a02c3c633
Do let me know if you need ArticlePage.php and .ss.
Did you make sure you added some data in the backend?
Also, please just copy/paste all involved files into one sspaste and have their file names in a comment above the relevant code.
Ok, i've copied and pasted all the codes into one place:
http://www.sspaste.com/paste/show/53e0a29e7761b
Yes i have some data at the back end, as you can see on the homepage on the Updates column:
http://www.teachsign.org.nz/
Can you try a couple of things:
Can you remove the $ from Children as in
<% loop Children %>
And if that doesn't work
$Content
instead of
$Content.FirstParagraph
and/or
$Content.FirstParagraph()
instead of
$Content.FirstParagraph
Are you absolutely sure that the articles are child pages of the Holder page? They would be in the tree in the CMS.
Weird. It looks like you're doing exactly as in the tutorial. Try http://www.teachsign.org.nz/about-teachsign/updates?flush=1
Which version of SS are you using?