Manual icon indicating copy to clipboard operation
Manual copied to clipboard

HtmlHelper (Bootstrap) Section?

Open marcorensch opened this issue 11 months ago • 3 comments

Do we need a HTMLHelper Section? I would create at least one for the bootstrap.renderModal and its options to start with because its something I've always have to check in my existing extensions on how to do it... What do you think? And if yes - in which section should we place it?

My Idea would be a little "how to use" section showing the possibilites based on https://api.joomla.org/cms-5/classes/Joomla-CMS-HTML-Helpers-Bootstrap.html one by one...

marcorensch avatar Dec 27 '24 14:12 marcorensch

of course, everything should be documented at some point in time.

Structure suggestion would be like "Introduction Page" and sub menu entries for each method (cluster/area) as you said.

Would be awesome if you can create it.

But one issue is that, it might not stay forever because it is not context aware, but that wouldn't matter for documentation.

HLeithner avatar Dec 27 '24 14:12 HLeithner

Okey great to hear, yes, that's more or less what I was thinking. And in which area should it be added? Somehow it doesn't really fit into the current main structure, but a separate point on the main level is also a bit excessive, isn't it?

  • General Concepts -- Helpers --- HTMLHelper ---- Bootstrap ----- ... ----- renderModal ----- ...

feels a bit like an overkill But simply "Helpers" in the root isn't that good - what do you think? @HLeithner

marcorensch avatar Dec 27 '24 18:12 marcorensch

I think bootstrap is deep enough. and Helpers -> HTMLHelper may not the right thing, I think something about templating category would fit better.

HLeithner avatar Dec 28 '24 09:12 HLeithner