eladnova Reply #1, 4 months, 3 weeks ago
Hi
Can anyone do a sanity check on my tags problem?
I'm trying to get Tags to work on some blog posts and while my Tags show up on my blog articles, they keep returning my default error page.
My blog homepage is resource ID 14 and I have specified that in my blogPost chunk
My actual getResources call on my blog pages is as follows
I also have some Tags listed on the right hand side of my page but they're returning page-not-found too.
The only thing I can think of to mention here is that
1. I did have te blog working using the Articles extra but switched back to manual build a la this tutorial
http://rtfm.modx.com/display/revolution20/Creating+a+Blog+in+MODx+Revolution
2. The website is running on a Zeus web server and I had to tweak the friendly URLs script to work.
Thanks and happy new year
Can anyone do a sanity check on my tags problem?
I'm trying to get Tags to work on some blog posts and while my Tags show up on my blog articles, they keep returning my default error page.
My blog homepage is resource ID 14 and I have specified that in my blogPost chunk
<div class="post">
<h2 class="title"><a href="[[~[[+id]]]]">[[+pagetitle]]</a></h2>
<p class="post-info">Posted by [[+createdby:userinfo=`fullname`]]
[[+tv.tags:notempty=` | <span class="tags">Tags:
[[!tolinks? &items=`[[+tv.tags]]` &key=`tag` &target=`14`]]
</span>`]]</p>
<div class="entry">
<p>[[+introtext]]</p>
</div>
<p class="postmeta">
<span class="links">
<a href="[[~[[+id]]]]" class="readmore">Read more</a>
| <a href="[[~[[+id]]]]#comments" class="comments">
Comments ([[!QuipCount? &thread=`blog-post-[[+id]]`]])
</a>
| <span class="date">[[+publishedon:strtotime:date=`%b %d, %Y`]]</span>
</span>
</p>
</div>
My actual getResources call on my blog pages is as follows
[[!getResourcesTag? &elementClass=`modSnippet` &element=`getResources` &tpl=`blogPost` &parents=`57` &limit=`1000` &includeContent=`1` &includeTVs=`1` &showHidden=`1` &hideContainers=`1` &cache=`0` &pageVarKey=`page` &tagKey=`tags` ]]
[[!+page.nav:notempty=`
[[!+page.nav]]
`]]
I also have some Tags listed on the right hand side of my page but they're returning page-not-found too.
<div class="sidemenu"> <h3>Tags</h3> <ul> [[!tagLister? &tv=`tags` &target=`14`]] </ul> </div>
The only thing I can think of to mention here is that
1. I did have te blog working using the Articles extra but switched back to manual build a la this tutorial
http://rtfm.modx.com/display/revolution20/Creating+a+Blog+in+MODx+Revolution
2. The website is running on a Zeus web server and I had to tweak the friendly URLs script to work.
Thanks and happy new year