I just love the way GCT works. What would be further interesting is if it were able to limit per node type and then per user.

Just like how tracker can draw up a listing of content by a user e.g. www.example.com/tracker/5 - will show nodes created by user 5 (assuming permissions allow).

Comments

nancydru’s picture

Committed to 6.x-1.x-dev.

/**
 *  Function to query the database for the requested types.
 *  @param $type - the content type to display. Passed through filter_xss.
 *  @param $teaser - show just the teaser (value: TRUE, default) or full node (value: FALSE) or a title list (value: list).
 *  @param $show_per_page - how many nodes to show per page, defaults to post settings value.
 *  @param $sort - sorting order.
 *    'date' is sticky, created (default), 'title' is by title, 'user' is by uid and date, 'oldest' is oldest first.
 *  @param $userid - limit to user. If numeric, is uid, otherwise, is username.
 *  @return - themed nodes list.
 *
 *  Note: the $teaser and $sort parameters may also be in translated form.
 *  Note: All parameters, except type, may also be given as query parameters.
 *    That is node/type/page+story?userid=NancyDru&show_per_page=25
 */
nancydru’s picture

Assigned: Unassigned » nancydru
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.