forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: sindbad5 on December 06, 2015, 08:01:06 am

Title: Admin / Configuration Menu appears unfolded
Post by: sindbad5 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

Title: Re: Admin / Configuration Menu appears unfolded
Post by: phill104 on December 06, 2015, 10:57:46 am
A link to see what is going on will help.
Title: Re: Admin / Configuration Menu appears unfolded
Post by: sindbad5 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
Title: Re: Admin / Configuration Menu appears unfolded
Post by: hnoor0011 on December 09, 2015, 08:32:05 am
How can I avoid this? I don't the see the adjustment.
Title: Re: Admin / Configuration Menu appears unfolded
Post by: sindbad5 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
Title: Re: Admin / Configuration Menu appears unfolded
Post by: allvip 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 (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.
Title: Re: Admin / Configuration Menu appears unfolded
Post by: sindbad5 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
Title: Re: Admin / Configuration Menu appears unfolded
Post by: allvip 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 (http://forum.coppermine-gallery.net/index.php/topic,77595.0.html) .
Title: Re: Admin / Configuration Menu appears unfolded
Post by: sindbad5 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