sator
posted this
10 July 2020
Can you render the search element for Joomla, as include current language "Search" word in placeholder
Something as:
<?php
$lang =& JFactory::getLanguage();
$lang->load('mod_search',JPATH_SITE);
?>
............................
<input class="u-search-input" type="search" name="searchword" value="" placeholder="<?php echo htmlspecialchars($params->get('text', JText::_('MOD_SEARCH_SEARCHBOX_TEXT')), ENT_COMPAT, 'UTF-8'); ?>"><input type="hidden" name="task" value="search">
Can you render the search element for Joomla, as include current language "Search" word in placeholder
Something as:
<?php
$lang =& JFactory::getLanguage();
$lang->load('mod_search',JPATH_SITE);
?>
............................
<input class="u-search-input" type="search" name="searchword" value="" placeholder="<?php echo htmlspecialchars($params->get('text', JText::_('MOD_SEARCH_SEARCHBOX_TEXT')), ENT_COMPAT, 'UTF-8'); ?>"><input type="hidden" name="task" value="search">
Last edited 10 July 2020 by sator
Vote to pay developers attention to this features or issue.