Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [htmlhelper]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
26 views

Registered HTMLHelper class not working in specific area

When trying to use a function from a custom service registered within my component, I have an issue. So inside the backend boot function of my component I'm doing this: public function boot(...
maidan's user avatar
  • 433
1 vote
1 answer
279 views

Question about LayoutHelper::render('joomla.html.image') and relative paths

So Joomla 4 (ok 3 got it too) has this new way of handling images which is GREAT. But now i have to understand how it works because for a project i want to set a DIV's Background by using a field ...
Marco's user avatar
  • 683
1 vote
1 answer
92 views

How to use HTMLHelper for other file types?

I found samples where HTMLHelper was used to load some types of files like stylesheets, scripts and images: $this->addHeadLink(HTMLHelper::_('image', 'joomla-favicon.svg', '', [], true, 1), 'icon', ...
Plamen's user avatar
  • 747
1 vote
0 answers
37 views

Calendar field operation not acting as expected

I was wondering if anyone else is experiencing this behavior with HTMLHelper::calendar() fields and how you may be handling it in forms. echo HTMLHelper::calendar("now", 'calendar', '...
Terry Carter's user avatar
  • 1,812
2 votes
1 answer
166 views

HTMLHelper call a custom class in a module

In the xml file for a module, I call a custom field class: <config> <fields name="params"> <fieldset name="basic" addfieldprefix="Myextension\Name\...
user3533235's user avatar
2 votes
2 answers
624 views

Use HTMLHelper::_ by calling a namespaced class

In my component under Joomla! 4.0, I have the following call which returns: error JHtml componentname not found. HTMLHelper::_( 'componentname.link', 'index.php?option=com_component&view=...
user3533235's user avatar
1 vote
1 answer
323 views

How to use JDate / HTMLHelper inside model?

So I have this component (built with JCB) where I need to display a saved datetime from the db (without seconds, but that's not my focus right now). Because of some limitations, I cannot simply ...
Marco's user avatar
  • 683
0 votes
2 answers
256 views

Custom JHtml method

I'm developing a custom library which will be used for custom JHtml methods: use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Uri\Uri; abstract class JHtmlKipengee { protected static $loaded = []; ...
Lodder's user avatar
  • 26.9k