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

Joomla! 4.x Coding • Re: LayoutHelper::render('joomla.searchtools.default', array('view' => $this)) results in an error.

$
0
0
I think I found the problem. I had to specify the view in a form URL in "tmpl/myview/default.php" so instead:

Code:

<form action="<?php echo Route::_('index.php?option=com_helloworld'); ?>" method="post" name="adminForm" id="adminForm">
had to have view in the route as follows:

Code:

<form action="<?php echo Route::_('index.php?option=com_helloworld&view=myview'); ?>" method="post" name="adminForm" id="adminForm">
.

Statistics: Posted by JanoD — Thu Jun 06, 2024 3:48 pm



Viewing all articles
Browse latest Browse all 1356

Trending Articles



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