how to move the description inside album how to move the description inside album
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

how to move the description inside album

Started by all-gsm, September 10, 2013, 02:55:31 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

all-gsm

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

Αndré

What exactly do you try to accomplish and what exactly doesn't work?

all-gsm

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}&amp;page={PAGE}&amp;sort=ta" title="{SORT_TA}">&nbsp;+&nbsp;</a></span></td>
                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=td" title="{SORT_TD}">&nbsp;-&nbsp;</a></span></td>
                                        </tr>
                                        <tr>
                                                <td class="sortorder_options">{NAME}</td>
                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=na" title="{SORT_NA}">&nbsp;+&nbsp;</a></span></td>
                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=nd" title="{SORT_ND}">&nbsp;-&nbsp;</a></span></td>
                                        </tr>
                                        <tr>
                                                <td class="sortorder_options">{DATE}</td>
                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=da" title="{SORT_DA}">&nbsp;+&nbsp;</a></span></td>
                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=dd" title="{SORT_DD}">&nbsp;-&nbsp;</a></span></td>
                                        </tr>
                                        <tr>
                                                <td class="sortorder_options">{POSITION}</td>
                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pa" title="{SORT_PA}">&nbsp;+&nbsp;</a></span></td>
                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pd" title="{SORT_PD}">&nbsp;-&nbsp;</a></span></td>
                                        </tr>
                                        </table>
                                </td>
                        </tr>
                        <tr><td>
                        <p>{$album_desc}</p>
                        </td></tr>
                        </table>
EOT;

Αndré

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.

all-gsm

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

all-gsm

You can remove this reference
theme.php result does not
I did change the attachment

Αndré

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'));


Αndré

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.