problog list category/tag match follies

Permalink Browser Info Environment
I was having an issue with the category and tag custom templates for the problog_list block not showing the correct number of posts.

Turns out this was user-error: the blog editor had been adding an (invisible) extra space to the end of some of the category and tag names. (this took a *long* time to figure out :-(

To fix, in the categories template around line 27 I changed
$cats[] = $value;
to
$cats[] = trim($value);


Same idea could be applied to a tag custom template if that issue appears.

Hope that helps someone!

Type: Discussion
Status: New
kirkroberts
View Replies:
RadiantWeb replied on at Permalink Reply
RadiantWeb
I view this as an improvement to the code overall. Thank you for your suggestion.

I am sending you a free copy of Easy Button for your work.

Blessings,
Chad
kirkroberts replied on at Permalink Reply
kirkroberts
Woohoo! Swag!

Thanks, Chad. I've had very good experiences with your add-ons and your support is excellent. Keep up the great work!

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.