We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25663 MODX Staff
    • 12,272 Posts
    Kyle, sounds like an add-on version to me. I do like the idea of a different class for internal weblinks vs. external weblinks though. smiley
      Ryan Thrash, MODX Co-Founder
      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
      • 15987
      • 786 Posts
      Ryan,
      in the latest version in svn I have added a class for weblinks, are you saying I should have it determine if the weblink leaves the site or not and then set the class?
        • 25663 MODX Staff
        • 12,272 Posts
        That was the thought Kyle.
          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
          • 15987
          • 786 Posts
          That is an interesting thought wink

          I will look and see about adding that in, shouldn’t be to hard. I think I will just need to check if the link is like [~34~] and if not then apply the class.
            • 22815
            • 1,097 Posts
            By "like", are you basically checking to see if it’s the same domain?

            I can envisage a site having weblinks to samedomain.co.uk/shop - which might be a non-MODx ecommerce thing on the same server, and weblinks to internationalsite.com. Most users wouldn’t consider going to the shop on the same domain to be an external weblink.

            I’d like to see a different target for those links too, if that’s possible.
              No, I don't know what OpenGeek's saying half the time either.
              MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
              Forum: Where to post threads about add-ons | Forum Rules
              Like MODx? donate (and/or share your resources)
              Like me? See my Amazon wishlist
              MODx "Most Promising CMS" - so appropriate!
              • 15987
              • 786 Posts
              Quote from: PaulGregory at Aug 22, 2006, 11:29 AM

              I’d like to see a different target for those links too, if that’s possible.

              you can set the target by using the new link attributes field that susan added (coming to a vesion 0.9.5 soon)

              I’ll look into how the weblink class is processed, but I am not promising anything laugh
                • 20765
                • 90 Posts
                myfriendscallmebill Reply #77, 20 years, 1 month ago
                Quote from: rthrash at Aug 21, 2006, 08:24 AM

                So my question is: Is there a way to make Wayfinder list documents that can’t be opened until the user logs in? (maybe by modifying the code?)
                The solution here is MemberCheck + two different calls to Wayfinder with and without links in the templates.

                Ryan, I’ve searched both the documentation and all the PHP files I know about and I haven’t found anything called "MemberCheck". Can you tell me where to find this (and maybe what it is)? And would you be able to elaborate a bit about what you mean by making two different calls to Wayfinder, and how I’d use the results of these two calls...? Thank you for any guidance you can provide.
                  • 25663 MODX Staff
                  • 12,272 Posts
                  http://modxcms.com/MemberCheck-541.html

                  Call it twice using the appropriate groups to check, then the chunk that’s returned should include the appropriate menu elements.
                    Ryan Thrash, MODX Co-Founder
                    Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                    • 20765
                    • 90 Posts
                    myfriendscallmebill Reply #79, 20 years, 1 month ago
                    Quote from: rthrash at Aug 23, 2006, 01:39 AM

                    http://modxcms.com/MemberCheck-541.html

                    Ahh. Thank you, I’ll try this out!
                      • 33114
                      • 518 Posts
                      Hi everybody and Kylej, thanks for this snippet very much. I wonder if Wf can process category folders(no content, blank template)? DropMenu has this feature, and I would like to hve this in wf too.

                      Thanks
                        http://modx.ru - российская поддержка MODx
                        http://newscup.ru - экспериментальный проект
                        http://yentsun.com - персональный сайт

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