I am converting a component from J3.X to J4 and I have an unsolved problem for me. To display the date selection, the J3.X version displayed the code:
This code used the file "Helpers/html/jidelnilistek.php" where the class "class jidelnilistek" and "public static function listmenus" were declared.
In version J4 this is not possible - error message: "500 JHtml jidelnilistek not found". I know that this part of the code will need to be refactored into HTMLHelpers, but I'm not entirely sure how. Any advice or help out there?
thank you for any advice
Milan
Code:
<?php if ($listek == 'denni'): ?> <form action="" class="hidden-print" name="dateRange" method="post"> <?php echo JHtml::_('jidelnilistek.listmenus', $menuTypeId, 'menuId', $addItems ? $addItems->id : '', $js); ?> </form> <?php endif;?>
In version J4 this is not possible - error message: "500 JHtml jidelnilistek not found". I know that this part of the code will need to be refactored into HTMLHelpers, but I'm not entirely sure how. Any advice or help out there?
thank you for any advice
Milan
Statistics: Posted by Studio555 — Thu Apr 18, 2024 1:21 pm