We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36704
    • 131 Posts
    Hi BobRay,
    I try to use the NewsPublisher and it working great, however i still have a question.
    Since NewsPublisher has an ability to show the resource content fields, TV fields on the frontend,
    Is there anyway that we can show also the Resource Template Selection?
    So that i can choose what templates?

    Thanks
      • 3749
      • 24,544 Posts
      If you add 'template' to the &show property, I think it will show it, but it will only show and allow template ID numbers.

      You could create a custom TV that showed the templates and then a plugin to convert the result on save.

      I think you could also use JavaScript to alter the template field to show the names. I'm not sure which would be easier.


      ------------------------------------------------------------------------------------------
      PLEASE, PLEASE specify the version of MODX you are using.
      MODX info for everyone: http://bobsguides.com/modx.html
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 36704
        • 131 Posts
        Hi BobRay,

        Thanks for that info and i'll think i will try the first one("If you add 'template' to the &show property, I think it will show it, but it will only show and allow template ID numbers.")
        My Knowledge in programming is very poor, that's why i dont wanna try the other options.

        Another question, do you have a feature plan on the NewsPublisher that will be able to delete the resource?
        Have you ever try to use MIGX?

        Thank you very much..
          • 3749
          • 24,544 Posts
          I haven't found the time to try MIGx, but everything I hear about it is good.

          I've thought about letting users delete resources in NewsPublisher, but it raises some serious security issues. I wouldn't want users to be able to delete resources on my site from the front end.


          ------------------------------------------------------------------------------------------
          PLEASE, PLEASE specify the version of MODX you are using.
          MODX info for everyone: http://bobsguides.com/modx.html
            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting
            • 36704
            • 131 Posts
            You're right Bob, it was more on security issues if we allow to delete resources on the frontend.

            I know that you are so very busy everyday, and we will be more appreciates If you have a free time to add MIGX as an additional features on NewsPublisher.
            Once again thank you very much for contributing this plugin.