coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: macsimoin on June 03, 2006, 04:31:19 PM

Title: Index.php issue with Kubrick theme...
Post by: macsimoin on June 03, 2006, 04:31:19 PM
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)
Title: Re: Index.php issue with Kubrick theme...
Post by: macsimoin on June 05, 2006, 06:05:14 PM
Still can't see to find this...I'll look again today but I sure could use a push in the right direction. :)
Title: Re: Index.php issue with Kubrick theme...
Post by: Stramm on June 05, 2006, 09:28:50 PM
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
Title: Re: Index.php issue with Kubrick theme...
Post by: macsimoin on June 06, 2006, 01:58:35 AM
Is removing this code from themes/sample/theme.php necessary as well?
Title: Re: Index.php issue with Kubrick theme...SOLVED!
Post by: macsimoin on June 06, 2006, 02:56:29 AM
Nevermind, I got it...thanks a million for all your help, Stramm. Brilliant!!