Admin / Configuration Menu appears unfolded Admin / Configuration Menu appears unfolded
 

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

Admin / Configuration Menu appears unfolded

Started by sindbad5, December 06, 2015, 08:01:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sindbad5

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


phill104

It is a mistake to think you can solve any major problems just with potatoes.

sindbad5

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

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

Tom

hnoor0011

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

sindbad5

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

allvip

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


<script src="themes/curve_responsive2/jquery.js"></script>


and



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

sindbad5

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

allvip

DELETE


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

sindbad5

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