Index.php issue with Kubrick theme... Index.php issue with Kubrick theme...
 

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]

Main Menu

Index.php issue with Kubrick theme...

Started by macsimoin, June 03, 2006, 04:31:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

macsimoin

I've been doing fairly well modifying the Kubrick theme (adjusting tables, rows, data, width, etc) but I think I've run into one issue I just can't seem to fix: Logged in as a test user, viewing that user's gallery and then selecting a photo, the options "Delete", "Properties" and "Edit files" are out of sorts.

I'd really like to remove the options to delete or view properties from this vantage point and just leave "Edit file" underneath the thumbnail (see pic below). Sounds easy enough to do but I just can't locate the code...where can I do this? I assumed it was in index.php but if it's there, I'm missing it.

Any suggestions? Thanks. :)

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.macsimoin.com%2Fcoppermine%2Fimages%2Falign_problem2.jpg&hash=61f777a412adfe5b955e8f2726127cd81f71871a)

macsimoin

Still can't see to find this...I'll look again today but I sure could use a push in the right direction. :)

Stramm

in themes/sample/theme.php find $template_album_admin_menu and copy it over to the theme you're using. Now edit it to your likings (you can remove delete and properties here)

to move 'edit' below the thumb you'll need to copy $template_album_list to your theme.php and have a look at {ADMIN_MENU} within that variable

macsimoin

Is removing this code from themes/sample/theme.php necessary as well?

macsimoin

Nevermind, I got it...thanks a million for all your help, Stramm. Brilliant!!