Closed (fixed)
Project:
InsertNode
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Oct 2009 at 10:35 UTC
Updated:
25 Oct 2009 at 21:10 UTC
Be nice if taxonomy terms could be suppressed, in particular, they can look messy at the end of a teaser.
How about a "notax" parameter to hide any taxonomy terms (I know this can be done in CSS, but this would be easier!).
Perhaps this could be extended later, to suppress specific taxonomy terms, eg. notax:term1, term2, and/or an option to shown only specific terms.
Comments
Comment #1
AlexisWilke commentedHi Iantresman,
I put a fix in the CVS which should appear within 12h in the -dev version.
The name is "noterms" rather than "notax". Also, it has to appear BEFORE the "themed" parameter as in:
[node:1 noterms themed]
The "themed" is implied if not specified so not mentioning it will have the same effect.
Thank you.
Alexis Wilke
Comment #2
iantresman commentedWow, brilliant! Can't wait to try it out. Many thanks.
Comment #3
iantresman commentedUnfortunately I don't think the new -dev version is working as expected. Using: [node:147 teaser more], on upgrading to 6.x-1.x (Oct 10, 2009), I found that the teaser, terms and more link all disappeared, leaving an unformated title. Adding "noterm" made no difference.
Re-installing 6.x-1.1 restored the previous functionality.
Comment #4
AlexisWilke commentedIan,
I did a test on this page:
http://linux.m2osw.com/dkim_bad_signature
and it works great for me.
I have a [node:41 teaser more] and [node:41 noterms teaser more] and repeated [node:41 teaser more] to see whether the terms would show up again and they do.
You can see node 41 here:
http://linux.m2osw.com/node/41
So I'm not too sure what could be wrong on your install. This is just a filter so it should simply work (no update, no settings...)
Alexis
Comment #5
iantresman commentedThanks for taking a look, I'll have another try, and report back.
Comment #6
iantresman commentedOK, my fault, all works OK. I was getting the results above because (a) I had Link node installed and enabled which was showing the inserted node's title. (b) I hadn't enabled Insert node in the Input filters.
Thanks!
Comment #7
AlexisWilke commentedMarking fixed. 8-)