Edit: ____________________________________________________________________

To clarify this. It’s not about how to code it. But a question about which to choose. Module or Component? _________________________________________________________________________

I am new to Joomla and need to develop a custom part of a site.

The custom part should be located in the main area.

I know how to develop modules and would prefer to do it this way. But I also know that a module should be used for content in the sidebar and you should use a component for the main area.

The custom part is a thing that loads and shows text rows from a table I've created in the database. It also needs the ability to edit and save the texts. And lastly, it needs to display the intro image of specific articles.

The custom part doesn't need to have the ability to be edited in any way from the admin side. It only needs to have the part that is visible on the front end.

Therefor the question is: Can I use a module for this?

  • 1
    There is no rule that says modules should be used somewhere specifically. Since your question is Can I use a module for this? I would say a quick answer is yes - probably you can. You actually can use any means of workable code that fetches data from the database and display them in the html. -----Note that the information given in your question is pretty much vague - making the whole topic too broad or your question as unclear. As it stands now, it is hard to get an objective answer. So consider to update your question with more details, or it might get flagged for closure.------ – FFrewin Jul 31 '18 at 15:12
  • @JonasBjon what have you tried so far? Where are you stuck? Please show us some code. – mickmackusa Jul 31 '18 at 17:47
  • @mickmackusa I haven’t started on this. I want to be sure it’s okay to use a module for this :) – JonasB Jul 31 '18 at 17:49
  • Ok. Have a crack at it. This question, as previously commented by a moderator, is poorly suited to Q&A. Once you've had a go, if you have isolated concerns or issues please post a question. Perhaps take down this question for now so as to avoid encouraging brief / vague / low value answers. – mickmackusa Jul 31 '18 at 17:52
  • 1
    @Sharky it seems that you have a sufficient understanding to offer a thoughtful answer and resolve this page. Please post your comments (and any other relevant info) as an answer. – mickmackusa Oct 19 '18 at 12:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.