Search Template Formatting

Questions and answers about ShopSite Custom Templates

Search Template Formatting

Postby BFChris » Thu Oct 12, 2017 12:04 pm

Is there a way to get the Search forms and Search Results in a Search template to output without table tags?

Thanks!
~~Barefoot Chris
--------------------------------
Barefoot Chris Web Design
www.barefootchris.net
--------------------------------
BFChris
 
Posts: 322
Joined: Mon Oct 09, 2006 3:28 pm
Location: PA

Re: Search Template Formatting

Postby ShopSite Lauren » Mon Oct 16, 2017 10:13 pm

You can use [-- SEARCHRESULT_FORM FORM_ONLY --]</form> (make sure you remember to close the form since the tag only opens the form). This still puts the form in a table, but it is only the results form, not the additional options like sorting, result count, etc. Below are tags for those other elements:

[-- SEARCHRESULT_FORM FORM_ONLY --]
[-- IF SearchResultCount --][-- SearchResultsPerPage --][-- END_IF --]
[-- IF SearchSortBy --][-- SearchSortBy --][-- END_IF --]
[-- IF SearchResultPrevNext --][-- SearchPrevNext --][-- END_IF --]
[-- IF SearchResultCount --][-- SearchResultCount--][-- END_IF --]
</form>
- ShopSite Lauren
Contact me for help with any of your
custom ShopSite template questions.
ShopSite Lauren
 
Posts: 889
Joined: Fri Aug 11, 2006 1:35 pm
Location: Orem, UT

Re: Search Template Formatting

Postby BFChris » Tue Oct 17, 2017 7:37 am

Yes, I'm already using that tag. It still leaves a table wrapped around the Search inputs.

Same question for Gift Certificate elements?

Thanks!
~~Barefoot Chris
--------------------------------
Barefoot Chris Web Design
www.barefootchris.net
--------------------------------
BFChris
 
Posts: 322
Joined: Mon Oct 09, 2006 3:28 pm
Location: PA

Re: Search Template Formatting

Postby ShopSite Lauren » Tue Oct 17, 2017 1:08 pm

Unfortunately, there aren't different tags for the gift certificate elements to remove the tables.
- ShopSite Lauren
Contact me for help with any of your
custom ShopSite template questions.
ShopSite Lauren
 
Posts: 889
Joined: Fri Aug 11, 2006 1:35 pm
Location: Orem, UT


Return to Custom Template Questions

Who is online

Users browsing this forum: Bing [Bot] and 6 guests