<![CDATA[ Support/Comments for SmartTag 1.0.0-beta1 - My Forums]]> https://forums.modx.com/thread/?thread=89845 <![CDATA[Re: Support/Comments for SmartTag 1.0.0-beta1]]> https://forums.modx.com/thread/89845/support-comments-for-smarttag-1-0-0-beta1?page=3#dis-post-529848 What are you snippet calls on both templates?]]> goldsky Aug 11, 2015, 05:35 AM https://forums.modx.com/thread/89845/support-comments-for-smarttag-1-0-0-beta1?page=3#dis-post-529848 <![CDATA[Re: Support/Comments for SmartTag 1.0.0-beta1]]> https://forums.modx.com/thread/89845/support-comments-for-smarttag-1-0-0-beta1?page=2#dis-post-529695 Quote from: 9thwave at Aug 08, 2015, 07:59 PM
Quote from: ianman at Aug 07, 2015, 10:42 PM
9th wave just sent a PM let me know if you have not received it
Thank you yes I received it. Looks like you never got the tags to work?
Once (if) I find a way to get tags working, I promise to write up a full step-by-step tutorial.

It was so long ago I cant remember quiet how far i got sorry it was not of any use but good luck getting it working.

All the best

Ian]]>
ianman Aug 08, 2015, 03:48 PM https://forums.modx.com/thread/89845/support-comments-for-smarttag-1-0-0-beta1?page=2#dis-post-529695
<![CDATA[Re: Support/Comments for SmartTag 1.0.0-beta1]]> https://forums.modx.com/thread/89845/support-comments-for-smarttag-1-0-0-beta1?page=2#dis-post-529694 Quote from: ianman at Aug 07, 2015, 10:42 PM
9th wave just sent a PM let me know if you have not received it
Thank you yes I received it. Looks like you never got the tags to work?
Once (if) I find a way to get tags working, I promise to write up a full step-by-step tutorial.]]>
9thwave Aug 08, 2015, 02:59 PM https://forums.modx.com/thread/89845/support-comments-for-smarttag-1-0-0-beta1?page=2#dis-post-529694
<![CDATA[Re: Support/Comments for SmartTag 1.0.0-beta1]]> https://forums.modx.com/thread/89845/support-comments-for-smarttag-1-0-0-beta1?page=2#dis-post-529673 ianman Aug 07, 2015, 05:42 PM https://forums.modx.com/thread/89845/support-comments-for-smarttag-1-0-0-beta1?page=2#dis-post-529673 <![CDATA[Re: Support/Comments for SmartTag 1.0.0-beta1]]> https://forums.modx.com/thread/89845/support-comments-for-smarttag-1-0-0-beta1?page=2#dis-post-529664 I can't get either Tagger or smartTag working with Collections which i'm using for news/blog posts.

I have 2 templates - one for the container and one for the individual posts. I would like to have tags display in a sidebar and with each post - which i can do with both the Tagger extra and smartTag.
What i can't get working is the links to display the relevant posts:-/

Any help appreciated.
Thanks
J]]>
9thwave Aug 07, 2015, 04:09 PM https://forums.modx.com/thread/89845/support-comments-for-smarttag-1-0-0-beta1?page=2#dis-post-529664
<![CDATA[Re: Support/Comments for SmartTag 1.0.0-beta1]]> https://forums.modx.com/thread/89845/support-comments-for-smarttag-1-0-0-beta1?page=2#dis-post-518237
all the best

Ian]]>
panfire Jan 10, 2015, 01:33 PM https://forums.modx.com/thread/89845/support-comments-for-smarttag-1-0-0-beta1?page=2#dis-post-518237
<![CDATA[Re: Support/Comments for SmartTag 1.0.0-beta1]]> https://forums.modx.com/thread/89845/support-comments-for-smarttag-1-0-0-beta1?page=2#dis-post-518233 hybrid of TV filtering + getPage + getResources.
So you can use getPage's & getResource's properties.

TV Filtering itself is not documented well in rtfm, but you can use this &tagSearchType

  • exact (== $tag <default>)
  • contains (== %$tag%)
  • beginswith (==%$tag)
  • endswith (== $tag%)
  • within ((IN) $tag <case-insensitive>)

You might have those resources hidden, so try this:
[[!getResourcesTag?
&parents=`36`
&tagKey=`smartTag`
&toPlaceholder=`results`
&tpl=`smartTagResults`
&tagSearchType=`contains`
&showHidden=`1`
]]

<h2>Search Results</h2>
  
<ul>
[[+results]]
</ul>
]]>
goldsky Jan 10, 2015, 10:45 AM https://forums.modx.com/thread/89845/support-comments-for-smarttag-1-0-0-beta1?page=2#dis-post-518233
<![CDATA[Re: Support/Comments for SmartTag 1.0.0-beta1]]> https://forums.modx.com/thread/89845/support-comments-for-smarttag-1-0-0-beta1?page=2#dis-post-518205
[[!smarttagTags?
    &parentIds=`36`
    &includeHiddenDocs=`1`
    &tplWrapper=`smarttagtags.wrapper`
    &tplItem=`smartTag1`
    &tvNames=`smartTag`
]]

Which outputs this
http://somesite.co.uk/tagoutput.html?tag=results


But when the links are clicked they just reload the page so I thought I would use that TV and put it into taglister but like this
[[!getResourcesTag? &parents=`36` &tagKey=`smartTag` &toPlaceholder=`results` &tpl=`smartTagResults`]]
 
<h2>Search Results</h2>
 
<ul>
[[!+results]]
</ul>

Chunk smartTagResults
<li>
<a href="[[~[[+id]]]]">[[+pagetitle]]</a>
</li>

But that outputs nothing

Am I getting close and once again thanks for the help much appreciated

Ian]]>
panfire Jan 09, 2015, 06:59 PM https://forums.modx.com/thread/89845/support-comments-for-smarttag-1-0-0-beta1?page=2#dis-post-518205
<![CDATA[Re: Support/Comments for SmartTag 1.0.0-beta1]]> https://forums.modx.com/thread/89845/support-comments-for-smarttag-1-0-0-beta1?page=2#dis-post-518120 Outputting the raw TV [[*smartTag]] does.]]> goldsky Jan 08, 2015, 12:07 PM https://forums.modx.com/thread/89845/support-comments-for-smarttag-1-0-0-beta1?page=2#dis-post-518120 <![CDATA[Re: Support/Comments for SmartTag 1.0.0-beta1]]> https://forums.modx.com/thread/89845/support-comments-for-smarttag-1-0-0-beta1?page=2#dis-post-518119 Try to use tagLister instead.

Sorry for being stupid, try this:
[[!smarttagTags?
    &parentIds=`[[*id]]`
    &includeHiddenDocs=`1`
    &tplWrapper=`@code:[[+smarttag.tags]]`
    &tplItem=`@code:<li><a href="[[~139? &tag=`[[+smarttag.tag]]` &scheme=`full`]]">[[+smarttag.tag]]</a> ([[+smarttag.count]])</li>`
    &tvNames=`_your_TV_name_here_`
]]

]]>
goldsky Jan 08, 2015, 11:47 AM https://forums.modx.com/thread/89845/support-comments-for-smarttag-1-0-0-beta1?page=2#dis-post-518119