We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21496
    • 225 Posts
    In Textpattern there is a very convenient entry form for creating link lists on pages. So to enter links, there is a form with the following textboxes:

    - Title
    - Sort Value
    - URL
    - Link category
    - Description

    Is there a way to do the same in MODx? I think for things like that TinyMCE isn’t very convenient.

    Additional question in that context: is there something like conditional tags in MODx? To put out links in txp, I can use something like that in the template:

    <txp:if_section name="links">
    <txp:mem_glinklist form="Links" headwraptag="h2" />


    The first line makes sure that links are only displayed when "Links" is the current page. The second line then is calling a plugin and a form to display the links, categorized and with headers defined as h2. That way, I can basically build a page with one template, and display different content based on the section or id that is active.

    That’s the way I think coming from txp to solve that problem ... well, I know that might not work here the same way. But I think there must be a MODx way of doing it ... can somebody please point me into the right direction?
      René
      • 21496
      • 225 Posts
      In between I was playing around a bit with Ditto and NewsPublisher, but I still don’t see how to get close to what I want.

      As a result, I would like to get something like I did on this page with TXP: http://www.artofhealing.ch/links/ (Site is in German)

      As you see, I have 7 categories for links there, shown as titles, and under each category the links, some with descriptions, others without description.

      I don’t get how I can assign a group of links to a category, and pull out all categories as titles with all the links on a single page. Any hints how to approach this in MODx?

      Actually what comes pretty close to what I want is the repository of MODx here: http://modxcms.com/repository-a-to-z.html?letter=ALL

      The titles of the resources in my case would just be external links then. Anyone revealing the secret ...? smiley
        René