Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HtmlHelper (Bootstrap) Section? #354

Open
marcorensch opened this issue Dec 27, 2024 · 3 comments
Open

HtmlHelper (Bootstrap) Section? #354

marcorensch opened this issue Dec 27, 2024 · 3 comments

Comments

@marcorensch
Copy link
Contributor

marcorensch commented Dec 27, 2024

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 marcorensch changed the title HtmlHelper Section? HtmlHelper (Bootstrap) Section? Dec 27, 2024
@HLeithner
Copy link
Member

HLeithner commented Dec 27, 2024

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.

@marcorensch
Copy link
Contributor Author

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

@HLeithner
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants