Theme: clean canvas

floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2013-01-28 23:18

Use a updated version and it will fix the issue.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
thapieter
thapieter's picture

Joined: 2013-02-27
Posts: 2
Posted: Wed, 2013-02-27 18:06

Hey everybody,

I've been using this great theme for some time but I'm trying to figure out a way to display tags in the Album info field.
I tried to follow these instructions: http://galleryproject.org/node/96250 , but no luck so far.
Any recommendations?
Tnx!

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Wed, 2013-02-27 22:36
 
thapieter
thapieter's picture

Joined: 2013-02-27
Posts: 2
Posted: Thu, 2013-02-28 17:21

@tempg:
Thanks, that did the job :-)

 
binaryhat

Joined: 2013-03-05
Posts: 2
Posted: Wed, 2013-03-06 01:19

Hello,

I'm trying to put my own nav bar in this theme but I can't find the right file to put it in. Also I want to embed my own header and footer image on each page. Any help would be appreaciated.

Here's the link to my site--->http://www.hobesoundcomputers.com/chuckles/gallery/

 
engineer

Joined: 2005-09-13
Posts: 84
Posted: Sat, 2013-03-23 12:00

When Gallery update to 3.0.5 and later, the theme seems to have problem after the core update. Please see attached picture, when mouse cursor move from left album to right album, the selection on left album does not disappear. But if I change to Wind theme, there is no such problem.

The theme is updated to clean_canvas-rwedit-g304.zip

*UPDATE*

Luckily, after I copy themes/wind/js/ui.init.js to themes/clean_canvas/js/ui.init.js
the problem is gone.

 
Armani2

Joined: 2007-05-09
Posts: 263
Posted: Tue, 2013-03-26 21:29

Regarding the problem of thumbnails getting jammed together like I've posted about (and have seen others posting about) so far I've found if you delete this code (from page.html.php, roughly starting around line 26):
<? if ($theme->page_type == "collection"): ?>
<? if (($thumb_proportion = $theme->thumb_proportion($theme->item())) != 1): ?>
<? $new_width = round($thumb_proportion * 213) ?>
<? $new_height = round($thumb_proportion * 240) ?>
<style type="text/css">
.g-view #g-content #g-album-grid .g-item {
width: <?= $new_width ?>px;
height: <?= $new_height ?>px;
/* <?= $thumb_proportion ?> */
}
</style>
<? endif ?>
<? endif ?>

 
timned88

Joined: 2011-08-31
Posts: 90
Posted: Fri, 2013-04-26 21:21
rWatcher wrote:
timned88 wrote:
thanks for the heads-up, rwatcher. could you provide any more specifics on how to do what i was requesting?
i am not very good at hacking code and cannot write any on my own. any more info would be most appreciated.

the following code is copied from the about this album mod... i made some changes for formatting purposes but this is the info that i would like to get into the info mod itself... if you go to my gallery and check the sidebar you will see how it is implemented:
http://www.themagicinpixels.com/gallery3

Quote:
<? if ($album_count > 0): ?>
<tr>
<td><strong class="caption"><?= t("Albums:&nbsp;") ?></strong></td>
<td><?= $album_count ?></td>
</tr>
<? endif ?>
<tr>
<td><strong class="caption"><?= t("Total Images:&nbsp;") ?></strong></td>
<td><?= number_format($photo_count) ?></td>
</tr>
<tr>
<td><strong class="caption"><?= t("Total Views:&nbsp;") ?></strong></td>
<td><?= number_format($vcount) ?></td>
</tr>
</table>
<span >

Obviously, there would need to be some sort of call to the information in about_this_album_block.php which would seem to generate the information that is referenced above, which came from about_this_album.html.php

I believe you want something like this:

    $photo_count = $item->descendants_count(array(array("type", "=", "photo")));

    if ($photo_count > 0) {
      $results .= "<li>";
      $results .= t("Total Images: %photo_count", array("photo_count" => $photo_count));
      $results .= "</li>";
    }

That would go in the info module file mentioned above, below the "Views" section (or above if you want total images to show up above it).

This fix stopped working for me when I went to 3.0.7. Can someone please help me to get it updated? Thank you! It pertains to modules/info/helpers/info_theme.php

**DISREGARD** I copy/pasted a backup version of the file into the newly updated one and it started working again.

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Mon, 2013-05-06 03:20

Does anyone else experience an issue with the 'close' buttons in 3.0.7 with this theme? (say you want to edit an album) is the close button in the dialog popup messed up?

[img]http://codex.galleryproject.org/images/b/bc/Close.jpg[/img]

 
punctuation

Joined: 2012-12-11
Posts: 37
Posted: Mon, 2013-05-06 09:41

Works fine for me. I don't have 'close' text.
For me one thing that is off is 'Forgot your password' link on a login page, when you disable guest access.

____________________________
Gallery 3.0.7 | Clean Canvas theme

 
Ser Moro
Ser Moro's picture

Joined: 2007-12-08
Posts: 79
Posted: Mon, 2013-05-06 10:34

jnash
I have this too (firefox 21.0)
in Chromium i haven't text "close"
SM

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Mon, 2013-05-06 13:17

Yea, appears that quite a few changes were made to the dialog menu bar setup in the 3.0.7 (or sooner maybe) ... I'm am absolutely terrible at CSS, so until someone smarter than me tackles it, guess I'm stuck with it.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2013-05-06 13:50

Adding:

.ui-button-text {
  display: none!important;
}

should solve most of the issue, but the "x" needs some positioning better as well.
I'll work on that as I just saw this on my wide_wind theme as well.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Mon, 2013-05-06 14:13

Great start Dave! (You are 'the man' afterall!)

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Wed, 2013-05-15 00:34

Hmmmm. my 'x' is still out of alignment dave - hint, hint...

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2013-05-15 04:54

remove the above that I mentioned and add to the bottom of clean_canvas/css/screen_layout_base.css:

.ui-dialog .ui-dialog-titlebar-close {
    height: 24px;
    margin: -12px 0 0;
    padding: 0 12px 10px 10px;
    position: absolute;
    right: 0.3em;
    text-indent: -10000px;
    top: 50%;
    width: 25px;
}

Getting as close as I care to worry about. :-)

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Wed, 2013-05-15 16:58

As usual, you rock. Thanks, now I can fully upgrade :)

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Wed, 2013-05-15 21:16

Found another issue:

Can't view fullsize image - well sort of - it shows at the bottom of the page (like the double ajaxify problem with the edit photo did)

(also, Fancybox, Colorbox not working)
(Shadowbox does work however, and when enabled, full size works)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2013-05-17 01:03

I see that with a few themes with the experimental versions as well.
I think that that will be a lot harder for me to find, but in general I'm like a dog with a bone.... Stay tuned and bump this thread every few days to keep the dog in focus.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Fri, 2013-05-17 02:48

Will do :)

I do recall that the fix for other double ajaxifying stuff was the 'bind(blah)' was changed to 'on(blah)'...

grep recursively for bind in the clean_canvas theme dir and you'll see it... I'm not sure that's the fix, but it's a start

 
ammaya

Joined: 2012-05-20
Posts: 5
Posted: Sat, 2013-05-18 00:56

very will for me!http://yishutu.com/

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Sat, 2013-05-18 01:17

@ammaya - would you be willing to share any of your modifications to the theme you've made? I like the subtle changes made!

Thanks if so!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2013-05-20 16:58

I think I have it sorted.
jnash see PM for login info to test. let me know if that works and I'll zip up the whole theme. I can't recall what I did to chanage most of it.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Mon, 2013-05-20 17:47

Seems to be working fine! - I also hacked up my version of the theme as well and got it. (Don't ask what I did either! :) ) I have no idea. But, your fix seems to be good!

My theme is so hacked up and customized, (Like I removed, non-wide and dark) so, me providing the theme isn't going to help anyone.

Great Job!

(did you make changes to the 'x' close button as well? Yours looks better than mine!