Advanced search  

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

Pages: [1]   Go Down

Author Topic: how to move the description inside album  (Read 3612 times)

0 Members and 1 Guest are viewing this topic.

all-gsm

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
how to move the description inside album
« on: September 10, 2013, 02:55:31 am »

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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: how to move the description inside album
« Reply #1 on: September 10, 2013, 11:57:14 am »

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

all-gsm

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: how to move the description inside album
« Reply #2 on: September 12, 2013, 03:25:29 am »

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}
Code: [Select]
// 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;
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: how to move the description inside album
« Reply #3 on: September 12, 2013, 10:16:18 am »

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.
Logged

all-gsm

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: how to move the description inside album
« Reply #4 on: September 12, 2013, 04:26:37 pm »

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
Logged

all-gsm

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: how to move the description inside album
« Reply #5 on: September 12, 2013, 04:30:17 pm »

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

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: how to move the description inside album
« Reply #6 on: September 12, 2013, 04:55:19 pm »

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
Code: [Select]
$album_desc = get_album_desc($_GET[album]);and replace with
Code: [Select]
$album_desc = get_album_desc($superCage->get->getInt('album'));
Logged

all-gsm

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: how to move the description inside album
« Reply #7 on: September 12, 2013, 05:26:39 pm »

Thanks!
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: how to move the description inside album
« Reply #8 on: September 12, 2013, 05:28:35 pm »

Please
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.
Logged
Pages: [1]   Go Up
 

Page created in 0.034 seconds with 20 queries.