Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1436

Joomla! 4.x Coding • Chyba 500 Jhtml in Joomla4.X

$
0
0
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:

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;?>
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

Statistics: Posted by Studio555 — Thu Apr 18, 2024 1:21 pm



Viewing all articles
Browse latest Browse all 1436

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>