We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21056
    • 327 Posts
    Thanks, I’ve added a comment.
      Author: ManagerManager plugin - customise your ModX manager interface

      Rckt - web development, Sheffield, UK
      • 27749
      • 53 Posts
      Hi,
      I’m having an issue using the tag widget. When used - the editing area and top save / delete etc. buttons dissappear. And the widget is not working properly = it shows a UL/LI list of used tags including the optional number of use, but there is no clickable link..
      I tried to update jquery, checked paths sad
      Does anyone has the same problem?
      THX
        • 21056
        • 327 Posts
        Quote from: smiley at Jul 22, 2008, 07:23 AM

        Hi,
        I’m having an issue using the tag widget. When used - the editing area and top save / delete etc. buttons dissappear. And the widget is not working properly = it shows a UL/LI list of used tags including the optional number of use, but there is no clickable link..
        I tried to update jquery, checked paths sad
        Does anyone has the same problem?
        THX
        Can you scroll down to the bottom of the page and see if there is an error message?
          Author: ManagerManager plugin - customise your ModX manager interface

          Rckt - web development, Sheffield, UK
          • 27749
          • 53 Posts

          Can you scroll down to the bottom of the page and see if there is an error message?

          Unfortunately there is no error message. And it does the same in FF nad MSIE (others not tested.. well).
            • 21056
            • 327 Posts
            It sounds like there is an error in your rules set which is causing an error. Sometimes you need to view source to see an error msg. Is there anything is your Modx system error report?
              Author: ManagerManager plugin - customise your ModX manager interface

              Rckt - web development, Sheffield, UK
              • 27749
              • 53 Posts
              I tried to view the code.
              In the javascript debug it says:
              TagCompleter is not defined
              line 878
              var docTags_tags = new TagCompleter("tvdocTags", "docTags_tagList", ",");

              So i tried to put the tags without a coma-space but only a coma and no change.
              Now tested in Opera with same results sad

              I don’t know - the TV is a text, it is assigned to the template, and the name of the template is in my mm_rules chunk (mm_widget_tags(’docTags’);) - maybe I am missing something?
                • 21056
                • 327 Posts
                In your browser, go to:

                (your site)/assets/plugins/managermanager/widgets/tags/tags.js

                Do you get the javascript code, or a 404 error?
                  Author: ManagerManager plugin - customise your ModX manager interface

                  Rckt - web development, Sheffield, UK
                  • 27749
                  • 53 Posts
                  Quote from: ncrossland at Jul 22, 2008, 10:27 AM

                  In your browser, go to:

                  (your site)/assets/plugins/managermanager/widgets/tags/tags.js

                  Do you get the javascript code, or a 404 error?

                  I get js code.
                    • 21056
                    • 327 Posts
                    Can you view the source of the frame of the manager page, to see whether that JS file is being included? That error indicates that the tag completer library isn’t being found.
                      Author: ManagerManager plugin - customise your ModX manager interface

                      Rckt - web development, Sheffield, UK
                      • 27749
                      • 53 Posts
                      When looking for tags.js in the source of the frame i find this:

                      ...
                      ...
                      //  -------------- Tag widget include ------------- 
                      $("head").append(' <script src="/assets/plugins/managermanager/widgets/tags/tags.js" type="text/javascript"></scr'+'ipt> '); 
                      $("head").append(' <link href="/assets/plugins/managermanager/widgets/tags/tags.css" rel="stylesheet" type="text/css" /> '); 
                        
                      				//  -------------- Tag widget for docTags --------------
                      				$("#tvdocTags").after('<ul class="mmTagList" id="docTags_tagList"><li title="Used 3 times">internet</li><li title="Used 3 times">kino</li><li title="Used 1 times">out of home</li><li title="Used 2 times">outdoor</li><li title="Used 1 times">print</li><li title="Used 2 times">radio</li><li title="Used 1 times">rádio</li><li title="Used 3 times">tisk</li></ul>');   
                      				var docTags_tags = new TagCompleter("tvdocTags", "docTags_tagList", ","); 
                      	
                      	
                      	// Misc tidying up
                      	
                      	// General tab table container is too narrow for receiving TVs -- make it a bit wider
                      	$("div#tabGeneral table").attr("width", "550");
                      	
                      	// if template variables containers are empty, remove their section
                      	if ($("div.tmplvars :input").length == 0) {
                      		$("div.tmplvars").hide();	// Still contains an empty table and some dividers
                      		$("#sectionTVsHeader").hide(); 
                      	}
                      	
                      	// Hide the loading mask
                      	$("#loadingmask").hide();
                      });
                      </script>
                      <!-- ManagerManager Plugin :: End -->
                      ...
                      ...

                      This discussion is closed to further replies. Keep calm and carry on.