I'm only a few days into using Umbraco, but already very impressed with how things are working out.
I eventually managed to get Blgo4Umbraco working, with multiple blogs configured on a single install.
The problem I now have is that the tags are shared across all of the blogs.
Has anyone worked how to to limit the tags to only the blogs where they are used? Or to implement the 'group' on the tags successfully?
Ideally, I'd like to customise the tag list to only show tags from a certain group - and automatically set this group when a new tag is added (based on a recursive node property perhaps?
Any help much appreciated.
My favourite packages so far:
Blog4Umbraco (if the install was more obvious for 4.5 and the project better maintained!) DisableDelete AttackMonkey_Tab_Hider TagManager
Haven't really found anything very good for basic contact forms as yet (ideally wanted something to post back via ajax and email the resulting name/email/comments to an email address based on another recursive node property -- anyone seen anything like that?).
Any other must have package recommendations would be well received - I've got a few to look into on sitemaps and related pages.
For anyone who's interested in doing this (and willing to get stuck into recompiling the core Umbraco code base), you should add the following code snippets to the onInit method of the umbraco.editorControls.tags.DataEditor.cs script file:
PS. I should also add that you can then modify the BlogCategories XSLT script to pull the newly limited list of tags (which then allows you to have lists of tags per blog, rather than one global one):
I'm not setup to get involved in version controlled changes, so haven't submitted anything to the core. You are more than welcome to take my code above and use it as you wish though!
Linking Tag Group to a Node Property?
Hi all,
I'm only a few days into using Umbraco, but already very impressed with how things are working out.
I eventually managed to get Blgo4Umbraco working, with multiple blogs configured on a single install.
The problem I now have is that the tags are shared across all of the blogs.
Has anyone worked how to to limit the tags to only the blogs where they are used? Or to implement the 'group' on the tags successfully?
Ideally, I'd like to customise the tag list to only show tags from a certain group - and automatically set this group when a new tag is added (based on a recursive node property perhaps?
Any help much appreciated.
My favourite packages so far:
Blog4Umbraco (if the install was more obvious for 4.5 and the project better maintained!)
DisableDelete
AttackMonkey_Tab_Hider
TagManager
Haven't really found anything very good for basic contact forms as yet (ideally wanted something to post back via ajax and email the resulting name/email/comments to an email address based on another recursive node property -- anyone seen anything like that?).
Any other must have package recommendations would be well received - I've got a few to look into on sitemaps and related pages.
Thanks!
Martin
For anyone who's interested in doing this (and willing to get stuck into recompiling the core Umbraco code base), you should add the following code snippets to the onInit method of the umbraco.editorControls.tags.DataEditor.cs script file:
Just above the line:
And then add the getRecursiveProperty method to the umbraco.cms.businesslogic.Content class:
PS. I should also add that you can then modify the BlogCategories XSLT script to pull the newly limited list of tags (which then allows you to have lists of tags per blog, rather than one global one):
Add the variable declaration:
<xsl:variable name="tagGroup" select="$currentPage/ancestor-or-self::*/customTagGroup"/>
Then modify the tag selection from:
<xsl:for-each select="tagsLib:getAllTagsInGroup('default')/tags/tag">
to:
<xsl:for-each select="tagsLib:getAllTagsInGroup($tagGroup)/tags/tag">
(The "customTagGroup" being a document type property name and also the tag group setting on the tags data type, e.g. "$customTagGroup").
Been thinking on exactly how to do this - perfect. I'll add this to the workitems for B4U. Have you submitted it as a patch to the Umbraco core?
Best,
Benjamin :-)
Hi Benjamin,
I'm not setup to get involved in version controlled changes, so haven't submitted anything to the core. You are more than welcome to take my code above and use it as you wish though!
Kind regards,
Martin
is working on a reply...