Ice Theme

Boner

Joined: 2006-08-27
Posts: 133
Posted: Wed, 2007-03-28 20:40

Hello,

i've developed "Ice Theme" for personal needs inspired by Matrix, Sirux
and Carbon. It's based on Matrix and Carbon Theme.

Please let me know what you think.

Demo: http://www.3dserver.net/gallery2/

Download: http://www.3dserver.net/gallery2/themes/ice_theme.zip

Greetings
Boner

Login or register to post comments
valiant

Joined: 2003-01-04
Posts: 31890
Posted: Wed, 2007-03-28 20:48

It's pretty cool ;)

There are a lot of good ideas in there and it looks good as well.

Using thumbs for the peers on the album level seems to work out pretty well. And I like the CSS/style (thumb frame hover effect, active input field color, ...).

Looking forward to seeing this theme in downloadable plugins. ;)

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Wed, 2007-03-28 22:16
Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 9493
Posted: Thu, 2007-03-29 02:55

Created a skeleton codex page:
http://codex.gallery2.org/Gallery2:Themes:ice
Users: please add to the codex page. :-)

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
dizope

Joined: 2007-03-28
Posts: 19
Posted: Fri, 2007-03-30 11:22

I love it!!!!

I thoroughly enjoyed Carbon's look and feel except the slideout sidebar. I will have users that wouldn't be able to figure it out.

I will need to change icons to words. What's the best way to do this?

Also, what would be required to make it have Carbon's colors, a colorpack?

It seems faster than Carbon too... or am I being retarded?

Login or register to post comments
dizope

Joined: 2007-03-28
Posts: 19
Posted: Fri, 2007-03-30 11:31

I just noticed that when the sidebar is disabled, the icon is still visible on the photo page. The icon does nothing but can you change it to be like the other pages. Thanks.

Login or register to post comments
dizope

Joined: 2007-03-28
Posts: 19
Posted: Fri, 2007-03-30 12:07

Another request, lol, sorry to be buggy with your brand new theme...

Can the separator used for gallery paths (the arrows) be changed to the same one used at the top of the page (|)?

Thanks!

Edit: Changed it in theme.tpl.

Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Fri, 2007-03-30 14:44
dizope wrote:
Also, what would be required to make it have Carbon's colors, a colorpack?

New Version 1.1.4 includes an "Ice Carbon"-Colorpack...

Demo: http://www.3dserver.net/gallery2/index.php/v/Carbon/

Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Fri, 2007-03-30 12:06
dizope wrote:
I just noticed that when the sidebar is disabled, the icon is still visible on the photo page. The icon does nothing but can you change it to be like the other pages. Thanks.

Fixed with new Version 1.1.3!

http://www.3dserver.net/gallery2/themes/ice_theme.zip

Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Fri, 2007-03-30 12:10
dizope wrote:
Another request, lol, sorry to be buggy with your brand new theme...

Can the separator used for gallery paths (the arrows) be changed to the same one used at the top of the page (|)?

Thanks!

Yes, just "copy and paste" « !

AttachmentSize
separator.jpg14.81 KB
Login or register to post comments
dizope

Joined: 2007-03-28
Posts: 19
Posted: Fri, 2007-03-30 12:12

Thanks for the update. I will load it tomorrow after I get some sleep and play with the colors and the navigation.

Login or register to post comments
dizope

Joined: 2007-03-28
Posts: 19
Posted: Fri, 2007-03-30 12:14
Boner wrote:
dizope wrote:
Another request, lol, sorry to be buggy with your brand new theme...

Can the separator used for gallery paths (the arrows) be changed to the same one used at the top of the page (|)?

Thanks!

Yes, just "copy and paste" « !

I wanted it the other way. I found it in theme.tpl.

http://www.dizope.com/gallery

Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Fri, 2007-03-30 13:28
dizope wrote:
I wanted it the other way. I found it in theme.tpl.

http://www.dizope.com/gallery

Done! New Version 1.1.4

http://www.3dserver.net/gallery2/themes/ice_theme.zip

AttachmentSize
separator.jpg18.82 KB
Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Fri, 2007-03-30 12:42
dizope wrote:
I love it!!!!

I will need to change icons to words. What's the best way to do this?

The theme.css, album.tpl, photo.tpl and navigator.tpl has to be modified.

See samples in the "Attachment".

AttachmentSize
icons to words.zip10.07 KB
Login or register to post comments
dizope

Joined: 2007-03-28
Posts: 19
Posted: Fri, 2007-03-30 17:41

Sweet, I got ICE Carbon (http://www.dizope.com/gallery) rolling now but not too sure I like it after using the default ICE colorpack. I will see what my wife likes. I certainly liked the blue rollover over better than just the opacity change on thumbnails.

Thanks for making the following changes.

- Separator
- Left column width percentage with the ability to grow!! I have it set to 15% and now it doesn't cut off my navigation tree.
- Slideshow bug in photo.tpl

I will test out the icons-words later tonight.

Thanks again for the awesome theme!

P.S. What is the best way to upgrade a theme? I just spent 30 minutes breaking it then fixing it to get 1.1.4 rolling. Sorry, new to Gallery... :)

Oh, I tried removing the extra separator from the System Links bar but wasn't successful. Where can I omit that? It's the separator after login, seems out of place to me.

Login or register to post comments
dizope

Joined: 2007-03-28
Posts: 19
Posted: Fri, 2007-03-30 17:47

After further testing, I like the ICE colors better. Thanks for letting me compare and have the option.

Login or register to post comments
dizope

Joined: 2007-03-28
Posts: 19
Posted: Fri, 2007-03-30 17:56

haha, some more requests...

On album.tpl, can you make the navigation only span the thumbnails column so it's easier to find the previous link. This should also center the page numbers.

On photo.tpl, can you add Item x of y? Bottom is fine.

Since, I have view slideshow listed as a word link, can you add a disable function to kill the slideshow icon similar to the way the comment buttons don't show. I manually did it in album.tpl and photo.tpl in your previous build.

If this is too much, I can make (well try... hehhe) the tweaks myself.

Thanks again!!!!!

Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Fri, 2007-03-30 18:41
dizope wrote:
P.S. What is the best way to upgrade a theme? I just spent 30 minutes breaking it then fixing it to get 1.1.4 rolling. Sorry, new to Gallery... :)

Use the Gallery-Upgrader: http://www.dizope.com/gallery/upgrade/

dizope wrote:
Oh, I tried removing the extra separator from the System Links bar but wasn't successful. Where can I omit that? It's the separator after login, seems out of place to me.

This is a Gallery-Core function and i am not sure how to do it.

Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Fri, 2007-03-30 18:57
dizope wrote:
haha, some more requests...

On album.tpl, can you make the navigation only span the thumbnails column so it's easier to find the previous link. This should also center the page numbers.

On photo.tpl, can you add Item x of y? Bottom is fine.

I think about it.

dizope wrote:
Since, I have view slideshow listed as a word link, can you add a disable function to kill the slideshow icon similar to the way the comment buttons don't show. I manually did it in album.tpl and photo.tpl in your previous build.

You can modify "modules/slideshow/module.inc function getItemLinks"

Replace:

    /**
     * @see GalleryModule::getItemLinks
     */
    function getItemLinks($items, $wantsDetailedLinks, $permissions) {
	$links = array();
	foreach ($items as $item) {
	    $itemId = $item->getId();
	    if (isset($wantsDetailedLinks[$itemId])) {
		$links[$itemId][] =
		    array('text' => $this->translate('View Slideshow'),
			  'params' => array(
			      'view' => 'slideshow.Slideshow',
			      'itemId' => $itemId));
	    }
	}
	return array(null, $links);
    }

with:

    /**
     * @see GalleryModule::getItemLinks
     */
    function getItemLinks($items, $wantsDetailedLinks, $permissions) {
	$links = array();
	foreach ($items as $item) {
		if ($item->getCanContainChildren()) {
			list($ret, $ids) = GalleryCoreApi::fetchChildDataItemIds($item);
		}
	    $itemId = $item->getId();
	    if (isset($wantsDetailedLinks[$itemId]) && count($ids)>0) {
		$links[$itemId][] =
		    array('text' => $this->translate('View Slideshow'),
			  'params' => array(
			      'view' => 'slideshow.Slideshow',
			      'itemId' => $itemId));
	    }
	}
	return array(null, $links);
    }
AttachmentSize
slideshow_hack.zip1.66 KB
Login or register to post comments
dizope

Joined: 2007-03-28
Posts: 19
Posted: Fri, 2007-03-30 19:09
Boner wrote:
Use the Gallery-Upgrader: http://www.dizope.com/gallery/upgrade/

So just unzip it to the gallery root then go to that page?

Ultimatly, that's what I did but the upgrade page displayed automagically.

Boner wrote:
This is a Gallery-Core function and i am not sure how to do it.

That's okay. I saw somewhere there is a contactowner module that I would like implement that fixes it. Thanks for looking at it.

Login or register to post comments
dizope

Joined: 2007-03-28
Posts: 19
Posted: Fri, 2007-03-30 19:12

[quote=Boner
I think about it.

Sweet!

I will check out the hack later. Thanks again!

Ice Theme #1 Fan!!!

Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Fri, 2007-03-30 20:02
dizope wrote:
Boner wrote:
Use the Gallery-Upgrader: http://www.dizope.com/gallery/upgrade/

So just unzip it to the gallery root then go to that page?

Ultimatly, that's what I did but the upgrade page displayed automagically.

Extract "ice_theme.zip" on your PC and transfer the folders "themes" and "modules" with your FTP-Program in your gallery root folder (overwrite all files).

Login or register to post comments
dizope

Joined: 2007-03-28
Posts: 19
Posted: Fri, 2007-03-30 23:47
Boner wrote:
Extract "ice_theme.zip" on your PC and transfer the folders "themes" and "modules" with your FTP-Program in your gallery root folder (overwrite all files).

I did that and it broke... I must have messed something up... oh well, it's working.

Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Sat, 2007-03-31 21:45

I'm working now on better "Image Frame" support, this is only a development release and there are still a few bugs...

Stay tuned! :-)

@Edit: New Version 1.2.1 available!

Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Sun, 2007-04-01 19:54

A new version 1.2.2 of Ice theme for Gallery 2.2.x is available.

- Now the theme supports "Floating Items"
- Size of floating items thumbnails.
- Album maximum number of micro navigation thumbnails.
- Album columns per micro navigation thumbnails.
- Album Size of micro navigation thumbnails.
- Fixed the "Image Frame" bugs.

Demo: http://www.3dserver.net/gallery2/index.php/v/FloatingItems/

Download: http://www.3dserver.net/gallery2/themes/ice_theme.zip

Login or register to post comments
bharat
bharat's picture

Joined: 2002-05-21
Posts: 4954
Posted: Sun, 2007-04-01 21:12

Totally awesome! This theme is beautiful.. I'm going to use it on my site. Is it in the gallery-contrib repository? If not, let's get it in there so that we can distribute it via Downloadable Plugins!

Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Mon, 2007-04-02 07:29

Thank you! :-)

I still would like to test some things, after these tests the ice theme will be found in gallery-contrib repository!

Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Wed, 2007-04-04 15:04

A new version 1.2.5 of the ICE theme for Gallery 2.2.x will be released today.

- It features the "Custom Style"-module (based on "Color Pack"), with this module
you can choose different stylesheets for the ICE theme (to override theme.css).

- Now the theme supports "Floating Items no padding" with colorpacks ("Custom Style"-module requiert)

Demo "Floating Items" with "Ice Carbon" colorpack:
http://www.3dserver.net/gallery2/index.php/v/FloatingItems/IceCarbon/

Floating items with "Ice Default" colors:
http://www.3dserver.net/gallery2/index.php/v/FloatingItems/IceDefault/

Floating items:
http://www.3dserver.net/gallery2/index.php/v/FloatingItems/

NJoy!

Login or register to post comments
blackshadow

Joined: 2007-04-04
Posts: 4
Posted: Thu, 2007-04-05 08:30

Great theme; the best I have seen in my trialling of Gallery. I aim to use this theme as the basis for my new and improved website. I just need to learn how to customise and integrate it into my site.

Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Thu, 2007-04-05 12:30
Login or register to post comments
zarxic

Joined: 2007-04-05
Posts: 1
Posted: Thu, 2007-04-05 15:12

Ok, I'm fairly new to Gallery. I'm trying to "disable" the sidebar so it's always showing and not a slideout, but I can't find an option for it anywhere. Is this only something that can be done by editing the template files?

Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Thu, 2007-04-05 17:31

Delete all blocks from "Blocks to show in the sidebar".

Add "Item Actions" block to "Blocks to show on album pages (below description)"

Screenshot:

http://www.3dserver.net/gallery2/index.php/v/KeineSidebar/zAdministration.jpeg.html

Login or register to post comments
jsrentals
jsrentals's picture

Joined: 2007-04-05
Posts: 2
Posted: Fri, 2007-04-06 00:05

I'm trying to see how to adda template to the script to go on every page. I have template for a site at www.deadearth.net that I want to convert to another site Im making for a tattoo parlor using G2... does anyone know how to go about this?

Thanks

Login or register to post comments
raghadmukhaimer

Joined: 2007-03-20
Posts: 9
Posted: Sun, 2007-04-08 21:30

Great theme!

I have two questions/issues:

1) When a photo is opened in a page (i.e. www.domain.com/gallery/album/pic.jpg.html), you can click the image (i.e. 640x480) and the page will reload with the image in full-size within gallery. If you click the full-size image, it will go back to the initial page with the small image. I am using Ice in an embedded WordPress, and the large image distorts the layout of the page. Is there a way to disable this feature?

2) How is it possible to remove the Gallery2 logo at the top? or move it to the bottom (footer)?

Thanks in advance.

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 9493
Posted: Mon, 2007-04-09 04:19

1) dont give users permissions to view the larger images

2) in the css the logo is the background image where the system links reside, remove:
background-image: url('../ice/images/logo.png');

_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Mon, 2007-04-09 06:46

1) edit photo.tpl

Replace:

{if $theme.imageViewsIndex==0}
  {assign var="nextIndex" value=1}
{elseif $theme.imageViewsIndex==count($theme.imageViews)-1}
  {assign var="nextIndex" value=0}
{else}
  {assign var="nextIndex" value=$theme.imageViewsIndex+1}
{/if}

with:

  {assign var="nextIndex" value=0}

2) edit the theme.css:

Replace:

#gsHeader{
  height: 58px; 
  text-align: left; 
  padding: 0 0 0 0;
  border: 0 0 0 0; 
  background-image: url('../ice/images/logo.png'); 
  background-repeat: no-repeat;
}

with:

#gsHeader{
  height: 0px; 
}
Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Mon, 2007-04-09 10:11

A new version 1.2.8 of the ICE theme for Gallery 2.2.x is available.

- Show item links (album pages).
- Show item title (album pages).
- Show item date (album pages).
- Show item size (album pages).
- Show item view count (album pages).
- Show photo sizes (photo pages).
- Disable view image inline full size (photo pages).
- Show image size (album and photo pages).
- Micro thumbs page navigator.

http://www.3dserver.net/gallery2/

NJoy!

Login or register to post comments
raghadmukhaimer

Joined: 2007-03-20
Posts: 9
Posted: Mon, 2007-04-09 11:43

Your directions for 1) worked great. The image is still a link. When clicked, it refreshed with the same image. Is it posible to remove the link?

I followed the directions for 2) but I think my server/client needs to clear the cache. The logo is still showing, but i'll keep trying and see how it goes.

Thanks!

Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Mon, 2007-04-09 11:50
raghadmukhaimer wrote:
Your directions for 1) worked great. The image is still a link. When clicked, it refreshed with the same image. Is it posible to remove the link?

Use the new Version of ICE theme http://www.3dserver.net/gallery2/themes/ice_theme.zip
and "Disable view image inline full size (photo pages)" in "Site Admin" -> "Themes".

Login or register to post comments
tmas73

Joined: 2006-09-01
Posts: 28
Posted: Mon, 2007-04-09 19:49

I cant get the custom logo to show up. What should I put as path? It worked fine with the carbon theme but if I add the same url to the ice theme it will be ignored and the gallery logo stays.

Thanks
T

Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Mon, 2007-04-09 19:57

Replace "themes/ice/images/logo.png" with your logo.

Edit height in theme.css (if your logo is higher)

#gsHeader{
  height: 58px; 
  text-align: left; 
  padding: 0 0 0 0;
  border: 0 0 0 0; 
  background-image: url('../ice/images/logo.png'); 
  background-repeat: no-repeat;
}
Login or register to post comments
tmas73

Joined: 2006-09-01
Posts: 28
Posted: Mon, 2007-04-09 20:49

Nice thanks for the help. What if I dont want a logo at all can I cancel it out somehow?

By the way great job on this theme, I'm a carbon lover and this theme makes it a lot better

Thanks for the work

T

Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Mon, 2007-04-09 20:56

Yes, edit theme.css and replace:

#gsHeader{
  height: 58px; 
  text-align: left; 
  padding: 0 0 0 0;
  border: 0 0 0 0; 
  background-image: url('../ice/images/logo.png'); 
  background-repeat: no-repeat;
}

with:

#gsHeader{
  height: 0px; 
}
Login or register to post comments
raghadmukhaimer

Joined: 2007-03-20
Posts: 9
Posted: Wed, 2007-04-11 20:41

Everything worked like a charm. Thanks for the help, I really appreciate it. Great theme too!

Login or register to post comments
raghadmukhaimer

Joined: 2007-03-20
Posts: 9
Posted: Fri, 2007-04-13 22:18

One more thing. My Gallery2 in embedded in a Wordpress. I would like to add a link in the navigation before (Gallery >> ...) linking to the home page. I think it's in the navigator.tpl file, but it looked pretty intense and I don't wanna mess anything up.

So basically, I would like (Home >> Gallery >> ...) and "Home" linking to http://...

Thanks again!

Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Fri, 2007-04-13 23:40

No, you must edit the theme.tpl file.

Replace:

<div class="gbBreadCrumb">
   {g->block type="core.BreadCrumb" separator=$BreadCrumbSeparator}
</div>

with:

<div class="gbBreadCrumb">
<table cellspacing="0" cellpadding="0"><tr>
<td valign="bottom">
<a href="/">Home</a> {$BreadCrumbSeparator} &nbsp;
</td>
<td>
{g->block type="core.BreadCrumb" separator=$BreadCrumbSeparator}</td>
</tr>
</table>
</div>
Login or register to post comments
sandbag
sandbag's picture

Joined: 2003-05-25
Posts: 52
Posted: Sun, 2007-04-15 18:44

Where do I go to change the text located on the left hand side of the top level: "This is the main page of your Gallery" I see it in the DB via phpMyAdmin, but there has to be a better way.

:::EDIT, I FIGURED IT OUT::::

Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Sun, 2007-04-15 19:05
Login or register to post comments
robroe

Joined: 2007-04-17
Posts: 4
Posted: Tue, 2007-04-17 14:24

Hi,

Love your theme. I have installed it on my gallery2 installation (v2.2.1) and it is all working great except I can't quite work out the correct settings to get the floating no padding theme exactly as yours is at http://www.3dserver.net/gallery2/index.php/v/FloatingItems/IceDefault/ .

I am trying to get my topmost gallery to display in this fashion and I have tried going in to "Edit album" and setting the custom theme dropdown to "Floating Items no padding". I have also set the number of columns/rows to a higher value and set the frames to none. I am still getting padding between the images. What am I doing wrong?

Thanks

Rob

Login or register to post comments
Boner

Joined: 2006-08-27
Posts: 133
Posted: Tue, 2007-04-17 18:21

You must install the "Custom Style"-Module (comes with ICE Theme) and select "Theme" -> "Custom Style" -> "Ice - Floating Items No Padding".

See also the screenshot.

AttachmentSize
ICE_FloatingItems.jpg194.43 KB
Login or register to post comments
robroe

Joined: 2007-04-17
Posts: 4
Posted: Tue, 2007-04-17 20:53

Thats brilliant thanks. I think I had everything except the "Show Childs As" set to Floating and the correct number of columns. Thanks again.

Rob

Login or register to post comments