Hi Carlos, I didn't know this addon. Thanks!
Hey I modifed the function nm_search in this way for my magazine and I think it should be added by default to your NM.
You should then create a variable for the word "Search..." (e.g. i18n('news_manager/SEARCHWORD');)
but I don't think it's a problem!
Hey I modifed the function nm_search in this way for my magazine and I think it should be added by default to your NM.
You should then create a variable for the word "Search..." (e.g. i18n('news_manager/SEARCHWORD');)
but I don't think it's a problem!
Code:
function nm_search() {
$url = nm_get_url();
?>
<form id="search" action="<?php echo $url; ?>" method="post">
<input type="text" class="text" name="keywords" name="keywords" value="Search..." onfocus="if (this.value=='Search...') {this.value=''}" onblur="if (this.value=='') {this.value='Search...'}"/>
<!--[if IE]><input type="text" style="display: none;" disabled="disabled" size="20" value="Ignore field. IE bug fix" /><![endif]-->
<input type="submit" class="submit" name="search" value="<?php i18n('news_manager/SEARCH'); ?>" />
</form>
<?php
}
?>
My website made with GetSimple CMS is
Arte & Società
www.artesocieta.eu
An indipendent website about Italian Contemporary Visual Arts
Arte & Società
www.artesocieta.eu
An indipendent website about Italian Contemporary Visual Arts