Hello World Module

Hello,

This may exist, if it does please point me to it. I know steps exist. But, it would be even better if there was a properly coded and structured, complete, Hello World module, that one could download from GitHub in a zip file. Unpack. Install. Then have fun and mess around with it. It could eventually lead to more people contributing to UNA.

Again, I know there's some documentation but let's face it. People (like me) are very busy and may be on the fence thinking things like... "Do I want to learn how to make a UNA module or not?" "Do I have time?"

I really don't have time... but, I might try to find time if there was a starter module ready for me. I learn best by doing and fiddling.

If @Andrey Yasko and team agreed, I think this module should have:

  • "Hello World" shows up at top of homepage
  • A backend settings page with a simple setting such as the ability to change the "Hello World" text or hide it.

That's it. Very simple and I'm sure a current developer could make it in minutes. But then it's hours of fun for someone like me to mess with. 🤓

  • 224
  • More
Replies (3)
    • There is one.

      https://github.com/unacms/una-vendor-test/wiki

      The code in this repo is a very basic module called 'test'. It functions and prints hello world defined by a studio setting. You must read all the developer stuff leading up to the module creation to understand the module structure and code semantics.

      And I started a thread about developing modules, if we could ask our questions under one thread I believe it will be easier for others to follow.

      • I saw that one. It’s 10 years old though. Nothing has changed? No new coding best practices or anything?

        • No, it works as is, now... Lol.

          But finding all the ins and outs.... Well.... Start looking through code and start asking questions lol

          Login or Join to comment.