how to move the description inside album
theme curve_red2black
it does not work as described on http://forum.coppermine-gallery.net/index.php/topic,67900.msg358961.html#msg358961
thanks
What exactly do you try to accomplish and what exactly doesn't work?
I'm trying as described herein http://forum.coppermine-gallery.net/index.php/topic,40315.0.html
but the description is not inserted inside the album with {$album_desc} or {ALB_DESC}
// HTML template for title row of the thumbnail view (album title + sort options)
$template_thumb_view_title_row = <<<EOT
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" class="statlink"><h2>{ALBUM_NAME}</h2></td>
<td><img src="images/spacer.gif" width="1" alt="" /></td>
<td class="sortorder_cell">
<table cellpadding="0" cellspacing="0">
<tr>
<td class="sortorder_options">{TITLE}</td>
<td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&page={PAGE}&sort=ta" title="{SORT_TA}"> + </a></span></td>
<td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&page={PAGE}&sort=td" title="{SORT_TD}"> - </a></span></td>
</tr>
<tr>
<td class="sortorder_options">{NAME}</td>
<td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&page={PAGE}&sort=na" title="{SORT_NA}"> + </a></span></td>
<td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&page={PAGE}&sort=nd" title="{SORT_ND}"> - </a></span></td>
</tr>
<tr>
<td class="sortorder_options">{DATE}</td>
<td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&page={PAGE}&sort=da" title="{SORT_DA}"> + </a></span></td>
<td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&page={PAGE}&sort=dd" title="{SORT_DD}"> - </a></span></td>
</tr>
<tr>
<td class="sortorder_options">{POSITION}</td>
<td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&page={PAGE}&sort=pa" title="{SORT_PA}"> + </a></span></td>
<td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&page={PAGE}&sort=pd" title="{SORT_PD}"> - </a></span></td>
</tr>
</table>
</td>
</tr>
<tr><td>
<p>{$album_desc}</p>
</td></tr>
</table>
EOT;
The threads you referred contain several solutions. Please describe with your own words what exactly you want to do. I assume that you want to display the album description on the thumbnails page and probably remove/truncate it on the album list view. But I don't know what you've done so far and what exactly doesn't work as expected. Please also post a link to your gallery.
it erotic top site http://erotic-top.com/ description get cut.
I want more description on the thumbnails page http://erotic-top.com/thumbnails-2.html
but instead of the description is: Album not found
You can remove this reference
theme.php result does not
I did change the attachment
Please don't edit include/themes.inc.php. Instead, copy the functions you'd like to modify from themes/sample/theme.php to your theme's theme.php file, if they don't exist.
However, to fix your current code, find
$album_desc = get_album_desc($_GET[album]);
and replace with
$album_desc = get_album_desc($superCage->get->getInt('album'));
Thanks!
Please
Quote from: Joachim Müller on September 28, 2008, 12:46:26 PM
tag your thread as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.