coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: DaBe on October 01, 2008, 09:42:30 PM

Title: lastcom in anycontent
Post by: DaBe on October 01, 2008, 09:42:30 PM
hello
How I can display the lastcom metaalbum in the anycontent?, without fetchcpg
Title: Re: lastcom in anycontent
Post by: Gizmo 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.
Title: Re: lastcom in anycontent
Post by: DaBe 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.
Title: Re: lastcom in anycontent
Post by: Joachim Müller 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.