Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: lastcom in anycontent  (Read 2834 times)

0 Members and 1 Guest are viewing this topic.

DaBe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 110
lastcom in anycontent
« on: October 01, 2008, 09:42:30 pm »

hello
How I can display the lastcom metaalbum in the anycontent?, without fetchcpg
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: lastcom in anycontent
« Reply #1 on: October 02, 2008, 06:43:24 pm »

 I could be missing something here but since the lastcom meta album and anycontent.php only show on the front gallery page, could you not move the "lastcom" to where you want it to appear on the frontpage. This is done by logging in and going to config>Album list view>The content of the main page and putting lastcom where it suits you such as breadcrumb/lastcom, 1/anycontent/catlist/alblist/random,1/lastup,1. This example puts it as the first item on the page. See attached image.
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

DaBe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 110
Re: lastcom in anycontent
« Reply #2 on: October 02, 2008, 07:19:46 pm »

yes I know, but I have a theme with divs and want display the last com on a spec. position.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: lastcom in anycontent
« Reply #3 on: October 03, 2008, 07:37:12 am »

Then you'll have to take a look at the code and run some queries that compose that section - this falls into the category "custom coding that you have to come up with on your own". Meta albums are not meant to be run from within anycontent. Instead of doing this so complicated I suggested doing as Gizmo suggested and then spicing up the output of the meta album you want to draw the attention to with a surrounding wrapper to make it stand out. This is less complicated by far.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.