September 02, 2010, 03:21:00 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: The wait is over - Coppermine 1.5.8 [stable] is here
It is with great pride that the Coppermine community announces to the world the immediate availability of Coppermine 1.5.8 stable. As a community of contributors, we have been through celebrations and tribulations. We have had fun, and we have worked hard. We have learned from and helped one another. What started two and a half years ago has grown into what we believe to be the finest PHP photo gallery yet.
[more]
   Home   Help Search Board rules Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: TaBoRaMa : Theme for cpg1.4.x  (Read 10111 times)
0 Members and 1 Guest are viewing this topic.
zac Topic starter
Contributor
***
Posts: 153



« on: August 04, 2007, 10: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 Smiley

Cheers!

Zac
www.folkphotography.com


[Edit GauGau] Theme attachment removed because it contained a minor flaw. Please scroll down for the download link [/Edit]


* tabss1.jpg (43.48 KB, 700x664 - viewed 1171 times.)

* tabss2.jpg (54.31 KB, 700x874 - viewed 738 times.)
« Last Edit: August 05, 2007, 05:03:26 pm by GauGau » Logged
Joachim Müller
Dev Team member
****
Gender: Male
Germany Germany

Posts: 47735


aka "GauGau"


WWW
« Reply #1 on: August 04, 2007, 12: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 Topic starter
Contributor
***
Posts: 153



« Reply #2 on: August 05, 2007, 09: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:
<!-- 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  Embarrassed 

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

Code:
<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

* taborama_fixed.zip (85.89 KB - downloaded 397 times.)
Logged
zac Topic starter
Contributor
***
Posts: 153



« Reply #3 on: August 05, 2007, 09:22:48 am »

live demo: http://www.folkphotography.com/cpgzthemed/index.php
Logged
Joachim Müller
Dev Team member
****
Gender: Male
Germany Germany

Posts: 47735


aka "GauGau"


WWW
« Reply #4 on: August 05, 2007, 04: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" Wink). 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.


* taborama.jpg (197.55 KB, 848x456 - viewed 575 times.)
« Last Edit: August 09, 2007, 07:05:28 am by GauGau » Logged
François Keller
Dev Team member
****
Gender: Male
France France

Posts: 8186


aka Frantz


WWW
« Reply #5 on: August 05, 2007, 05: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


* pagenavigator.JPG (40.51 KB, 712x289 - viewed 576 times.)
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 Topic starter
Contributor
***
Posts: 153



« Reply #6 on: August 08, 2007, 06:22:47 am »

Great Smiley  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/




* taboramav3.zip (115.15 KB - downloaded 386 times.)
« Last Edit: August 08, 2007, 06:34:56 am by zac » Logged
Joachim Müller
Dev Team member
****
Gender: Male
Germany Germany

Posts: 47735


aka "GauGau"


WWW
« Reply #7 on: August 08, 2007, 08: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, 07:06:05 am by GauGau » Logged
zac Topic starter
Contributor
***
Posts: 153



« Reply #8 on: August 08, 2007, 08:34:49 am »

yea.. you right.  thanks for the feedback.  that version was pretty unnecessary and buggy i realized ...still kinda fun tho  Grin
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:
.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 Tongue 
Logged
Joachim Müller
Dev Team member
****
Gender: Male
Germany Germany

Posts: 47735


aka "GauGau"


WWW
« Reply #9 on: August 09, 2007, 07: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 Topic starter
Contributor
***
Posts: 153



« Reply #10 on: August 09, 2007, 09:46:33 am »

cool, thanks GauGau  Smiley
Logged
littlewing1112
Coppermine newbie

Posts: 3


« Reply #11 on: December 19, 2007, 07: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


* index.php.png (163.01 KB, 1280x951 - viewed 503 times.)
Logged
Joachim Müller
Dev Team member
****
Gender: Male
Germany Germany

Posts: 47735


aka "GauGau"


WWW
« Reply #12 on: December 19, 2007, 07:55:40 am »

Not a valid reply to an announcement thread.
Logged
Stramm
Dev Team member
****
Gender: Male
Posts: 5763



« Reply #13 on: December 19, 2007, 07:56:14 am »

I'd appreciate if you post your theme on the modpack board as well Wink
Logged

my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/
zac Topic starter
Contributor
***
Posts: 153



« Reply #14 on: December 19, 2007, 09: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:
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:
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
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Page created in 0.142 seconds with 17 queries.