How to put the "search" box anywhere in any CMS page

Discuss tips for designing automotive websites with the extension.

How to put the "search" box anywhere in any CMS page

Postby josh » Thu Jul 15, 2010 6:36 pm

To put the search box in a custom page, for example if you want a page called "shop by vehicle" with the MMY search and some other instructional graphics, you could create that CMS page, and then use this following to spool in the search box. This would also be useful if you want the vehicle search "up front and center" on the homepage and not "on the sidebar".

Code: Select all
{{block type="vaf/search" name="vafSearch2" template="vaf/search.phtml"}}


Make sure you click "show/hide editor" because if you paste it into the WYSIWYG editor you will copy over rich formatting and the template codes may be broken.
josh
Site Admin
 
Posts: 40
Joined: Mon Feb 01, 2010 6:09 pm

Re: How to put the "search" box anywhere in any CMS page

Postby josh » Fri Jul 16, 2010 3:33 pm

Oops this was already in the documentation. Under "design guide" "Use the vehicle search in a CMS page". It also explains how to simultaneously have a vertical search on some pages, and a horizontal search on other pages 8-)
josh
Site Admin
 
Posts: 40
Joined: Mon Feb 01, 2010 6:09 pm


Return to Design Guide/Tips

Who is online

Users browsing this forum: No registered users and 1 guest

cron