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: "Turning Off" Certain Features - file info, random image, etc  (Read 11495 times)

0 Members and 1 Guest are viewing this topic.

MorganEllis

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
"Turning Off" Certain Features - file info, random image, etc
« on: February 10, 2005, 06:39:01 pm »

I'm attempting to create a really 'clean' looking gallery, and to that end I'd like to limit the number of features which show up on the page.

Basically, I'd like to either turn off, disallow, or simply make invisible:

- the 'show file' info feature. Visitors shouldn't be able to choose this as an option

- remove/hide the random image and recently uploaded image galleries. A few people have complained they make the layout appear 'cluttered', so I'd prefer if they weren't visible

I'm using a (heavily) modified version of the water_drop theme, and I've checked config, the css file, and have even tentatively peeked in at the php template file, but can't find a way to do this. Does anyone have any ideas?

If you need to see the gallery as it looks now, let me know. I'd post it, but it's not really pg13 rated ;)

Morgan
« Last Edit: February 10, 2005, 07:10:21 pm by TranzNDance »
Logged

Nibbler

  • Guest
Re: "Turning Off" Certain Features - file info, random image, etc
« Reply #1 on: February 10, 2005, 06:42:02 pm »

Try adjusting the config setting for 'content of the main page'. The (i) button can be commented out in your theme.php.
Logged

MorganEllis

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: "Turning Off" Certain Features - file info, random image, etc
« Reply #2 on: February 10, 2005, 06:55:27 pm »

Cool - I removed random and recently uploaded via config.

What's the protocol for quoting out info in the php file? Sorry, I'm php clueless, and I'm afraid I'm going to utterly screw something up in there if I'm not careful ;)

Here's the tag I found in theme.php which, I assume, refers to the 'show info' option:

<td align="center" valign="middle" class="navmenu" width="48">
<a href="javascript:;" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="images/info.gif" width="16" height="16" border="0" align="absmiddle" alt="{PIC_INFO_TITLE}" /></a>

Any ideas what I need to change this to?

Morgan
Logged

Nibbler

  • Guest
Re: "Turning Off" Certain Features - file info, random image, etc
« Reply #3 on: February 10, 2005, 07:00:44 pm »

You can put html comments around the linked pic like this:

Code: [Select]
                <td align="center" valign="middle" class="navmenu" width="48">
                        <!-- <a href="javascript:;" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="images/info.gif" width="16" height="16" border="0" align="absmiddle" alt="{PIC_INFO_TITLE}" /></a> -->
                </td>

or around the table cell, like this:

Code: [Select]
             <!--      <td align="center" valign="middle" class="navmenu" width="48">
                      <a href="javascript:;" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="images/info.gif" width="16"  height="16" border="0" align="absmiddle" alt="{PIC_INFO_TITLE}" /></a>
                </td> -->

depending what you want it to look like.
Logged

MorganEllis

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: "Turning Off" Certain Features - file info, random image, etc
« Reply #4 on: February 10, 2005, 07:07:47 pm »

That did the trick! You guys rock :)

Logged

hkboi

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: "Turning Off" Certain Features - file info, random image, etc
« Reply #5 on: March 15, 2005, 11:40:00 pm »

hey i don't quite understand this
so you go to config in gallery then what?
i want to turn off random and last added pic
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.