Add classes to inputs/selects bootstrap4

  • Russell Leigh
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 10 months ago - 4 years 10 months ago #138378 by Russell Leigh
Add classes to inputs/selects bootstrap4 was created by Russell Leigh
I am trying to integrate this with a bootstrap4 template but it is very difficult as everything is hard coded and there is no way to edit things in layout overrides because it hasn't been coded properly

In the item options dropdowns and also the sort by and items per page "show" drop down on the category pages

How can we add the bootstrap4 input classes "form-control" to make it compatible with a bootstrap4 template?

These element seem to be rendered inside the view.html.php file and then just echo'd out. This is bad practice and a bad way of coding and not following joomla standards.

Why is the logic and the view not separated? Why is the JHtml call in the wrong file?

How can we customize these layouts if they are all hardcoded??
Last edit: 4 years 10 months ago by Russell Leigh.

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong