Ice Theme

aharami

Joined: 2007-04-16
Posts: 47
Posted: Sun, 2007-10-21 19:00

also, another question. ice_default and ice_carbon imageframes change color to blue and gray on hover. How do I get to change the hover color? I tried editing the imageframes, but that didnt work.

 
Boner

Joined: 2006-08-27
Posts: 133
Posted: Tue, 2007-10-23 18:38
aharami wrote:
also, another question. ice_default and ice_carbon imageframes change color to blue and gray on hover. How do I get to change the hover color? I tried editing the imageframes, but that didnt work.

In combination with the "Color Packs" (color.css files) ...

 
aharami

Joined: 2007-04-16
Posts: 47
Posted: Thu, 2007-10-25 18:14

Thanks a lot, Boner. figured it out. for those of using firefox, Firebug is an indispensable tool. It lets you dive down into the HTML to see what CSS id/class is being applied to any specific part of the page. it also lets you modify CSS on the fly to test out any changes (wont let you save any changes though, which makes sense cuz then you can go around editing other people's sites).

Has anyone tried integrating Lightbox into this theme? I was playing with it last night but I must be doing something wrong as I cant seem to get it to work properly.

 
pauschpageDOTcom

Joined: 2004-03-20
Posts: 118
Posted: Fri, 2007-10-26 10:33

another question: how is it possible to mark new items with this plugin?

 
aharami

Joined: 2007-04-16
Posts: 47
Posted: Sat, 2007-10-27 06:35

Why does IE7 suck so much? I tweaked this theme to look exactly the way I want in Firefox. Opened it up in IE and found out that certain things dont render the way I want them to in IE.
Take a look at the two screenshot links
IE - http://pics.apartment808.com/users/aharami/gallery_ie.jpg
FFX - http://pics.apartment808.com/users/aharami/gallery_ffx.jpg

I have colorpacks disabled and I set the links under theme.css to

Quote:
#gallery a {
font-size: 11px;
font-weight: normal;
text-decoration: none;
color: /*#5b7cb6; */ #4295c8; /*rak*/
color:
}
#gallery a:hover {
text-decoration: /*underline;*/ none; /*rak*/
color: /*#f4560f;*/ #DF1B4C; /*rak*/
}
#gallery a:active {
text-decoration: none;
color: #f9c190;
}

yet the links (guest the bottom, edit/delete in the comments, and the dtree above the Random Image) dont render the color I want it to (#4295c8). Hover color works fine. What I dont get is why are those links not rendering the correct color, but the Systemlinks (site admin/your account/logout) below the header image, which are set to #c3c3c3, rendering correctly.

Also i have the menus (Blog, About, Guestbook, etc) faded out using

Quote:
.menu li a {
font-size: 1em !important;
color: white !important;
margin: 0;
background: black;
border: 1px solid black;
-moz-border-radius: 7px 7px 0px 0px;
opacity:.40;
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=40);
}

.menu li a:hover {
background: #080F15;
border: 1px solid #080F15;
-moz-border-radius: 7px 7px 0px 0px;
color: white !important;
text-decoration: none;
opacity:.80;
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=80);
}

.menu li.current_page_item a,
.menu li.current_page_item a:hover,
.menu li.current_page_item a:visited {
background: #080F15;
border: 1px solid #080F15;
-moz-border-radius: 7px 7px 0px 0px;
color: white !important;
text-decoration: none;
opacity: 1;
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
}

These render fine in FFX, but not in IE7.

Any thoughts on why this is happening?

 
aharami

Joined: 2007-04-16
Posts: 47
Posted: Tue, 2007-10-30 03:01

Boner, can you give me some direction as to how to make Lightbox work with your theme?
Im following these directions - http://codex.gallery2.org/Gallery2:Lightbox_JS_Tutorial.

As I gather, album.tpl code that's mentioned in that tutorial is in childs.tpl in your theme. Im trying to edit childs.tpl but cant seem to get it working properly. Thanks in advance.

 
Boner

Joined: 2006-08-27
Posts: 133
Posted: Tue, 2007-10-30 16:08
aharami wrote:
Boner, can you give me some direction as to how to make Lightbox work with your theme?
Im following these directions - http://codex.gallery2.org/Gallery2:Lightbox_JS_Tutorial.

As I gather, album.tpl code that's mentioned in that tutorial is in childs.tpl in your theme. Im trying to edit childs.tpl but cant seem to get it working properly. Thanks in advance.

Sorry, but at the moment I have no time to assist.

 
aharami

Joined: 2007-04-16
Posts: 47
Posted: Wed, 2007-10-31 17:21

Boner, I understand you're busy, but if you just answer a simple question..
I got lightbox working with your theme, but lightbox opens up on both album and image thumbnails. I only want it to open up on image thumbnails. To me it seems like code should function correctly, but it's not.
Here is the original childs.tpl code

{if ($child.canContainChildren || $child.entityType == 'GalleryLinkItem')}
    	{assign var=frameType value="albumFrame"}
        {capture assign=linkUrl}{g->url arg1="view=core.ShowItem"
				        arg2="itemId=`$child.id`"}{/capture}
    {else}
        {assign var=frameType value="itemFrame"}
		{capture assign=linkUrl}
	 	{strip}
	  		{if $theme.params.dynamicLinks == 'jump'}
	    		{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}
	  		{else}
	    		{g->url params=$theme.pageUrl arg1="itemId=`$child.id`"}
	  		{/if}
	  	{/strip}
		{/capture}
    {/if}
	<div>
	{strip}
		{if isset($theme.params.$frameType) && isset($child.thumbnail)}
			{g->container type="imageframe.ImageFrame" frame=$theme.params.$frameType
				      width=$child.thumbnail.width height=$child.thumbnail.height}
			  <a href="{$linkUrl}" alt="{$title}" title="{$title}">
			      {g->image id="%ID%" item=$child image=$child.thumbnail class="%CLASS% giThumbnail"}
				</a>
			{/g->container}
		{elseif isset($child.thumbnail)}
		  <a href="{$linkUrl}" alt="{$title}" title="{$title}">
		    {g->image item=$child image=$child.thumbnail class="giThumbnailIce"}
          </a>
		{else}
		  <a href="{$linkUrl}" class="giMissingThumbnail">
		    {g->text text="no thumbnail"}
		  </a>
		{/if}
	{/strip}
	</div>

and here is my edited code

	{if ($child.canContainChildren || $child.entityType == 'GalleryLinkItem')}
    	{assign var=frameType value="albumFrame"}
        {capture assign=linkUrl}{g->url arg1="view=core.ShowItem"
				        arg2="itemId=`$child.id`"}{/capture}
    {else}
        {assign var=frameType value="itemFrame"}
		{capture assign=linkUrl}
	 	{strip}
	  		{if $theme.params.dynamicLinks == 'jump'}
	--->   		{g->url arg1="view=core.DownloadItem" arg2="itemId=`$child.resizedId`"}
	  		{else}
	    		{g->url params=$theme.pageUrl arg1="itemId=`$child.id`"}
	  		{/if}
	  	{/strip}
		{/capture}
    {/if}
	<div>
	{strip}
		{if isset($theme.params.$frameType) && isset($child.thumbnail)}
			{g->container type="imageframe.ImageFrame" frame=$theme.params.$frameType
				      width=$child.thumbnail.width height=$child.thumbnail.height}
	--->		  <a href="{$linkUrl}" alt="{$title}" title="{$title}" rel="lightbox[photos]">
			      {g->image id="%ID%" item=$child image=$child.thumbnail class="%CLASS% giThumbnail"}
				</a>
			{/g->container}
		{elseif isset($child.thumbnail)}
	--->	  <a href="{$linkUrl}" alt="{$title}" title="{$title}" rel="lightbox[photos]">
		    {g->image item=$child image=$child.thumbnail class="giThumbnailIce"}
          </a>
		{else}
		  <a href="{$linkUrl}" class="giMissingThumbnail">
		    {g->text text="no thumbnail"}
		  </a>
		{/if}
	{/strip}
	</div>

Those 3 lines are the only places where I changed the code to make lightbox open on image thumbnails. yet it's opening on album thumbnails also.
Which part of the code links to an album?

 
aharami

Joined: 2007-04-16
Posts: 47
Posted: Thu, 2007-11-01 06:58

nevermind, figured it out. I put the canContainChildren if within the frametype if and lightbox only works with image thumbnails now. mustve been something with the "capture linkurl" method that was being used before.

for anyone who wants to make Lightbox work with the Ice theme, follow the first few steps from this link, but when you get to the part where it tells you edit album.tpl, look below. Changes should work for Ice, matrix, and carbon themes since they all use the capture linkUrl method.
Original code from childs.tpl

{if ($child.canContainChildren || $child.entityType == 'GalleryLinkItem')}
    	{assign var=frameType value="albumFrame"}
        {capture assign=linkUrl}{g->url arg1="view=core.ShowItem"
				        arg2="itemId=`$child.id`"}{/capture}
    {else}
        {assign var=frameType value="itemFrame"}
		{capture assign=linkUrl}
	 	{strip}
	  		{if $theme.params.dynamicLinks == 'jump'}
	    		{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}
	  		{else}
	    		{g->url params=$theme.pageUrl arg1="itemId=`$child.id`"}
	  		{/if}
	  	{/strip}
		{/capture}
    {/if}
	<div>
	{strip}
		{if isset($theme.params.$frameType) && isset($child.thumbnail)}
			{g->container type="imageframe.ImageFrame" frame=$theme.params.$frameType
				      width=$child.thumbnail.width height=$child.thumbnail.height}
			  <a href="{$linkUrl}" alt="{$title}" title="{$title}">
			      {g->image id="%ID%" item=$child image=$child.thumbnail class="%CLASS% giThumbnail"}
				</a>
			{/g->container}
		{elseif isset($child.thumbnail)}
		  <a href="{$linkUrl}" alt="{$title}" title="{$title}">
		    {g->image item=$child image=$child.thumbnail class="giThumbnailIce"}
          </a>
		{else}
		  <a href="{$linkUrl}" class="giMissingThumbnail">
		    {g->text text="no thumbnail"}
		  </a>
		{/if}
	{/strip}
	</div>

My modified code to make lightbox work (similar changes should be made to childsblog.tpl and childsfloat.tpl if you want to show children as blog or float)

{if ($child.canContainChildren || $child.entityType == 'GalleryLinkItem')}
    	{assign var=frameType value="albumFrame"}
    {else}
        {assign var=frameType value="itemFrame"}
    {/if}
	<div>
	{strip}
		{if isset($theme.params.$frameType) && isset($child.thumbnail)}
		 {g->container type="imageframe.ImageFrame" frame=$theme.params.$frameType
		 width=$child.thumbnail.width height=$child.thumbnail.height}
			{if ($child.canContainChildren || $child.entityType == 'GalleryLinkItem')}
				<a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}" alt="{$title}" title="{$title}">
			{else}
				{if $theme.params.dynamicLinks == 'jump'}
					<a href="{g->url arg1="view=core.DownloadItem" arg2="itemId=`$child.resizedId`"}" alt="{$title}" title="{$title}" rel="lightbox[photos]">
				{else}
					<a href="{g->url params=$theme.pageUrl arg1="itemId=`$child.id`"}" alt="{$title}" title="{$title}" rel="lightbox[photos]">
				{/if}
			{/if}
			{g->image id="%ID%" item=$child image=$child.thumbnail class="%CLASS% giThumbnail"}
				</a>
			{/g->container}
		{elseif isset($child.thumbnail)}
			{if ($child.canContainChildren || $child.entityType == 'GalleryLinkItem')}
				<a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}" alt="{$title}" title="{$title}">
			{else}
				{if $theme.params.dynamicLinks == 'jump'}
					<a href="{g->url arg1="view=core.DownloadItem" arg2="itemId=`$child.resizedId`"}" alt="{$title}" title="{$title}" rel="lightbox[photos]">
				{else}
					<a href="{g->url params=$theme.pageUrl arg1="itemId=`$child.id`"}" alt="{$title}" title="{$title}" rel="lightbox[photos]">
				{/if}
			{/if}
		    {g->image item=$child image=$child.thumbnail class="giThumbnailIce"}
				</a>
		{else}
		  <a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}" class="giMissingThumbnail">
		    {g->text text="no thumbnail"}
		  </a>
		{/if}
	{/strip}
	</div>
 
aharami

Joined: 2007-04-16
Posts: 47
Posted: Thu, 2007-11-01 07:14

douple post

 
formica

Joined: 2007-11-03
Posts: 1
Posted: Sat, 2007-11-03 11:46

I don't succeed to delete padding between thumb in ICE theme. There is not any "Ice - Default Thumb frames" under Color Pack and there is not any "Custom Style" menu.
Any ideas?

Regards
formica

 
djpumpkin

Joined: 2006-12-06
Posts: 135
Posted: Mon, 2007-11-12 14:42

Is it possible to use the following mod to remove links (Breadcrum) to parent albums with Ice theme?
http://gallery.menalto.com/node/51094

BTW I am now using Ice with current SVN 2.3 with no problems :)

 
dmolavi
dmolavi's picture

Joined: 2002-12-05
Posts: 573
Posted: Mon, 2007-11-12 14:50

I use it w/ current SVN as well, with a couple of BTS modifications at http://www.themolavis.com . My family likes it a lot more than the Matrix theme :)

For PHPNuke, phpBB2, and phpBB3 integration help, please visit NukedGallery.net.
[img]http://www.nukedgallery.net/signature.jpg[/img]

 
Raid

Joined: 2007-11-12
Posts: 24
Posted: Tue, 2007-11-13 11:22

I changed the background image in theme.css:

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

I would like to add a logo over it. I added this to the theme.tpl:

<div id="gsHeader" >
<img src="{g->url href="images/logo.png"}" width="574" height="110" alt=""/>

As you see, I added the "<image src..." right under the gsHeader div tag, but the image is not showing up. Any idea what I'm doing wrong? Thanks!

 
dmolavi
dmolavi's picture

Joined: 2002-12-05
Posts: 573
Posted: Tue, 2007-11-13 12:04

flush the template cache. also, if your logo is at www.yoursite.com/images/logo.png, you'll have to change your image src to /images/logo.png

For PHPNuke, phpBB2, and phpBB3 integration help, please visit NukedGallery.net.
[img]http://www.nukedgallery.net/signature.jpg[/img]

 
Raid

Joined: 2007-11-12
Posts: 24
Posted: Tue, 2007-11-13 23:25

Ah, it was the image src. Thanks dmolavi! I have a few other quick questions:

-In FF, of course, it looks great. In IE7, one problem: the system links, "Register, Login, Search Bar, etc." are missing. How can I make them display?
FF: [img]http://www.picflux.com/Drop/FF.JPG[/img] IE7: [img]http://www.picflux.com/Drop/IE.JPG[/img]
-How can I get the sidebar action links in the JS pop-up "Show Sidebar" to just be on the sidebar statically (like default Matrix) and not in the pop-up?
-I added "Rating Interface" to "Blocks to show on photo pages", but it's not showing up. How can I make the ratings show?

Thanks for this theme, and thanks to all for helping.

 
dmolavi
dmolavi's picture

Joined: 2002-12-05
Posts: 573
Posted: Tue, 2007-11-13 23:34

for the system links, it works for me in IE7 (look at http://www.themolavis.com )

for the sidebar actions, go to admin -> themes, and any entry for "Blocks to show on XXXXX pages (below description)" (where XXXXX is albums, photos, etc), select the "item actions" block, and uncheck the "use dropdown menu". if it's already unchecked, check it, save, then uncheck and save again.

not sure about the ratings, sorry :(

For PHPNuke, phpBB2, and phpBB3 integration help, please visit NukedGallery.net.
[img]http://www.nukedgallery.net/signature.jpg[/img]

 
Raid

Joined: 2007-11-12
Posts: 24
Posted: Tue, 2007-11-13 23:50

Thanks dmolavi. When I check "use dropdown menu" I get a dropdown inside the pop-up:
[img]http://www.picflux.com/Drop/drop.JPG[/img]
When I uncheck it, it just goes back to the links in the JS pop-up. I would actually like it to be exactly how it is on your site - with just the links on the sidebar.

Love the model train photos, btw. I have some similar shots of an old Lionel set. I'll link to them if I ever get this gallery working :) Thanks again.

 
dmolavi
dmolavi's picture

Joined: 2002-12-05
Posts: 573
Posted: Wed, 2007-11-14 00:01

here's my themes admin:
[img]http://www.themolavis.com/siteadmin.png[/img]

For PHPNuke, phpBB2, and phpBB3 integration help, please visit NukedGallery.net.
[img]http://www.nukedgallery.net/signature.jpg[/img]

 
Raid

Joined: 2007-11-12
Posts: 24
Posted: Wed, 2007-11-14 00:57

Much appreciated. That helped a few issues. By un-checking "Show systemlinks on top" I got the search box, etc. to show up in IE. Only problem is that the links now look like this:

FF: [img]http://www.picflux.com/Drop/FF2.JPG[/img] IE7: [img]http://www.picflux.com/Drop/IE2.JPG[/img]

By removing the search box from " Top Blocks", I got it looking ok. It seems that you just can't add anything into the "Top Blocks" with it overlapping the system links. Does that seem to be everyone's experience?

Other than that, I would like to get the ratings working if anyone knows how. Thanks once again!

 
dmolavi
dmolavi's picture

Joined: 2002-12-05
Posts: 573
Posted: Wed, 2007-11-14 12:38

i'd suggest using the web developer toolbar in FF and see if the divs are screwy or something...

For PHPNuke, phpBB2, and phpBB3 integration help, please visit NukedGallery.net.
[img]http://www.nukedgallery.net/signature.jpg[/img]

 
newlie

Joined: 2007-11-16
Posts: 1
Posted: Fri, 2007-11-16 21:50

Hello, I am really new to Gallery. I find it really hard to look around as it seems alot of links are dead and or outdated. Is there a place someone could direct me to where I can ask for someone to help install a theme for me? Or help me customize this theme for me?

No, I don't want to do it myself if you send me to a "How To" forum. I have been there and it is just to much over my head. There are posts everywhere and to unorganized to follow and I find myself hour and hours later still staring at code that makes my head hurt. I looked into paid help with Gallery 2 but they only offer installing Gallery and not with customizing. erm...

I am familiar with CSS and I can get the basic idea of customizing but I can't find a good guide with not only describing but with images as well. Alot of them leave out step by step or "holding my hand" and I am hoping perhaps someone here can redirect me.

Thankyou kindly for your time. I apologize if this isnt the right place to post but... oh my .. I was lucky to even get this far. lol

 
ajkessel

Joined: 2007-11-12
Posts: 26
Posted: Sun, 2007-11-18 21:07

I have several image resizes available. I've configured the ICE theme to display the various sizes, and selecting a new size works, but every time the user moves to another image, it reverts back to the default (smallest) resize. Is there any way to make it preserve the resize while the user navigates through the album?

 
dmolavi
dmolavi's picture

Joined: 2002-12-05
Posts: 573
Posted: Sun, 2007-11-18 23:40

here here...i'd like this to be tweaked, too...

For PHPNuke, phpBB2, and phpBB3 integration help, please visit NukedGallery.net.
[img]http://www.nukedgallery.net/signature.jpg[/img]

 
dmolavi
dmolavi's picture

Joined: 2002-12-05
Posts: 573
Posted: Mon, 2007-11-19 01:00

ajkessel-
I chatted w/ a dev about this. this feature isn't in g2, for any theme. i've volunteered to begin the coding effort on this, but it's uncertain whether it will make it into 2.3 or not.

For PHPNuke, phpBB2, and phpBB3 integration help, please visit NukedGallery.net.
[img]http://www.nukedgallery.net/signature.jpg[/img]

 
phrogdriver46

Joined: 2007-11-21
Posts: 4
Posted: Wed, 2007-11-21 08:10

Hello, I am very new to website stuff. Only been doing this for about a week. But, here are a couple of questions. First, how do I get the "ice default" frame? I have tried downloading several times, now. Second, how do you make a "blank" system links separator? I had it but can't get it now. I think I changed a color somewhere. And, lastly..I got the links I want on
bottom of the screen. Is there any way to change the font size of just those links? Feel free to take a look at the website...nothing much there right now.
http://www.phrogdriver.com/gallery/main.php Thanks for the help. I lied..one more thing..on Safari, the fonts I use (handwriting dakota)work, but not in Firefox? any ideas how to
make that work? Again, thanks for the help.

Rick

 
abelau

Joined: 2006-06-16
Posts: 65
Posted: Sat, 2007-12-01 14:21

First of all... Boner, thanks so much for your effort in the theme... it is just fantastic. I was trying to look for a variable width/floating theme (to make full use of screen space, when I use bigger screen, but avoid horizontal scrollbar when I'm using small screen). Floating Matrix was my favorite but was not supported anymore, while Floatrix is definitely not a good replacement IMHO....

I have had same problem mentioned by MarcelC where the album layout get messed up when using "Show Child as Float Item", mainly because the descriptions of the album etc are always made to be in one looooong line. It would be great if the descriptions text could be limited to the photo size, and that will make a perfect floating theme.

Another problem I found is those options "Show item date (Album)", "Show item view count (Album)" doesn't seems to be working, and I see no difference after ticking/unticking them.

while item size is always shown even if I untick "Show item size (Album)"

and some of the items seems to rely on others... something like "Show item view count (Album)" won't be effective unless I select "Show item details (Album)". I can't figure out the exact combinations...

once again, well done!

Cheers

 
Raid

Joined: 2007-11-12
Posts: 24
Posted: Tue, 2007-12-04 10:26

Has anyone attempted to implement Lightbox with this theme. I just tried, using the tutorial located here: http://codex.gallery2.org/Gallery2:Lightbox_JS_Tutorial The result is: when clicking a photo, it opens the photo by itself in the browser, instead of opening in the lightbox. I followed the tutorial step by step with one exception: where it says edit the album.tpl, I edited the childs.tpl instead because I couldn't find the code I was supposed to replace in album.tpl - but it was in childs.tpl, so I replaced it there. I am also using the latest version of lightbox, version 2.03.3 vs. 2.0.2 listed in the tutorial.

Any help would be greatly appreciated. Thanks.

 
nocloo

Joined: 2005-08-18
Posts: 37
Posted: Tue, 2007-12-04 23:59

Hi,

I just upgrade my ice theme to the latest version from the first post. The installation went fine, but I've problem w/ the "Plugins" and "Themes" link in Site admin.
When clicking on it, all I get is a Blank page. Any help would be greatly appreciated. Thanks.
==

 
abelau

Joined: 2006-06-16
Posts: 65
Posted: Sat, 2007-12-08 04:59

hi,
just would like to report a strange behavior encountered when using the floating thumbnails. I have view count enabled and as you could see the middle image (first row) has a view count shown (>=1). not sure why, under this configration (view count shown only in middle image), the floating thumbnails of the second row got shifted and that there is a big patch of empty space. wonder if this could easily be fixed/improved :)

Cheers, and once again, thanks for your good work.

 
abelau

Joined: 2006-06-16
Posts: 65
Posted: Tue, 2007-12-25 05:36

just another question on the floating items size. I have observed that there is an additional field in the theme section for specifying the "Size of floating items thumbnails", apart from the "default thumbnail size" under the "Album" tab for every album.

however, it seems like whenever the "size of floating items thumbnails" is larger than the "default thumbnail size", the size is ignored (default thumbnail size used). is it some relationship between this 2 fields?

what i did:
under an album -> edit album -> album -> set "default thumbnail size" to 300
under same album -> edit album -> theme -> set "size of floating items thumbnails" to 350

what I get:
floating item is 300
expected:
floating item is 350

marry xmas!

 
Marc Hoefman

Joined: 2007-12-31
Posts: 6
Posted: Mon, 2007-12-31 10:44

I'm setting up a website with Drupal and embedded Gallery2 with the ICE theme.
The ice theme based on original Carbon icons and a modified color scheme.

It works beatiful!

The site is a multiuser site with each user having an album. The name of the album appears well in the header of the album page, but when clicking through to the photo page, the name of the album is replaced by the title of the picture. If the title of the picture is empty, then the filename of the picture is displayed in the header.

Instead, I would like to keep the album name in the header in case the picture title is empty...

A comment in the theme.tpl says:
"If Gallery doesn't provide a header, we use the album/photo title (or filename)"

What and where should I change some code?

Please advise

Marc.

 
SandraR

Joined: 2004-08-17
Posts: 103
Posted: Thu, 2008-01-10 05:15

I love this theme but I am having a few problems customizing the header. I would like to put Adsense code in the header but the instructions in the link given by Floridave is for the Matrix theme. If anyone has figured out how to add Adsense in the header of the ICE theme, please share that info.

Also, I would like to place Adsense code in the sidebar and footer of the Photo view.

Lastly, how does one turn off the view count under the thumbnails inside the Album? I would like to keep view count for the Album only but not the items inside. Thanks!

 
rbf351

Joined: 2007-01-08
Posts: 20
Posted: Tue, 2008-01-15 03:34
dudeinla wrote:
hi, when I add the exif and comment module in, the two section is too narrow to display on the right side of the photo, like this,
[img]http://gallery.menalto.com/files/ice.JPG[/img]
could anyone please help to adjust those wider and put them below the photo? thanks.

i'm having the same problem, no matter what i change i can not get the picture info to display under the pic. the only thing that i seem to be able to do with the picture page is add/remove the pic info button

 
Jouni

Joined: 2008-01-28
Posts: 1
Posted: Mon, 2008-01-28 18:29

Hi all!

when you browse albums/images, this is the flow of things:

1) thumbnails of all the albums

--> click one of them and select an album

2) thumbnails of all the images in the selected album,

--> select an image:

3) selected image (+ thumbnails of the other images in the album, in the sidebar).

What I would like to do is to skip the phase 2. When i'm in the album thumbnails view and click any of them, it would directly open the first image in the album.
Other images of that album would appear at the sidebar.

How can I do this? I'm totally lost, after spending couple of days trying to understand the code behind this. Any hint would be much appreciated!
And sorry if this isn't the right place to ask such questions.

- Jouni -

 
honvl

Joined: 2007-04-26
Posts: 17
Posted: Thu, 2008-01-31 13:57

Looking for light gray rating stars that will fit the album view of this theme. Please contact me if you find any.

 
aharami

Joined: 2007-04-16
Posts: 47
Posted: Wed, 2008-02-13 18:11

i waned to add a page counter in the photo pages like how it's done in the siriux theme. After some tinkering, I figured it out

In the photo.tpl,
After this

{if $theme.params.photoDescription}	                
  <div class="gsContentDetail">
  <div class="gbBlock gcBorder1">
  {if !empty($theme.item.title)}
    <h3> {$theme.item.title|markup} </h3>
  {/if}

I added this

  {* Navigator *}
  {if !empty($theme.navigator)}
    {g->callback type="core.LoadPeers" item=$theme.item windowSize=1}
    {g->block type="core.Navigator" currentItem=$block.core.LoadPeers.thisPeerIndex totalItems=$block.core.LoadPeers.peerCount}
  {/if}
  {* /Navigator *}
 
katinas

Joined: 2006-06-11
Posts: 1
Posted: Sun, 2008-02-17 13:28
Boner wrote:
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

[img]http://www.3dserver.net/gallery2/themes/ice/floatitems.jpg[/img]

Hello, all.
Forgive me for a newbie question, but how can I achieve this "floating Items" look in my gallery?
I've downloaded and installed/activated Ice theme, but album view is still matrix-like.
What am I missing?

Thanks in advance,
Adam

 
abelau

Joined: 2006-06-16
Posts: 65
Posted: Sun, 2008-03-09 07:42

katinas, it looks to me it is "Show Childs as" and select "floating item"
if not, then maybe it's a huge micro navigation thumbnails

 
djpumpkin

Joined: 2006-12-06
Posts: 135
Posted: Tue, 2008-03-11 17:27

I am trying to edit the CSS to make the background white - but only where the thumbnails appear, so the left hand description field and comment box area below remains the default ice theme light grey.

Which bit do I change for this?

Thanks for any info

DJ

 
nocloo

Joined: 2005-08-18
Posts: 37
Posted: Tue, 2008-03-11 22:15

I'm trying to add AdSense to my gallery. I'm reading the instructions at http://codex.gallery2.org/Gallery2:How_to_add_adsense and have created the adsense.tpl file.
I'm trying to include it my copy of local/sidebar.tpl file:

{g->block type="core.NavigationLinks" class="gbBlock"}
{g->theme include="adsense.tpl"}

but it doesn't show up. Any ideas what I did wrong ?

Thanks
-N

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2008-03-11 23:31
 
nocloo

Joined: 2005-08-18
Posts: 37
Posted: Tue, 2008-03-11 23:57

Thanks bharat for your quick response ... I did clear the cache. It's something template related as others have done similar things to other templates and it did work for them. Hopefully, someone is having similar problems.

Thanks
==

 
djpumpkin

Joined: 2006-12-06
Posts: 135
Posted: Sun, 2008-03-23 22:58

I have been unable to get the ratings interface to show up on pages using Ice theme.
Is it incompatible?

 
djpumpkin

Joined: 2006-12-06
Posts: 135
Posted: Sun, 2008-03-30 11:28

Can somebody please give me a yes/no response on this?
Thanks :)

 
rahulan

Joined: 2008-04-15
Posts: 7
Posted: Tue, 2008-04-15 05:27

Dear Friends,
need some clarifications.
when we are in album page it calls album.tpl
when we are in photo page it calls photo.tpl

if we are in main.php or view latest comments page which tpl it calls?

'cos i separately edited album.tpl to include dropdown album menu on sidebar.
i want to have the dropdown menu on all pages.

what do i have to do?

please guide me.

thank you in advance.

rahulan.

forgot my URL
http://britishtamil.com

 
lemn

Joined: 2008-05-01
Posts: 2
Posted: Thu, 2008-05-01 18:09

What did you do to hide items title, and show only albums titles?
Thx

ok, saw the post about searching the templates for title="{$title}". i did, but could not find that exact expression. can anyone help please?

my gallery: www.hush.ro

 
tsfftf

Joined: 2007-02-02
Posts: 73
Posted: Thu, 2008-05-01 16:11

was looking through the gallery themes... this one is the best looking one created so far... will be modifying this for my new site layout.

 
lemn

Joined: 2008-05-01
Posts: 2
Posted: Fri, 2008-05-02 08:40

ok, i found a solution, maybe someone else will find it useful:

if you want to show only album titles, but not item titles, do this:
create a folder called local in /themes/ice/templates
copy childs.tpl there
find this inside:
{if $theme.params.showItemTitle}

{if !empty($child.title)}

{if $child.canContainChildren}

<table cellpadding="0" cellspacing="0">

<tr>

<td class="giTitleIcon">

<div class="iconAlbum"></div>

</td>

<td>

<p class="giTitle">{$child.title|markup}</p>

</td>

</tr>

</table>

{else}

<p class="giTitle">{$child.title|markup}</p>

{/if}

{/if}

{/if}

and erase this part:
{else}

<p class="giTitle">{$child.title|markup}</p>

if you for some reason want to display something else instead of the title, do not erase it, just replace {$child.title|markup} with whatever you want to display as your item title.

hope this helps

check out my gallery here: www.hush.ro

 
Dirkii

Joined: 2008-01-16
Posts: 214
Posted: Tue, 2008-05-13 18:54

After posting without success a second try:

How can I show the left side bar in the "Ice" theme permanently?

I would like to let the left side bar in the "ICE" theme be shown permenantly (without overlaying anything, e.g. the text on the left side) instead of displaying it after clicking the button "Show Sidebar" on the left side above which might not be found easily by guests I would think.

Could not find a setting doing this. What would I have to do?

Nice greetings, Dirk.


Gallery version 2.2.4 / full package
PHP version 5.2.6 apache2handler
Webserver Apache
Database mysqlt 5.0.51a-community-log
Toolkits Thumbnail, Gd
Operating system Linux dd5036 2.6.24.4-nmm2 #2 SMP Tue Apr 15 18:13:27 CEST 2008 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14

----------------------------------
www.galerie-der-fotos.de