We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36926
    • 701 Posts
    When creating a hyperlink the anchor listing isn’t populating the list of resources.

    I’ve moved the install from a directory to the root of the domain but not sure if this was actually working before.

    Any ideas?

    Thanks

    Ben

      • 26016
      • 561 Posts
      Hi,
      Interesting, I’ve never tried using this before. I just got it to work fine in Evo.

      I also got it to work in Revo, which is a non-Tiny editor.

      I wonder if you need to save the document containing the anchor link first, and then re-open the document to link to it from the list. That’s what I did anyway.

      The only other anchor-link-related problem I can recall is that sometimes there are issues related to having a Base Href in your template, and thus in your page.

      Good luck, D
        MODx and Wordpress development
        Linux, PHP 5.2, MySQL 5.0, Evo 1.05, Revo 2.08-pl, Firefox 4
        • 36926
        • 701 Posts
        @samba, how do you normally link to internal pages if you’d not used these anchors before?

        It’s strange, I’ve never had any issues with it before. Normally woks fine.

        I’ve tried with and without the base URL but still no joy sad

        Was trying to see if I could work out where it generates this list from but can?
          • 26016
          • 561 Posts
          You’re right, that is very peculiar. It just tends to work.

          I wonder if there’s some kind of funny cache issue going on, maybe turn off that page’s cacheing, or clear your site cache? That’s probably bunk, I’m grasping now. Maybe someone else might think of something. Might need to describe your system particulars. For instance, if someone’s on a Windows server, I know enough never to try to answer the question.

          I have used anchors in HTML before, just never with MODx. It’s a usability preference, too - if a page is long enough to need those, to me it’s generally too long, and should be broken out into other pages. Just my opinion, and I agree with some exceptions, like big legalese pages that are nasty to read and find anything.

          I have had clients who insist on mega long pages - their technical specs minutiae being very, very precious to them even if, of course, no one would ever read it. I figure, hey, I warned them. smiley Engineers and physicians just love to do this, it’s so funny.
            MODx and Wordpress development
            Linux, PHP 5.2, MySQL 5.0, Evo 1.05, Revo 2.08-pl, Firefox 4
            • 36926
            • 701 Posts
            Sorry Samba I’ve confused this slightly, I was thinking it’s the anchor link that’s not generating but it’s actually the link list option that’s actually not even appearing, which is why i was assuming it was the anchor list as that was now in the position the link list should be. I was wondering why they were called anchors just thought it was named in correctly.

            Any how managed solve this after reading the post here:
            http://modxcms.com/forums/index.php/topic,50754.0.html

            It made me look at my tinymce.linklist.php file and for some reason it didn’t actually have any code in it, so i copied the code off a recent install and it’s now working fine.

            Thanks for help, it was only when you started talking about long pages (by the way the points you mention i agree with) that it clicked that the anchor list was actually correctly named and was used for anchors and the field i thought i was looking at had disappeared.

            Cheers

            Ben
              • 26016
              • 561 Posts
              Ben,
              Glad to hear that it’s cleared up. And it was useful to me to test them in Revo.

              The missing code problem - one that one doesn’t think of readily, but happens now and then. smiley

              Cheers, Dave
                MODx and Wordpress development
                Linux, PHP 5.2, MySQL 5.0, Evo 1.05, Revo 2.08-pl, Firefox 4