Search form override behaves oddly
Permalink
I needed to override the view.php for the search block to put some id's in the field params, no problemt there but...
Later when I came to edit the block the edit.php script was looking for the form_setup_html.php script from the /blocks/search override directory, not the /concrete/blocks/search directory causing an error.
Seems fixed by copying the contents of the c5 search directory into the /blocks override directory but should this be happening ?
G
Later when I came to edit the block the edit.php script was looking for the form_setup_html.php script from the /blocks/search override directory, not the /concrete/blocks/search directory causing an error.
Seems fixed by copying the contents of the c5 search directory into the /blocks override directory but should this be happening ?
G
No problem there.
Now I've tried to make a simple mod to the HTML block so it only displays for MSIE user agents. I've done this by creating html/templates under /blocks and have discovered that if you simply do mkdir [siteroot]/blocks/html then the HTML block will say it can no longer load the form_setup_html.php script with nothing more than an empty html dir under /blocks.
Sure this isn't expected behaviour?
Presumably copying or linking the form_setup_html file into the /blocks/html dir will fix...
Now I've tried to make a simple mod to the HTML block so it only displays for MSIE user agents. I've done this by creating html/templates under /blocks and have discovered that if you simply do mkdir [siteroot]/blocks/html then the HTML block will say it can no longer load the form_setup_html.php script with nothing more than an empty html dir under /blocks.
Sure this isn't expected behaviour?
Presumably copying or linking the form_setup_html file into the /blocks/html dir will fix...
To use it, click on the search block when you are in edit mode, and then click on custom template, and yours should show up in the dropdown.