2015-02-12, 17:48:32
(2015-02-05, 16:11:17)sarnaiz Wrote: NEED TO ADD MENU ORDER
Hi Martin,
I need to add order:menuOrder to the component code or my search results display code but don't know the proper syntax to make it work. Also, not sure which place is the right place to add it - in the component or in the search results code:
My component code:
PHP Code:<?php get_i18n_search_results(array('tags'=>'_special-grocery','HEADER'=>null)); ?>
My search results code:
PHP Code:<h3 class="search-entry-title">
<a href="<?php get_special_field('link','',false); ?>">
<?php get_special_field('title','',false); ?>
</a>
</h3>
<div class="search-entry-summary"><?php get_special_field('summary','',false); ?></div>
I've looked through things, but don't see an example of what to use and I'm not a programmer. :-)
The page is starting to shape up nicely thanks to help I've gotten here!
http://medbake.com/groceries/
Thank you for your help.
Please let me know if I have posted this in the wrong place. I thought it was pertaining to special pages rather than search since I am working in the search results for special pages.