Featured Listings Vertical

Featured listings vertical calls a function and displays all your featured listings in a vertical table.

To call this function you would include the following code in any template file you want it to appear.

The code above calls a Smarty custom plugin that we have created. The file is located at includes/templates/plugins/function.feature_listings_vertical.php

Here is a list of available parameters:

number
(integer) The max number of listings you want displayed.
table_attr
(string) Any table attributes you would like. For example: table_attr='width="100%"'.
tr_attr
(string) Any tr attributes you would like.
show_price
(string) Y or N.
trailpad
(string) A value to pad the trailing cells on last row with (if any) The default is a space or
vdir
(string) The direction of each column to be rendered. possible values: down (top-to-bottom), up (bottom-to-top) default is down.

For more information on the different parameters you can visit this smarty link: http://smarty.php.net/manual/en/lang...html.table.php


Related Articles

Still have a question? Post it on the Help Forums.