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 / Configuration Menu appears unfolded  (Read 3433 times)

0 Members and 1 Guest are viewing this topic.

sindbad5

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: de
  • Offline Offline
  • Posts: 214
    • My Images - medienarchiv.com
Admin / Configuration Menu appears unfolded
« on: December 06, 2015, 08:01:06 am »

Hi, in my current attempt to set up a theme, the admin/configuration menu apperas like an unfolded drop-down list. How can I avoid this? I don't the see the adjustment. The theme is based on curve-responsive and is mixed with another theme, which I will use for my static html pages.

   
Tom

Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4660
    • Windsurf.me
Re: Admin / Configuration Menu appears unfolded
« Reply #1 on: December 06, 2015, 10:57:46 am »

A link to see what is going on will help.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

sindbad5

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: de
  • Offline Offline
  • Posts: 214
    • My Images - medienarchiv.com
Re: Admin / Configuration Menu appears unfolded
« Reply #2 on: December 08, 2015, 09:59:25 am »

I messed something up in the theme.php. Now it is oky again.

Link: http://www.medienarchiv.com/a-archiv/

Tom
Logged

hnoor0011

  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Posts: 1
Re: Admin / Configuration Menu appears unfolded
« Reply #3 on: December 09, 2015, 08:32:05 am »

How can I avoid this? I don't the see the adjustment.
Logged

sindbad5

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: de
  • Offline Offline
  • Posts: 214
    • My Images - medienarchiv.com
Re: Admin / Configuration Menu appears unfolded
« Reply #4 on: December 09, 2015, 09:37:57 am »

It is not possible to show the adjustment. Let me explain. A few days ago I read that it was possible to have a responsive coppermine installation. In a sort of experiment and to create a responsive theme in a style I like and whichs fits into my existing website, I mixed the theme curve-responsive with a set of CSS-Files, which I use for other html pages and which are not part of coppermine (see: photoinfos.com) .

I was surprised that it worked, but due to two more css-files there was some confusion. The css-files from the coppermine theme and my htlm-style had some identical names for classes (body, list ...) but different settings. How a list was displayed, was partly defined by the ccs-file from my html-style (not from coppermine). Therefore they were unfolded. I corrected some entrys in the css and made minor changes in the theme.php. The changes in the theme.pho were less important than uncluttering the css.files. 

I didn't make a protokoll of my corrections. If I had done that and posted everything here, it wouldn't help anybody, because nobody has the same set of files in a theme.   

There are still some minor flaws. I have attached a picture. The red arrows point to entries in a list. As you can see, the bar benaeth the word 'Suche' looks weird. Here is still some interference from the css-file which was not part of the original.

When I think that I have reached a point from which other more skilled people should have a deeper look into the coding of my theme, I will issue it in a seperate post. Shurely the construction of 6 css-files (see attachment)  in the theme folder can be cleaned up and perhaps something more. 

Tom
Logged

allvip

  • Global Moderator
  • Coppermine addict
  • *****
  • Country: 00
  • Offline Offline
  • Posts: 1290
Re: Admin / Configuration Menu appears unfolded
« Reply #5 on: December 10, 2015, 12:25:12 pm »

I looked at your site and you have 2 jquery versions on the page:

Code: [Select]
<script src="themes/curve_responsive2/jquery.js"></script>

and

Code: [Select]

<script type="text/javascript" src="js/jquery-1.3.2.js"></script>

That creats a jquery conflict. Coppermine by default loads on all pages jquery-1.3.2.js.
If the scripts in your theme do not work with jquery-1.3.2.js then install  jQuery update plugin for cpg1.5.x http://forum.coppermine-gallery.net/index.php/topic,77595.0.html that will replace jquery-1.3.2.js with jquery-1.11.0.min.js.
Logged

sindbad5

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: de
  • Offline Offline
  • Posts: 214
    • My Images - medienarchiv.com
Re: Admin / Configuration Menu appears unfolded
« Reply #6 on: December 11, 2015, 03:34:02 pm »

Thank you. I think that I should upload my theme for the pros to check all the elements. I think that is a good looking theme and it fits well into my website with many other pages. Perhaps others intend to do something similar.

Tom
Logged

allvip

  • Global Moderator
  • Coppermine addict
  • *****
  • Country: 00
  • Offline Offline
  • Posts: 1290
Re: Admin / Configuration Menu appears unfolded
« Reply #7 on: December 12, 2015, 09:25:10 pm »

DELETE

Code: [Select]
<script src="themes/curve_responsive2/jquery.js"></script>

FROM themes/curve_responsive2/template.html and install  jQuery update plugin for cpg1.5.x http://forum.coppermine-gallery.net/index.php/topic,77595.0.html .
Logged

sindbad5

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: de
  • Offline Offline
  • Posts: 214
    • My Images - medienarchiv.com
Re: Admin / Configuration Menu appears unfolded
« Reply #8 on: December 14, 2015, 07:34:25 pm »

Allvip, thank you. I have uploaded my theme and asked for support to make it stable. See here:

http://forum.coppermine-gallery.net/index.php/topic,78523.0.html
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 21 queries.