hi, i have put disabled=enabled but the search don't work. and i have try enabled=enabled but nothing special.
The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.
there is nothing called disabled="enabled" in html / xhtml. But that is not your bug ( ref: "{if eq( $ui_context, 'edit' )}" code means that the search will only be disabled when you edit something).
your bug might be lack of whitespace between class and type 'class="button"type="submit"'! Alternatively you are running fastcgi and need to use ' method="post"' on your form!
{if eq( $ui_context, 'browse' )}
<input name="Mode" type="hidden" value="browse" />
{/if}
{/if}
</form> but the search didn't work.
The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.
hi,
thanks you andré R for all. i want to know if search (and path)works only in pagelayout? it not possible to use it in a frontpage?.In my web site my pagelayout contains this:
"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$site.http_equiv.Content-language|wash}" lang="{$site.http_equiv.Content-language|wash}">
<title>kazadi dans le projet soukafrika</title>
</head>
<body><!--debut body-->
{$module_result.content}
</body><!--fin body-->
</html>
" all the contents are in a frontpage (that i have overloaded).i think it the reason of this behavior.
The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.
Albert Einstein
You must be logged in to post messages in this topic!