Advanced search  

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

Pages: [1]   Go Down

Author Topic: TaBoRaMa : Theme for cpg1.4.x  (Read 20897 times)

0 Members and 1 Guest are viewing this topic.

zac

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 153
TaBoRaMa : Theme for cpg1.4.x
« on: August 04, 2007, 11:33:56 am »

Hello Copperminers,

At last I have something to share with you all.  After a few years of endlessly tweaking themes I came up with something I liked.  The coppermine interface is now all controlled through tabbed browsing as I learned about from this article:

http://www.alistapart.com/articles/slidingdoors2/

Many of CPGs default tables have been replaced with CSS.

I am using Stramms modpack and it has only been tested with that installed.. it should be fine without though. 

One of the theme hacks is a better breadcrumb that Paver came up with here:

http://forum.coppermine-gallery.net/index.php?topic=31889.0

I included the spiffy new CPG logo in the header.  That is easy enough to change, if you want to put your own site name there just edit the graphic 800top.jpg in the images folder.

Let me know if you have any suggestions, questions, problems. ..  and if you use it, leaving my credits link alone would be much appreciated :)

Cheers!

Zac
www.folkphotography.com


[Edit GauGau] Theme attachment removed because it contained a minor flaw. Please scroll down for the download link [/Edit]
« Last Edit: August 05, 2007, 06:03:26 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: TaBoRaMa : Theme for cpg1.4.x
« Reply #1 on: August 04, 2007, 01:35:23 pm »

I am using Stramms modpack and it has only been tested with that installed.. it should be fine without though. 
Sorry, it doesn't work with a standard coppermine install (without the modpack). I'll review it and change it accordingly asap and post the needed changes.

Thanks for your contribution.
Logged

zac

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 153
Re: TaBoRaMa : Theme for cpg1.4.x
« Reply #2 on: August 05, 2007, 10:12:46 am »

Oop. .thanks for that GauGau.  It is a simple fix if anyone downloaded the bad one.  The only change from the modpack is to remove the friends link from the theme.  Remove the following code:

Code: [Select]
<!-- BEGIN my_friends -->
                                       
                                           <li>     <a href="{MY_BUDDY_TGT}">{MY_BUDDY_LNK}</a>
                                        </li>
<!-- END my_friends -->

I also had the wrong path to the css  :-[ 

Change in the head of the template:
Code: [Select]
<link rel="stylesheet" href="themes/classic/style.css" type="text/css" />to

Code: [Select]
<link rel="stylesheet" href="themes/taborama/style.css" type="text/css" />
I attached the fixed (I hope) version

Also... I forgot to mention, to make this template look right, you need to change the width of the main table.  GO to config-->Album List View-->Width of the main table : make this 600px
Logged

zac

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 153
Re: TaBoRaMa : Theme for cpg1.4.x
« Reply #3 on: August 05, 2007, 10:22:48 am »

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: TaBoRaMa : Theme for cpg1.4.x
« Reply #4 on: August 05, 2007, 05:58:02 pm »

Ah, now I can finally see the theme as expected (without the reference to the proper stylesheet it looked a bit "classical" ;)). It really rocks, especially the tabs look very cool.

The only thing I changed is reversing the order of the admin menu and the custom header token in template.html, as we use the custom_header feature to include the overall site navigation on the demo (which is what most use it for).

Take a look at the Demo and Download section. Thanks for your great contribution.

Attached is a screenshot for a quick preview.
« Last Edit: August 09, 2007, 08:05:28 am by GauGau »
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: TaBoRaMa : Theme for cpg1.4.x
« Reply #5 on: August 05, 2007, 06:41:04 pm »

Hey, nice theme,

only a little cosmetic problem with the "page navigation" on the bottom of the page. (see attached screen capture)
CSS should be modified for the .navmenu class
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

zac

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 153
Re: TaBoRaMa : Theme for cpg1.4.x
« Reply #6 on: August 08, 2007, 07:22:47 am »

Great :)  Glad you like it.  Thanks for pointing that out Frantz, I was testing it with just a few pics so never saw page numbers.  I fixed it and attached it to this post.  I also added a style switching script and now you can resize the gallery closer to what your screen size is.  I recommend setting your main table in the config at 90% and it should work well. 

A demo of this with the switcher is now at : http://www.folkphotography.com/cpgtest/



« Last Edit: August 08, 2007, 07:34:56 am by zac »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: TaBoRaMa : Theme for cpg1.4.x
« Reply #7 on: August 08, 2007, 09:07:44 am »

The style-switcher is nice, but (and there's always a "but") it doesn't play nicely if a visitor has turned of JavaScript (that's to be expected) and doesn't default nicely to one of the resolutions. Additionally, it doesn't work well with our demo, as we already use an onload event in the custom header include. That's why I can't upgrade the theme in the demo to the most recent version v3 that you contributed.
However, I have added version 3 to the downloads section: http://downloads.sourceforge.net/coppermine/cpg1.4.x_theme_taborama_styleswitcher.zip
As suggested previously, the {CUSTOM_HEADER} token in template.html should be located above the admin menu.
« Last Edit: August 09, 2007, 08:06:05 am by GauGau »
Logged

zac

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 153
Re: TaBoRaMa : Theme for cpg1.4.x
« Reply #8 on: August 08, 2007, 09:34:49 am »

yea.. you right.  thanks for the feedback.  that version was pretty unnecessary and buggy i realized ...still kinda fun tho  ;D
I dont mind if you just delete that version... I was getting carried away. 

The css code should be changed to fix that navmenu problem in the other version :

Code: [Select]
.navmenu {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        color: #666666;
        font-size: 100%;
        font-weight: bold;
        background : #ffffff ;
        border-style: none;
}

.navmenu img {
        margin-top: 1px;
        margin-right: 5px;
        margin-bottom: 1px;
        margin-left: 5px;
}

.navmenu a {
display: block;
padding-top: 2px;
padding-right: 5px;
padding-bottom: 2px;
padding-left: 5px;
text-decoration: none;
color: #666666;
background-color: #FFFFFF;
}

.navmenu a:hover {
        background : #EFEFEF ;
        text-decoration: none;
        color:         #000000;
}

  i think it is time for me to start a new project :P 
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: TaBoRaMa : Theme for cpg1.4.x
« Reply #9 on: August 09, 2007, 08:07:53 am »

Thanks for the update. I re-packaged both flavors of the theme (the one with the style switcher and the one without it), re-uploaded the packages to the download repository and changed the links in avove postings accordingly.
Logged

zac

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 153
Re: TaBoRaMa : Theme for cpg1.4.x
« Reply #10 on: August 09, 2007, 10:46:33 am »

cool, thanks GauGau  :)
Logged

littlewing1112

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: TaBoRaMa : Theme for cpg1.4.x
« Reply #11 on: December 19, 2007, 08:35:44 am »

Hello,
I m using the last release of firefox under GNU/LINUX ( Ubuntu gutsy ) and it seems your theme is not working very well on this platform. I guess the bug is in the background description (css ?)

If you want, i m available to do any test or patch under this platform
The desktop screenshot is in attachment
Thanks in advance !!!

Regards,
Alexandre
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: TaBoRaMa : Theme for cpg1.4.x
« Reply #12 on: December 19, 2007, 08:55:40 am »

Not a valid reply to an announcement thread.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: TaBoRaMa : Theme for cpg1.4.x
« Reply #13 on: December 19, 2007, 08:56:14 am »

I'd appreciate if you post your theme on the modpack board as well ;)

zac

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 153
Re: TaBoRaMa : Theme for cpg1.4.x
« Reply #14 on: December 19, 2007, 10:42:45 pm »

@littlewing1112 - yup I have the url pointing to my own site for the background image and the wrong background color.. in the style css change:

Code: [Select]
body {
        font-family : Verdana, Arial, Helvetica, sans-serif;
        font-size: 12px;
        background-image:   url(http://www.folkphotography.com/style_images/bg.jpg);
                background-repeat:repeat;
        color:#111111;
        margin: 0px;
}

to

Code: [Select]
body {
        font-family : Verdana, Arial, Helvetica, sans-serif;
        font-size: 12px;
        background-image:   url(images/bg.jpg);
                background-repeat:repeat;
        color:#999999;
        margin: 0px;
}

@ Stramm - I am working on a better version of this theme so I will ...
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 22 queries.