I'm lost.. struggling for 9 hours straight....
This is an open discussion with 2 replies, filed under Troubleshooting.
Search
Your datasource is called news-articles
but the nieuws.xsl
is looking for news/entry
.
Likewise in the get-news-articles.xsl
template. It needs to be changed to match the name of the datasource.
To get a better idea at what XML is being return on pages, add ?debug
to the url. You should see that your actually getting:
<news-articles> <section>etc</section> <entry> <etc> </entry> </news-articles>
omg that was stupid. thank you.
i asked something later, but edit: i got it ;) filters to filter on the {$entry} so it displays only one ;)
Create an account or sign in to comment.
I have no idea what is going on here, but it really pisses me off.
I tried to add code but the editor on this site html_encode it….
It simply just wont work. I even copy and pasted from drafts page, and get-drafts and kicked out all the fields that i didnt need. Whats going wrong here? Anyone an idea?