Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Simon steed 356 posts 664 karma points
    Jul 15, 2012 @ 16:58
    Simon steed
    0

    Generating tags but not saving them

    Love this concept and trying to introduce on my site but although the tags are generated, when I save or publish the tags are not saved with the document

    I'm using 4.7.2 - any ideas why this would be?

    Si

  • elspiko 133 posts 302 karma points
    Jul 15, 2012 @ 21:08
    elspiko
    0

    Hi Simon,

    I'm glad you like the package, or the idea of it at least :). Given the information it sounds like that although the tags are being generated, none of them are being selected; which is why they aren't persisting upon save. There are two methods of selecting tags, the first is by right-clicking on them whereby they will turn a dark green. The second is a configuration property which will automatically select the tags by default when they're generated. I can't remember the name of the property off hand but the property names are fairly verbose so you should be able to figure it out.

    Hopefully this will help you out, if not I'll be happy to help you futher

    Rich

  • Simon steed 356 posts 664 karma points
    Jul 15, 2012 @ 21:36
    Simon steed
    0

    Hi Rich

    Thanks for coming back to me. I've right clicked and they do turn green but nothing is saved when I save or publish. Also tried setting the auto properties to true but still the same result

    autotags.config has the following settings although TagGroup confuses me, whats this used for?

    <?xml version="1.0" encoding="utf-16"?>
    <Config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <GenerateTagsAutomatically>true</GenerateTagsAutomatically>
      <SelectTagsAutomatically>true</SelectTagsAutomatically>
      <AllowManualTags>true</AllowManualTags>
      <AllowTagSuggestion>true</AllowTagSuggestion>
      <ShowHelp>true</ShowHelp>
      <TagGroup>simonantony</TagGroup>
      <OpenCalaisApiKey />
      <ProxyUsername />
      <ProxyPassword />
      <ProxyDomain />
      <Provider>GrailTechnology.AutoTags.Providers.TagTheNetService, GrailTechnology.AutoTags.Providers</Provider>
      <PropertyAliasesToUse />
      <PropertyAliasesToExclude />
    </Config>

  • Simon steed 356 posts 664 karma points
    Jul 15, 2012 @ 21:49
    Simon steed
    0

    btw am I correct in assuming the tags should be stored within the documents node? i.e. my property is called autoTags so I assume they should be within <autoTags></autoTags>?

    Thanks

    Si

  • elspiko 133 posts 302 karma points
    Jul 16, 2012 @ 10:24
    elspiko
    0

    Hi Simon,

    Hopefully I'll be take a look at this tonight. I didn't have a laptop with me last night so couldn't download the relevant versions.

    The tag group element is a fallback to umbraco's default tag data type whereby you can categorise the tags that appear for a particular property. e.g. you could have a "keywords" datatype with a group of "keywords" and a datatype for blog tags with a group of "tags", so that when you use the auto complete feature (of the default data type) you would only retrieve tags within the relevant group. Hope that clears it up.

    As for where the tags are stored they should indeed be stored into your "autoTags" property and will be comma seperated. The tags are also stored into the database in the standard umbraco tag table to allow you to lookup related documents. You can use the umbraco library extensions to retrieve these.

    Will get back to you about your issue tonight or tomorrow morning.

    Regards

    Richard

  • Simon steed 356 posts 664 karma points
    Jul 16, 2012 @ 16:24
    Simon steed
    0

    Thanks - that makes sense now, still not saving though which is strange. Nothing is appearing in the tags table either and nothing is shown in the logs so stumped

    Si

  • elspiko 133 posts 302 karma points
    Jul 16, 2012 @ 21:49
    elspiko
    0

    Hi Simon,

    So I've downloaded a fresh version of 472 and installed package from the repository and used your configuration and everything works fine which is nice and helpful :).

    Given the previous issues I've had, can you provide a list of the other datatypes used in the document(s) where this datatype is used.

    Also, browser and database versions would be good, just to rule things out and try help replicate this behaviour.

  • Simon steed 356 posts 664 karma points
    Jul 16, 2012 @ 21:58
    Simon steed
    0

    Haa haa just my luck eh. Sure, heres the list:

    Textbox Multiple

    Date Picker

    RTF Editor

    Textstring

    OpenCalaisAutoTag

    True/False

    DB is SQL Server 2008 R2 (web edition). Browsers are Chrome on Windows and Mac - could always give you a login to the staging site if that helps?

    Si

  • elspiko 133 posts 302 karma points
    Jul 16, 2012 @ 22:30
    elspiko
    0

    Thats annoyingly standard. I've tried in Chrome and thats fine too.

    Email the credentials to elspiko dot esq at google mail dot com and I'll see if theres anything thata jumps out 

  • Simon steed 356 posts 664 karma points
    Jul 17, 2012 @ 13:43
    Simon steed
    0

    Which areas do you need access to? content, settings?

  • Simon steed 356 posts 664 karma points
    Jul 24, 2012 @ 18:04
    Simon steed
    0

    Update to my thread - bizzarely it's now working, tags are being saved and appear within the db! Wierd!

Please Sign in or register to post replies

Write your reply to:

Draft