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: Admin Panel Width  (Read 5593 times)

0 Members and 1 Guest are viewing this topic.

EquentityJamie

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Admin Panel Width
« on: August 23, 2006, 04:12:12 pm »

I've searched the forums for this problem, and it seems others have had it, but the fix suggested for them didn't work for me.

First, I'm using the 'classic' theme.

I've having trouble with the width of the admin panel.

I have attached a screenshot.

I have changed the following settings to 100%:

Album list view > Width of the main table
Image view > Width of the table for file display

However, that doesn't seem to have affected the admin section.

It seems to be the Javascript function within the <a> tags in the admin panel which is causing the page to expand. Here is the code for one of those <a> tags:

Code: [Select]
<a href="javascript:;" onclick="coppermine_help_window=window.open('docs/showdoc.php?css=classic&amp;f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end','coppermine_help','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=600,height=350'); coppermine_help_window.focus()" style="cursor:help">
Notice how it specifies a width of 600px. I'm not sure which file these links are called from, so I'm not sure how to edit them.

If anybody has any ideas, I would very much appreciate your advice.

Thanks.

Jamie
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Admin Panel Width
« Reply #1 on: August 23, 2006, 07:09:31 pm »

Post a link to your site
Logged

EquentityJamie

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Admin Panel Width
« Reply #2 on: August 23, 2006, 07:13:23 pm »

http://www.luddendeninbloom.com/gallery

The problem lies solely in the admin panel. I'm willing to PM you the login details, GauGau, if you need them.

Thanks

Jamie
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Admin Panel Width
« Reply #3 on: August 23, 2006, 07:38:03 pm »

With a screen resolution of 1280x1024 I checked your page: the actual coppermine content (no matter what page you're on) only has 500 pixels space left (horizontally) - the rest of the page is taken from your sidebar and the whitespace you have set up. You're in fact not using the classic theme, but a custom one that you built upon "classic" and failed to rename before starting to edit it.
Bottom line: your beautiful theme, with lots of white space that is pleasing for the eye, but a waste of space, the actual coppermine content only has a very narrow space where it could actually reside. Your config page only having a width of 600 pixels is not surprising me at all.
Only option is to reduce the wasted whitespace columns at the left and right of the screen.
Approximate space use in pixels: see attached screenshot.

Joachim
Logged

EquentityJamie

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Admin Panel Width
« Reply #4 on: August 23, 2006, 08:32:10 pm »

Sorry, my mistake. You are indeed correct. I started off with the 'classic' theme, but modified it rather than starting a new theme.

Unfortunately the design is fixed with, Joachim, so I can't reduce the white space at the left and right sides. The client has asked that the design be fixed width, accomodating for 800x600 users.

I'm pretty sure that if I alter Javascript items in the <a> tags in the admin panel, I'll be off to a good start. Would it be possible for you to tell me where I can edit these <a> tags, if you know, that is?

Thanks

Jamie
Logged

EquentityJamie

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Admin Panel Width
« Reply #5 on: August 23, 2006, 08:42:17 pm »

In fact, scrap that.

I've decided I'm going to risk it. The gallery will be open for guests, and no registrations will be allowed, so there is no reason for a normal user to experience the break in design. I'm willing to take a risk that the client won't be looking inside the admin panel, and if they do, they won't mind the broken design, considering it is private.

Thanks for your help Joachim. I appreciate it.

Jamie
Logged

Nibbler

  • Guest
Re: Admin Panel Width
« Reply #6 on: August 23, 2006, 09:20:00 pm »

Adjusting the size of the help popup isn't going to resolve the issue.
Logged

EquentityJamie

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Admin Panel Width
« Reply #7 on: August 23, 2006, 09:22:20 pm »

Sorry Joachim. I just realised what that <a> tag was referring to. It's been a long day.  ::)

I'm looking at my options now. It may well be Coppermine isn't the right way to go with this design, unfortunately.

Jamie
Logged

Nibbler

  • Guest
Re: Admin Panel Width
« Reply #8 on: August 23, 2006, 09:24:01 pm »

You could remove some of the links or adjust the titles to be shorter words/phrases.
Logged

EquentityJamie

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Admin Panel Width
« Reply #9 on: August 23, 2006, 09:29:18 pm »

That sounds reasonable. I was actually going to get rid of some of the links anyway.

I uploaded an image: http://www.luddendeninbloom.com/gallery/displayimage.php?album=1&pos=0

I'll be interesting in getting rid of the "Login", "Last Uploads", "Last Comments", "Most Viewed", "My Favourites" and "Search" links (You can see I'm going for a very simple system).

How would I go about editing this links?

Thanks

Jamie
Logged

Nibbler

  • Guest
Re: Admin Panel Width
« Reply #10 on: August 23, 2006, 09:36:06 pm »

Logged

EquentityJamie

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Admin Panel Width
« Reply #11 on: August 23, 2006, 09:51:57 pm »

That worked a treat.

However, the width of the table still hasn't changed. http://www.luddendeninbloom.com/gallery/displayimage.php?album=1&pos=0

Any ideas Joachim?

Thanks

Jamie
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Admin Panel Width
« Reply #12 on: August 24, 2006, 04:51:28 am »

However, the width of the table still hasn't changed.
What table exactly?

Any ideas Joachim?
Nibbler has answered your last three replies ;)
Logged

EquentityJamie

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Admin Panel Width
« Reply #13 on: August 24, 2006, 10:09:54 am »

Quote from: GauGau
What table exactly?

http://www.luddendeninbloom.com/gallery/displayimage.php?album=1&pos=0

Take a look at that. I presume the table with the blue header cells is causing the width of the table to expand which is causing it to move below my menu in the design. I've removed the links in the Coppermine menu, but it looks like I now need to reduce the width of the table with the blue header cells.

Quote from: GauGau
Nibbler has answered your last three replies

Drat! Sorry Nibbler. You can tell how long and tiresome my day was yesterday.  ::)

Jamie
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.