Function printLatestComments
Prints latest comments for images, albums, news and pages
integer |
$number |
how many comments you want. |
integer |
$shorten = '123' |
how many characters you want to show in the excerpt. |
string |
$type = "all" |
<p>"all" for all latest comments of all images, albums, news and pages an array of table items e.g. array('images','albums', 'news', 'pages') for all images, albums, news and pages "image" for the lastest comments of one specific image "album" for the latest comments of one specific album "news" for the latest comments of one specific news article "page" for the latest comments of one specific Page</p> |
integer |
$item = NULL |
the record id of element to get the comments for if $type != "all". |
string |
$ulid = 'showlatestcomments' |
<p>id for the</p> <p><</p> <p>ul> element.</p> |
string |
$shortenindicator = '...' |
indicator to show that the string is truncated. |