Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: thumbnail layout  (Read 3957 times)

0 Members and 1 Guest are viewing this topic.

atiba

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
thumbnail layout
« on: February 15, 2007, 03:17:24 am »

I very new to coppermine & to php, I found Wordpress pretty easy to understand but I'm having a little trouble with Coppermine.

Basically on my site i just want a gallery page with just thumbnails from one folder, thats easy as I'll just set the link as thumbnails.php?album=1

I would love to get rid of all the information etc

Home > Gallery

TITLE     +      -
FILE NAME     +      -
DATE     +      -
POSITION     +      -

2 files on 1 page(s)

Also once I've clicked on the thumb & it opens the displayimage.php?album=1

I would like all that info to be striped too

If someone could point me in the right direction than that would be great

this is what I'm looking for a look something similar to this - http://www.dynia.com/portfolio/residential/


I want to my gallery home page to thumbnails.php?album=1 & not index.php
« Last Edit: February 16, 2007, 03:50:17 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: thumbnail layout
« Reply #1 on: February 15, 2007, 07:56:07 am »

http://forum.coppermine-gallery.net/index.php?topic=25713.0 and some others. One question per thread!
Logged

atiba

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: thumbnail layout
« Reply #2 on: February 15, 2007, 01:21:32 pm »

I managed to fix most of it via the configuration menu but I still have the problem of a Nav Menu.

I've been searching everywhere on how to get rid of the icons etc on the nav menu, I saw this solution in a post, but I keep getting "Parse Error: parse error, unexpected T_SL" after I upload the code

to remove icons from the image nav bar:
copy $template_img_navbar from themes/sample/theme.php to the theme you're actually using and modify it to your needs

This is the code, I haven't got a clue whats causing the error

<?php
/*************************
  Coppermine Photo Gallery
  ************************
  Copyright (c) 2003-2006 Coppermine Dev Team
  v1.1 originally written by Gregory DEMAR

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
  ********************************************
  Coppermine version: 1.4.10
  $Source$
  $Revision: 3275 $
  $Author: gaugau $
  $Date: 2006-09-03 12:10:47 +0200 (So, 03 Sep 2006) $
**********************************************/

// ------------------------------------------------------------------------- //
// This theme has all CORE items removed                                     //
// ------------------------------------------------------------------------- //
define('THEME_IS_XHTML10_TRANSITIONAL',1);
$template_img_navbar = <<<EOT

        <tr>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{THUMB_TGT}" class="navmenu_pic" title="{THUMB_TITLE}"><img src="{LOCATION}images/thumbnails.gif" align="middle" border="0" alt="{THUMB_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="javascript:;" class="navmenu_pic" onclick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="{LOCATION}images/info.gif" border="0" align="middle" alt="{PIC_INFO_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{SLIDESHOW_TGT}" class="navmenu_pic" title="{SLIDESHOW_TITLE}"><img src="{LOCATION}images/slideshow.gif" border="0" align="middle" alt="{SLIDESHOW_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="100%">
                        {PIC_POS}
                </td>
<!-- BEGIN report_file_button -->
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{REPORT_TGT}" class="navmenu_pic" title="{REPORT_TITLE}"><img src="{LOCATION}images/report.gif" border="0" align="middle" alt="{REPORT_TITLE}" /></a>
                </td>
<!-- END report_file_button -->
<!-- BEGIN ecard_button -->
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{ECARD_TGT}" class="navmenu_pic" title="{ECARD_TITLE}"><img src="{LOCATION}images/ecard.gif"  border="0" align="middle" alt="{ECARD_TITLE}" /></a>
                </td>
<!-- END ecard_button -->
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="{LOCATION}images/prev.gif"  border="0" align="middle" alt="{PREV_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}"><img src="{LOCATION}images/next.gif"  border="0" align="middle" alt="{NEXT_TITLE}" /></a>
                </td>
        </tr>

EOT;
?>
Logged

Nibbler

  • Guest
Re: thumbnail layout
« Reply #3 on: February 15, 2007, 01:23:08 pm »

There are no parse errors in the code you have posted.
Logged

atiba

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: thumbnail layout
« Reply #4 on: February 15, 2007, 11:46:10 pm »

I'm still getting the parse error everytime I upload the themes/classic/theme.php, is there anything else I should be doing?

Cheers
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: thumbnail layout
« Reply #5 on: February 15, 2007, 11:51:49 pm »

Zip your theme and attach it to your reply (using "additional options").
Logged

atiba

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: thumbnail layout
« Reply #6 on: February 16, 2007, 02:41:55 am »

as requested
Logged

atiba

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: thumbnail layout
« Reply #7 on: February 16, 2007, 10:49:06 am »

Found another solution to my problem, just downloaded theme.php.txt http://forum.coppermine-gallery.net/index.php?topic=27785.0
& used that, works great

Atiba
Logged

atiba

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: thumbnail layout
« Reply #8 on: February 16, 2007, 10:53:37 am »

Post Solved.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 15 queries.