Hello, I know there are several threads about problems with setting up a blog following:
http://rtfm.modx.com/display/revolution20/Creating+a+Blog+in+MODx+Revolution
I've been trying to troubleshoot my problem for the past 5 hours without much luck so I thought I would post here.
My issue is basically with getting results on the homepage to show up.
<p>Some Posts bellow</p>
[[!getResourcesTag?
&elementClass=`modSnippet`
&element=`getResources`
&tpl=`blogPost`
&parents=`17`
&limit=`5`
&includeContent=`1`
&includeTVs=`1`
&showHidden=`0`
&hideContainers=`1`
&cache=`0`
&pageVarKey=`page`
]]
[[!+page.nav:notempty=`
<div class="paging">
<ul class="pageList">
[[!+page.nav]]
</ul>
</div>
`]]
I have no errors in the log, this call retuns empty results, even if using &debug option.
Now if I simply change from getResourcesTag to getResources then it seems to work. Not sure if it will do all it is intended to in terms of tag filtering and so on but it does display my document as I would expect.
I am just not sure why the way it is suggested in the tutorial, using getResourcesTag, does not seem to work. It just gives me a blank output.
I've gone through the checklist for everything I can think off.
- I'm not using rich text
- I have my templates setup (using the basic template for testing purposes).
- My blog post is not hidden and it is published
- My categories are not hidden and are published (though I am only making the call for the one category with the sample blog post)
- I have cleared the cache, same results.
- There is no error in the log
- I have uninstalled and reinstalled getResources
I know as usually I will probably wake up tomorrow and see the error on my face, I know we all been there before, I just don't seem to figure this one out and considering I'm very new to revo (but been using evo for many many years) it feels a bit challenging.
I appreciate any direction.
Jose R. Lopez