coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: TeenStorm on June 04, 2007, 02:50:47 AM

Title: Group Intermediate Descriptions
Post by: TeenStorm on June 04, 2007, 02:50:47 AM
CPG allows us to post a "description" field for each image within a particular album and for my site's needs I can just duplicate the same description for each pic in the album so cut-n-paste works for me so far.  As I'm posting more and more albums that have more pics in each it's taking a looong time to do this.  To shortcut this behavior I'm just wondering if there's an effective way to post a single description that will resolve itself on each intermediate image page but remain discrete for that album only. 
Title: Re: Group Intermediate Descriptions
Post by: François Keller on June 04, 2007, 07:17:01 AM
Hi,

the keyword_add plugin (http://forum.coppermine-gallery.net/index.php?topic=37103.0) allow you to add info for the custom description fields. You can modify the code for the desciption field
Title: Re: Group Intermediate Descriptions
Post by: TeenStorm on June 04, 2007, 07:34:39 AM
Thanks Franz:

Alternatively, however, can't I just copy the sample intermediate template and put it into my theme.php then remark out the call for {CAPTION} and replace it with a call from the album view called {ALB_DESC}.  I could remark {ALB_DESC} from my Album view and hide {CAPTION} from my intermediate view.  Exposing the variable {ALB_DESC} in my intermediate view would mean that I'd only have to update the album description and every intermediate pic in that album will show my bbcode.  The only problem is that I don't know how to reference {ALB_DESC} from the intermediate page.  When I resolve the page it only shows the code string not the data from the dbase.  Am I able to do it this way or am I out of luck if I don't reference the actual album?  I will explore your previous tip, thanks. 
Title: Re: Group Intermediate Descriptions
Post by: TeenStorm on June 04, 2007, 07:38:54 AM
 :-\  Ooops!  Sorry about the "t" Frantz.  I was doing so well with my wireless kb but missed that before posting.