Theme: Cainlevy (Matrix-based)
cainlevy
Joined: 2005-09-21
Posts: 60 |
Posted: Fri, 2005-10-28 03:37 |
Yeah, ok, so it's not a very original name. With this theme I took Matrix and tried to simplify it without losing its flexibility. My primary task was to group areas visually, so I ended up marking off three sections of a page: the sidebar, the item header, and the main content. Hopefully these three sections are now easier to scan. I also simplified the navigation. The page numbers are gone, and the back/forward links have a more prominent position. Still one or two issues there I haven't looked into (I wish "next" didn't disappear on the 2nd to last page), but yeah. Before I made this change I was watching someone use my website, and the mouse cursor roamed around the page for a bit before finding the navigation links. Hopefully people that don't use computers often will find the navigation better now. I appreciate feedback! There are some modules I never tested/themed, so I'm not sure how they'll operate. Let me know... Theme file: http://gallery.cainlevy.net/themes/cainlevy.zip changelog |
|
Posts: 16504
If you want to share you theme for all to use, feel free to register on the Codex and add your theme to the User Contribution page: http://codex.gallery2.org/index.php/Gallery2:UserContributions
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 9
Just trying Gallery 2 for the first time with your Cainlevy theme. So far, really good looking theme, good job.
Posts: 9
Found a problem with this theme. Album frame doesn't apply to a sub album for some reason. Basically, I set the global album frame to Spiral Notebook, then created an Album, then a sub album under it, both using global settings. The Spiral Notebook shows up in the main album, but not in the sub album. Any ideas why?
Posts: 60
Huh. I'm trying to think why that might happen, but can't figure it out. I just tried creating more albums, three deep, on my site, and they all inherited the Spiral Notebook. I even tried changing one of them to another imageframe, but the sub-album still had Spiral Notebook.
One thing to check: on the new album, the one that isn't using the album frame, check the Theme settings and see if the "Use Global" checkbox is checked for Album Frame. I'm guessing it's not, but I don't know how that could be.
Oh, and you already know this, but Cowboy Bebop is awesome.
Posts: 9
Ok, I figured out why. The root "Gallery" album settings wasn't set to use global, so thats why it wasn't working. Sub Albums now have correct global album frames.
One more question, what do I need to do to get that Album or Directory structure you have on left side panel of your Gallery?
And yes, Cowboy Bebop is awesome.
Posts: 60
Ah, for that tree structure you'll want to install the Album Select Block.
Here're my settings for it:
* Sort albums by title
x Connect tree branches with lines
x Show folder icons
Then, edit the default theme blocks (Site Admin -> Themes -> Cainlevy -> Blocks to show in sidebar) to include "Album quick links (DHTML)". And voila!
I've noticed sometimes that if you edit the title of an album, the title in the album selection tree might not update for a bit. Looks like some performance caching.
Posts: 5
Great theme, simple and attractive.
One question though, I can't seem to get counters to display on the album or picture pages, they display fine on the random image block on the sidebar.
Counters display fine with the default theme.
TIA
Michael
Posts: 60
Thanks.
You mean view counters? I'll admit I cut them out completely, without researching how to make it configurable. Turns out it's not that hard to make it configurable, so if you download and upgrade to 1.0.1 (available at the same download location), you'll find that there're two new settings for showing view counts on albums and photos (or, more precisely, non-albums).
When I tested the upgrade on my own website, G2 made me go through the show-stopping upgrade process. Maybe if you don't have Cainlevy on your root album, you can do the album from Site Admin ... my guess is that G2 didn't want to touch v1.0.1 without upgrading, and it couldn't use the Site Admin page without using the theme, so it used the main upgrader.
Posts: 5
Now that's what I call service!!
I've upgraded the theme, with the aid of G2 - it was quite painless really. Works a treat, many thanks for taking the time to do this for me.
If your interested the gallery is at http://www.bletchley-reunion.org.uk/gallery2
I put it up a few days ago as a place for photos from a class 25 year reunion, so I'm still finding my way around the Gallery config etc.
Thanks again
Michael
Posts: 13
Any idea how to add the page numbers back to each album?
[1], [2], [3] (so if you had 10 pages it would show what page your on)
eMax Hosting, LLC - Reliable, Gallery Compatible, Web Hosting Services
Posts: 60
@michaelkent: Looks good, if I say so myself.
@eMax: The page numbers are something else I cut out for simplicity. If I made 'em optional, where would you want them to appear? Maybe right above the other paging buttons, and centered?
Posts: 60
Ah, went ahead and made another update. Version 1.0.2 (available at same download link above) now includes optional page numbers. They're supposed to appear inbetween the prev/next links, but the CSS that does it makes me suspicious, so let me know if it looks misaligned or otherwise funky.
Posts: 5
Looks fine with IE but it's on the line above and on the right of the page with Firefox.
I will leave it on for you to look at. (screenshot now attached in case you don't have Firefox.
Michael
Posts: 60
Michael, you normally use Firefox? It's possible that FF cached it from previously ... try refreshing the page to get the new .css file. I just tested in FF, and refreshing fixed it for me.
Posts: 5
Must have done. I've rebooted the PC since then and it works a treat now
Posts: 7
speaking of alignment... the chainlevy.net logo in the upper right hand corner at 169x99 pix... I was wondering how or where one would insert the code to move it to the center of the header area and what the code would look like... I can make it bigger or smaller, left or right but can not center a 600x120 pix logo... TIA
Posts: 60
You'll want to open up templates/theme.tpl in the cainlevy theme directory and play around with the table structure that begins on line 31. I personally find alignment obscure at best with straight css, but within a table cell horizontal and vertical alignment is well supported.
One hint you might find useful is for centering an object on the horizontal axis by using a css declaration like "margin-left: auto; margin-right: auto;". Other than that, I can't say exactly what you should do.
Maybe you could post your changes here in case other people are also interested in this modification?
Posts: 81
cainlevy,
Can you tell me where and what files you had to change to get the pages numbers to appear at the
top of your albums (once your inside an album).
I'd like my page numbers to appear up top like yours only to the left like they are at the bottom..
thanks
brett
Posts: 60
In templates/album.tpl, I added:
then used theme.css to move the div around where I wanted it.
Posts: 13
Seems your site is down as I'm unable to download the new theme. Thank you for the new update. I'll try back later.
eMax Hosting, LLC - Reliable, Gallery Compatible, Web Hosting Services
Posts: 60
Site should be back up ... Qwest decided, as part of my package upgrade, to disconnect my DSL this morning. Hooray for poorly-considered corporate procedures!
Posts: 19
I switched the color scheme to "Black". But some of the texts changed to white. This made many of the text can't be seen. How to change the text color?
Posts: 60
Hmm, black color scheme. I hadn't tried different color packs before, but I just did, and it certainly doesn't look good. If you wanted to adapt the Cainlevy theme for another color pack you'd need to edit the pictures I use to make rounded corners. I can provide my .xcf (GIMP) file if you're interested.
To fix the text color would be a bit of work. Have you used CSS before? I can tell you generally what needs to be done (you'll want to edit
gallery/themes/cainlevy/theme.css
). But this theme really just isn't color pack friendly.Posts: 19
Thanks Cainlevy. I didn't use CSS before. I really want to fix it, can you kindly give me some advise.
Posts: 19
Or if changing the text color is too complicated, can we just change the background color to from white to dartk grey, just like the Matrix theme.
Posts: 60
Alright, let's see. Again, all of these changes are in
gallery/themes/cainlevy/theme.css
.If you want to just change the background color from white to dark grey, then around line 154, change the line that says
background-color: #fff;
to something likebackground-color: #333;
. Or take that line out completely. This is the easier change to make, but it messes up some images that assume a white background.To change the text, go to the same area (around line 154) and add a new line that says
color: #000;
. Or, for a dark grey, maybecolor: #555;
. You'll notice now that it changed the text color for more than the white area ... it changed the text color for every element that is nested inside the white area, even if the nested element is black or grey. So now the fun part is figuring out what all of those nested elements are, and fixing the text color for them, too. That part will take some investigation.Posts: 31
Are you going to provide an update to the 2.1RC1 G2 Version?
Posts: 3
Hmm, I just installed this theme for the Gallery2 and I can't get the album frames working - there's no "Album Frame" option to check under the Theme settings at all
EDIT: Oops ok, I just had to activate the imageframe-module ;D
Posts: 60
Yep. I'll take a look at it this weekend. Maybe tonight...
Posts: 60
Version 1.0.3 now works with G2.1. You can download this version directly at the link below. Once G2.1 final releases, I'll update the main download link up above to use the 1.0.3 version.
G2.1 Theme file: http://www.cainlevy.net/gallery/themes/cainlevy-1.0.3.zip
Posts: 16
I would really like to use your theme but the download url gives a 404.
EFL Geek
Site5 Hosting
Posts: 60
Thanks for the heads-up. I just now fixed the issue and updated the url in the first post. Oh, wait, it's still slightly wrong. One more quick edit coming up ...
Available @ http://gallery.cainlevy.net/themes/cainlevy.zip
Posts: 9
Hi, I just updated to the latest Gallery 2.2.1 and the Cainlevy 1.0.3 theme is not compatible. The Gallery works but all Site Admin options are broken. I can't even change the theme back to default. Is there another way to change the theme besides through Site Admin > Themes?
Edit: I just followed this direction and got the default Matrix theme to load, so just now waiting for cainlevy to update his theme to work with Gallery 2.2.1.
Posts: 60
so, uh, is anyone interested in updating the theme? i'm actually moving to flickr, and have no plans to continue maintaining the skin. if anyone's interested i can send the latest .zip file.
Posts: 9
I just discovered some major issues after the upgrade, seems too many problems with Gallery. I might move to Flickr or Picasa Web Album too.
Posts: 3
Seemingly http://gallery.cainlevy.net no longer exists, so no place to preview or download this theme.