Latest additions to gallery script for tumblr Latest additions to gallery script for tumblr
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Latest additions to gallery script for tumblr

Started by imthegirloverboard, October 31, 2015, 09:01:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

imthegirloverboard

Hey all,

On my website (http://olsensobsessive.com) in my theme header there's a script (I assume its a script) that shows the latest additions to for the whole gallery (see attachment). Also I use tumblr to post if that makes any difference.

I was wondering if there was anyway I can place the script in a sidebar just to show the latest images from a certain category? I didn't make the theme & the person who made it isn't responding to my emails.

I apologize in advance if this has previously been asking.

Many thanks!
 *Image Removed*

*Link Removed*

ΑndrĂ©

Those block is probably added via the "CPMFetch" plugin. I currently don't know if it's possible to display the latest additions of a category, as I never used that plugin.

gmc

If it is CPMFETCH - there are functions provided that allow filtering by album or category...
You are likely calling:    cpm_viewLastAddedMedia.  you would need to change to:
cpm_viewLastAddedMediaFrom ( $source, int $rows, int $columns, [array $options = ""], int $catid)

The functions ending in From all allow specification of filters ($source) - one or more categories, albums, owners.
"cat=5,3:album=10:owner=vuud"

Some good descriptions in the docs provided with CPMFETCH.
I would need to see the specific code you have today if you need further help.
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money