Results 1 to 4 of 4

Thread: Skype name addon...

  1. #1
    Join Date
    Apr 2005
    Posts
    81

    Default Skype name addon...

    This my second swing at an addon that doesn't work right... I thought maybe this time somene could take a look at it and tell me what might be wrong...


    basically what it's supposed to do is if the agent field called "skypename" is not populated, it wil print nothing; but if the agent field is populated, it will show the skype call me buttons. thats about it...
    Attached Files Attached Files

  2. #2
    Join Date
    May 2004
    Location
    Long Island, NY
    Age
    49
    Posts
    9,796

    Default Re: Skype name addon...

    The problem is you're trying to use a template tag inside the addon. This will not work as template tags are only replaced when they are displayed on the page. You need to add a query to pull the value from the db to check if it exists and if it does, use that value for the skype code.

  3. #3
    Join Date
    Apr 2005
    Posts
    81

    Default Re: Skype name addon...

    This is why a universal tag permision is important. i could just been able do a {check_agent_fieldname} and inject the code after that.

    It would be a nice feature though...

  4. #4
    Join Date
    May 2004
    Location
    Long Island, NY
    Age
    49
    Posts
    9,796

    Default Re: Skype name addon...

    It would be a nice feature though...
    That is why there is a feature request area.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •