I also have my problems with the tutorials. Perhaps someone can help me.
I try to explain my problems:
1. I create my "BlogPostTemplate" Template.
<html>
[[$pageHeader]]
<body>
<div id="container">
<!-- begin of header -->
[[$Banner]]
<!-- end of header -->
<div id="container_content">
<div id="logo"><a href="index.php"><img src="../assets/img/logo.png" /></a></div>
[[$pageNavigation]]
</div>
<!-- begin of content -->
<div id="content" class="blog-post">
<h2 class="title"><a href="[[~[[*id]]]]">[[*pagetitle]]</a></h2>
<p class="post-info">
Posted on [[*publishedon:strtotime:date=`%b %d, %Y`]] |
Tags: [[*tags:notempty=`[[!tolinks? &items=`[[*tags]]` &key=`tag` &target=`27`]]`]] |
<a href="[[~[[*id]]]]#comments" class="comments">
Comments ([[!QuipCount? &thread=`blog-post-[[*id]]`]])
</a>
</p>
<div class="entry">
<p>[[*introtext]]</p>
<hr />
[[*content]]
</div>
<div class="postmeta">
[[*tags:notempty=`
<span class="tags">Tags: [[!tolinks? &items=`[[*tags]]` &key=`tag` &target=`27`]]</span>
`]]
<br class="clear" />
</div>
<hr />
<div class="post-comments" id="comments">[[!Quip?
&thread=`blog-post-[[*id]]`
&replyResourceId=`123`
&closeAfter=`30`
]]
<br /><br />
[[!QuipReply?
&thread=`blog-post-[[*id]]`
¬ifyEmails=`[email protected]`
&moderate=`1`
&moderatorGroup=`Moderators`
&closeAfter=`30`
]]
</div>
</div>
<!-- end of content -->
<div id="kamp_link"><img src="../assets/img/meinung.png" /></div>
</div>
<div id="bottom">
<div id="container_bottom">[[$shareforfoodfooter]]</div>
</div>
</div>
</body>
</html
after that i did my templateVaribale for Taging.
2. I create my "tags" TV and give Access for the Template "BlogPostTemplate and my Std. Template".
So I create only one Section Name "blogAll".
3. Creating my Section "blogAll" ID 26. I put it als container and choose my Std. Template.
[[!getResourcesTag? &element=`getResources` &elementClass=`modSnippet` &tpl=`blogPost` &hideContainers=`1` &pageVarKey=`page` &parents=`[[*id]]` &includeTVs=`1` &includeContent=`1`]][[!+page.nav:notempty=`<div class="paging"> <ul class="pageList"> [[!+page.nav]] </ul> </div>`]]
4. I made 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=`27`]]
</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>
5. I creat my Home Blog Site. It is document of a parent(ID5) and i called as Blog(ID27) i use my std. template and i put the following code in the resource content:
[!getResourcesTag? &elementClass=`modSnippet` &element=`getResources` &tpl=`blogPost` &parents=`26` &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 tred to do my first Blog.
6. I made a new document as a parent from blogAll (26) with the name First Blog (28) choose the Template "BlogPostTemplate" and in the TV i put some Tags.
Now, when i click on the Blog (ID27) there is coming only the code of the content Blog 27.
I think the connection from Blog ID27 to the Post ID28 is not working.
Have someone any idee?
all the best
Carol