Most Viewed Listings
Most Viewed calls a function and displays your most viewed listings in a vertical table.
To call this function you would include the following code in any template file you want it to appear.
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.
- img_break
- (string) The img_break defines what happens after the image is shown. In the example above a
or line break is added.
Related Articles
Still have a question? Post it on the Help Forums.