Steppo Posted October 26, 2010 Share Posted October 26, 2010 Hi all!!I get this in w3c (the image)It all have to do with this code in the great module "Blocktopmenu".Anyone recognize this? <form id="searchbox" action="{$base_dir_ssl}search.php" method="get" > <input type="hidden" value="position" name="orderby" /> <input type="hidden" value="desc" name="orderway" /> <input type="text" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query}{/if}" /> </form>Stefan Link to comment Share on other sites More sharing options...
sebastiann Posted October 26, 2010 Share Posted October 26, 2010 There is a updated version of the module, 2.6 that you can find hereAnd I believe that the code miss a div,fieldset or a similar tag, because it say that the input element is not allowed there and it have to be closed by a block tag. It is probably because of the input hidden is in a open form tag. Perhaps it works to wrap the input hidden with a div or fieldset tag but I'm not really sure. Link to comment Share on other sites More sharing options...
rocky Posted October 27, 2010 Share Posted October 27, 2010 It's because the module has put an input inside a list item, which is not allowed if you want to be standards-compliant. Moving the input out of the list should fix the problem. Link to comment Share on other sites More sharing options...
Steppo Posted October 27, 2010 Author Share Posted October 27, 2010 It's because the module has put an input inside a list item, which is not allowed if you want to be standards-compliant. Moving the input out of the list should fix the problem. Thanks fellas!I´ll do it! Amazing - voices from down under and sweden in the same thread:) Half around the globe!Cheers!Stefan // http://fineprint.se Link to comment Share on other sites More sharing options...
Steppo Posted October 27, 2010 Author Share Posted October 27, 2010 This is the file - just a few lines. (My knowledge ends here. Please fill me in:) //Stefanit is here to: http://fineprint.se blocktopmenu.tpl.zip Link to comment Share on other sites More sharing options...
Recommended Posts