Directing "no search results" message to a separate page
Permalink
Hi to all, first of thank you all for the support. It has been a life saver for the tasks I could not solve. As for the new problem, I can't get c5 to redirect 'no search results' message to a separate page.
PHP code is below:
I would like c5 to redirect to a separate page, not the one I set for displaying results.
PHP code is below:
if(count($results)==0){ ?> <h4 style="margin-top:32px; color:#000"><?php echo t('There were no results found. Please try another keyword or phrase.')?></h4> <?php }else{ ?>
I would like c5 to redirect to a separate page, not the one I set for displaying results.
I wonder if there's a better way of dosing this using c5 prebuilt settings, so I don't have to enter URL manually.