"Turning Off" Certain Features - file info, random image, etc "Turning Off" Certain Features - file info, random image, etc
 

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

"Turning Off" Certain Features - file info, random image, etc

Started by MorganEllis, February 10, 2005, 06:39:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MorganEllis

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

Nibbler

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

MorganEllis

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

Nibbler

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

                <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:

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

MorganEllis


hkboi

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

Joachim Müller