forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: blazer380 on August 15, 2004, 04:32:26 am

Title: [Solved]: anycontent, Gallery description not showing up in hardwired theme
Post by: blazer380 on August 15, 2004, 04:32:26 am
What do I have to edit in order to make the hardwired theme show anycontent.php and gallery description? anycontent is not working for me in any themes. gallery descriptions only not working in hardwired.

i have ver. 1.3.1
Title: Re: anycontent, Gallery description not showing up in hardwired theme
Post by: Nibbler on August 15, 2004, 04:35:53 am
Hardwired doesnt display the gallery description. You can add it into hardwire's template.hml by placing {GAL_DESCRIPTION} where you want it to appear. Anycontent should be added in config with something like /anycontent/ in the content of the main page option.
Title: Re: anycontent, Gallery description not showing up in hardwired theme
Post by: blazer380 on August 15, 2004, 04:41:35 am
any way you can post the actual code? like...

open config.php

find... this code
replace with this code
etc.

i'm a real n00b to coding.. =)

thanx a bunch
Title: Re: anycontent, Gallery description not showing up in hardwired theme
Post by: Joachim Müller on August 15, 2004, 12:22:47 pm
to add the description, edit themes/hardwired/template.html, find
Code: [Select]
            <td width="94%" height="22" valign="bottom" align="right"><span class="gal_name">{GAL_NAME}</span></td>and replace with
Code: [Select]
            <td width="94%" height="22" valign="bottom" align="right"><span class="gal_name">{GAL_NAME}&nbsp;{GAL_DESCRIPTION}</span></td>
No code changes necessary to enable anycontent, just browse to coppermine config when logged in as admin, find
Quote
The content of the main page
and add "breadcrumb/" at the very start, as suggested in the documentation (http://coppermine.sourceforge.net/manual.php#changing).

Both issues have been covered in the documentation and have been asked (and answered) on this board very often alread. In the future, search before posting.

GauGau
Title: Re: anycontent, Gallery description not showing up in hardwired theme
Post by: blazer380 on August 15, 2004, 11:12:18 pm
thanx, I modified your code slightly to have the description show up on the next line and smaller size text.

Quote
<td width="94%" height="22" valign="bottom" align="right"><span class="gal_name">{GAL_NAME}<BR>
            <span class="style1">{GAL_DESCRIPTION}</span></span></td>

for anycontent, I already had "breadcrumb/catlist/alblist/" in my config. and it still doesnt show up.
Title: Re: anycontent, Gallery description not showing up in hardwired theme
Post by: Nibbler on August 15, 2004, 11:26:13 pm
Change it to "breadcrumb/catlist/alblist/anycontent"
Title: Re: anycontent, Gallery description not showing up in hardwired theme
Post by: blazer380 on August 16, 2004, 04:16:42 am
that worked great! thank you!