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.
{feature_listings_vertical number=4 table_attr='width="100%"' td_attr='valign="middle" align="center"'}
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
- {feature_listings_vertical - Tells smarty that you want to call that function file above.
- number=4 - This tells the function how many ads you want displayed.
- table_attr - attributes for table tag
- td_attr - attributes for the td tag
You can also include other parameters:
- show_price - Y or N and this controls the display of the price.
- tr_attr - attributes for the tr tag
- trailpad - value to pad the trailing cells on last row with (if any) The default is a space or
- vdir - 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