Hi,
-I’m new to this-
I am trying to get a blog going on my website new.beenobby.com using pdoTools.
My page shows some code instead of my resources.
Any idea what I’m doing wrong?
my pdo code:
[[pdoResources?
&parents=‘46’
&levels=‘0’
&tpl='@INLINE
{{+id}} - {{+pagetitle}}
`
]]
Thanks in advance and keep safe,
Jarne
Your TPL is not working. Try a chunk instead of INLINE.
antar
3
Hi,
It’s almost always about wrong/empty &tpl parameter. Try these variants:
- more compact row(be aware your Fenom parser is enabled)
&tpl="@INLINE {{$id}} - {{$pagetitle}}"
- use chuck instead
&tpl=“some_chunk_here”
Thank you for your response!
I changed it to this:
[[pdoResources?
&parents=‘46’
&tpl=‘blog’
]]
My chunk looks like this:
[[+pagetitle]]
[[+introtext]]
but same result
Seems, you don’t use backtics, but single quotes
2 Likes
Indeed, that was the problem.
Thank you, Bruno!