Theme: GreyDragon - v.4.0.2

Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Sat, 2010-11-13 19:32

version 2.4.7 is out

  • Fixed issue with some .g-block structures.
    Fixed issue with avatar not properly aligned in comment section.
 
rross

Joined: 2010-08-22
Posts: 41
Posted: Sun, 2010-11-14 01:24

Thanks for all the updates.

How do I add custom text for the home page browser title? It currently just says, "Browse Albums : Gallery Home." I searched and searched and, while I found the part for Browse Album, I can't find the rest. At the same time, how would I add info for Keywords and Description?

Cheers,

R

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Sun, 2010-11-14 03:10

@rross: navigate to root album, then Album Options->Edit Album - it is a title of the album

http://codex.gallery2.org/Gallery3:Modules:metadescription

 
rross

Joined: 2010-08-22
Posts: 41
Posted: Sun, 2010-11-14 14:32

Yikes, I always overlook the obvious. Thing is, that title also appears in the navigation breadcrumbs and as a header above the first row of thumbnails. That means I can't use a long, descriptive title the way I would with a <title> metatag. Is there any way to separate this or change the title just for the homepage of the gallery?

Thanks for the link to the module. I was looking through those files and others trying to do the above, but I'm unsure of the proper syntax and placement.

R

 
GuyVerschuere
GuyVerschuere's picture

Joined: 2007-09-16
Posts: 88
Posted: Sun, 2010-11-14 08:08

Works like a charm, thanks!

I have 2 requests to make updates faster for me :)

1) include option to include a footer.php file. Now I allways have to edit page.html.php:

Quote:
<?php include "footer.php"; ?>
<div id="g-footer">

this footer can then be used to include adsense, analytics etc...

2) Because I'm the only user in my gallery everything is posted by me. So the user shouldn't be showed for me. As of now I allways edit info_block.html.php to remove the "if item owner" statement. Maybe an option for this to?

3) And another question: should I see the pagecache headers when viewing the source?

Thanks again for all the great work!

[IMG]http://cindyenguy.be/ico_www.gif[/img] My Blog [IMG]http://cindyenguy.be/ico_www.gif[/img] My Gallery

 
xelnaga

Joined: 2010-03-14
Posts: 7
Posted: Sun, 2010-11-14 09:59

Nice work

 
ajorgereis

Joined: 2008-09-06
Posts: 132
Posted: Sun, 2010-11-14 10:55

Is really a good work
The theme is great, but the size of thumbnails does not convince me, 200 pixels is very small. Was important to define the size of thumbnails of albums and size of thumbnails of pictures. The digital option Digital EX 4:3, is not good, cut the vertical images thumbnails(see attachment)

www.ajorge.net

 
GuyVerschuere
GuyVerschuere's picture

Joined: 2007-09-16
Posts: 88
Posted: Sun, 2010-11-14 12:28

Try the module 'square thumnails' with setting at original. I have 200px square now

[IMG]http://cindyenguy.be/ico_www.gif[/img] My Blog [IMG]http://cindyenguy.be/ico_www.gif[/img] My Gallery

 
spamsuxx

Joined: 2007-09-22
Posts: 33
Posted: Sun, 2010-11-14 13:11

Thanks for fixing the avatar.
It would be great if you could provide a diff from version to version this would make it a lot easier to update.

For example:
diff -Nrup graydragon graydragon_old > xyz.diff

In case you are developing under Windows:
http://gnuwin32.sourceforge.net/packages/diffutils.htm
http://en.wikipedia.org/wiki/Diff

Cheers
Bjoern

--
http://olausson.de
http://gallery.olausson.de

 
ajorgereis

Joined: 2008-09-06
Posts: 132
Posted: Sun, 2010-11-14 16:54

How remove file name, under image thumbnail?
Not album thumbnail. The album thumbnail description is good.

One thing is the picture name, another thing is the file name. The application should have two separate fields for this purpose

See example file name at attachment

www.ajorge.net

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Sun, 2010-11-14 19:47

@GuyVerschuere: 1) you want php injection? ok, I will see what I can do.
2) can you include modified code
3) no, you should not. Do you have page cache enabled?

@ajorgereis: I was going to try square module and provide an option for square format. it would still crop your image though
you can now use 300px wide thumbs with ...Ex option

@spamsuxx: changelog.log outlines changes, but you can also use diff tools like WinMerge to compare old and new state before uploading. I am not going to ship difflog, sorry.

@ajorgereis: it is not a filename, it is title associated with the image. it is populated with filename when image is uploaded, you need to adjust it after and provide proper title so it would be user friendly
if you want to hide it all together, create your own css with { display: none; } for what you want to hide and include a reference in screen.css like @import url(mycss.css);

 
GuyVerschuere
GuyVerschuere's picture

Joined: 2007-09-16
Posts: 88
Posted: Sun, 2010-11-14 20:01

1) thanks :)
2) I just remove the whole IF block:

Quote:
<?php defined("SYSPATH") or die("No direct script access.") ?>
<ul>
<? if ($item->captured): ?>
<li>
<strong class="caption"><?= t("Captured:") ?></strong>
<?= date("M j, Y H:i:s", $item->captured)?>
</li>
<? endif ?>
<? if ($item->description): ?>
<li class="g-description">
<?= $theme->bb2html(html::purify($item->description), 1) ?>
</li>
<? endif ?>
</ul>

but other users my want that... So maybe an option: "show owner" and then another IF statement?
3) yes. I'm trying to speed up my galerie...

[IMG]http://cindyenguy.be/ico_www.gif[/img] My Blog [IMG]http://cindyenguy.be/ico_www.gif[/img] My Gallery

 
ajorgereis

Joined: 2008-09-06
Posts: 132
Posted: Sun, 2010-11-14 21:17

Thanks, Serge

Has disappeared thumbnail description.
Are many images to rename

www.ajorge.net

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Sun, 2010-11-14 22:23

@GuyVerschuere: 3) Enable Page Cache (60 seconds) - would work for you?

 
GuyVerschuere
GuyVerschuere's picture

Joined: 2007-09-16
Posts: 88
Posted: Sun, 2010-11-14 22:41

Activated that from the beginning. I am now testing with cache enabled in .htaccess, in config/config.php and recycler module...
Allready much faster now...

[IMG]http://cindyenguy.be/ico_www.gif[/img] My Blog [IMG]http://cindyenguy.be/ico_www.gif[/img] My Gallery

 
ajorgereis

Joined: 2008-09-06
Posts: 132
Posted: Sun, 2010-11-14 23:54

Hi, Serge

I have a configuration issue at photo page. It does not happen in every album

See the attachment please

www.ajorge.net

 
spamsuxx

Joined: 2007-09-22
Posts: 33
Posted: Mon, 2010-11-15 00:54

Hi again,

I am not sure if this is related to the single modules (FaceBook like and downloadalbum) but they do not integrate very good into your theme. I already posted a comment in the particular threads.

The downloadmodule is placed top right barely visible, the Facebook-Button is placed at the bottom but without a border (If I choose to place the facebook button it also ends up where the download button is now). When enabling standard view for the LIKE button the additional text is cut by the overflow option for the right module column)

(It doesn't matter if I use the original theme or with my modifications)

Again, see here:
http://gallery.olausson.de

Cheers
Bjoern

--
http://olausson.de
http://gallery.olausson.de

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Mon, 2010-11-15 03:04

@ajorgereis: Please check error log, most likely you have some error which prevents page to be rendered in full

@spamsuxx: facebook is a iframe which is placed without g-block (from your page) and this is why it does not have border. Look at the source of the page and compare it with #g-image-block. Downloadimage module requires custom icon which would fit associated element (22x15)

 
eeldivad

Joined: 2005-09-19
Posts: 42
Posted: Mon, 2010-11-15 05:20

i've installed the latest greydragon and works great, but for some reason in ie7 it doesn't show the login link at the top right. if i switch back to the wind theme instead of grey dragon then ie7 shows the login link fine. i also notice a javascript error when using greydragon on ie7 or ie8 compatibility mode (same thing). anyone else getting this?

Message: Expected identifier, string or number
Line: 79
Char: 1
Code: 0
URI: http://domain.com/gallery3/themes/greydragon/js/ui.support.js

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Mon, 2010-11-15 06:22

@eeldivad: did not test in IE7 mode for long time... Thank you for pointing it out - fixed in 2.4.8

 
ajorgereis

Joined: 2008-09-06
Posts: 132
Posted: Mon, 2010-11-15 18:49

Yesterday error log attachment
I don't understand

Regards

www.ajorge.net

 
eeldivad

Joined: 2005-09-19
Posts: 42
Posted: Mon, 2010-11-15 08:02

i had similar errors too where it can't find the ico file. so i had to modify the greydragon option for "URL (or relative path) to your favicon.ico" and specified the path to the ico from the root '/' path like so.
/gallery3/lib/images/favicon.ico

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Mon, 2010-11-15 17:14

@ajorgereis: please remove the log from the post. it has your file structure in the plain text.
I do not know if it is related, but ... from the log: there is one error occur when contactowner attempts to send email

favicon error is very strange, but ... it is not related to the theme itself. Gallery 3 does use lib/images/favicon.ico as default favicon location. I prefer to keep one local in shared location along with logo and one in the gallery root.

Is this an error log right after rendering problem occurred?

 
ajorgereis

Joined: 2008-09-06
Posts: 132
Posted: Mon, 2010-11-15 19:00

Hi, Serge

Thanks for the warning. I already removed the attachment.
The problem happened yesterday. I do not know what I did. Already eliminated the theme folder and went back to copy the clean theme, already removed the favicon, but the problem persists.

www.ajorge.net

 
GuyVerschuere
GuyVerschuere's picture

Joined: 2007-09-16
Posts: 88
Posted: Mon, 2010-11-15 19:15

For the favicon I have http://galerie.cindyenguy.be/favicon.ico as setting. With default values I have file not found errors.

[IMG]http://cindyenguy.be/ico_www.gif[/img] My Blog [IMG]http://cindyenguy.be/ico_www.gif[/img] My Gallery

 
ajorgereis

Joined: 2008-09-06
Posts: 132
Posted: Mon, 2010-11-15 19:39

Hi, GuyVerschuere

Thanks for your suggestion

www.ajorge.net

 
Kofl

Joined: 2006-10-29
Posts: 9
Posted: Tue, 2010-11-16 19:56

Great theme,

does anyone else has the problem, that when they want to set permissions on the album, there are no icons visible, only the text?

Quote:
Edit permissions for album:

* Gallery
* kryptonit

Edit Permissions
Everybody Registered Users
View allowed icon inactive denied icon denied icon locked icon
View full size passive allowed icon inactive denied icon inactive allowed icon passive denied icon
Edit inactive allowed icon passive denied icon inactive allowed icon passive denied icon
Add inactive allowed icon passive denied icon inactive allowed icon passive denied icon

If i look at the source code, the image path is missing.

Quote:
<a title="allowed, click to reset" href="javascript:set('reset',1,1,180)">
<img alt="allowed icon" src="/">
</a>

Any help is welcome,
Thanks.

 
Kofl

Joined: 2006-10-29
Posts: 9
Posted: Tue, 2010-11-16 20:07

Okay, it is fixed in 2.4.5 :-)

version 2.4.5

* Min G3 core requirement is set to v.41
* Fixed issue with Exif dialog data integration
* Fixed issue with permission dialog
* CSS: Changes form style management. Fixed issue with breadcrumbs display in dialogs.
* CSS: Important! Colorpack files are affected
* Removed no longer required custom Login dialog logic
* JS cleanup

 
mervyngroves

Joined: 2008-08-03
Posts: 92
Posted: Tue, 2010-11-16 22:02

A few minor issues:

1: On photo page when you use the "select for album" cover or rotate the page presented, http://www.thegrovesnet.com/gallery3_1/index.php/quick/make_album_cover/69?csrf=a803b07ec6419dace6b28bbbe23a1950, is blank except for the following " {"result":"success","reload":1}". You have to page back to get to the gallery. The image has been selected for the album cover. When using the same option from the album page there is no issue.

2: On the main gallery page the meta data displays above the Album title, on the album page the meta data displays over the image title.

3: The other issue was with the display of navcarousel when selected to display at the bottom of the image. The navigation icons displayed in the correct position but the thumbnails were much further down the screen with blank space in between. I'm not seeing it in this installation but when using Grey Dragon 2.4.7 on my main gallery www.grovesonline.com/gallery3_6. However this is now using Carbon theme.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Tue, 2010-11-16 23:45

@mervyngroves: 1. your link to password protected area. a) you are using Git version of the Gallery, so there could be new problems. b) you are using customized version of the theme, judging by some visual elements.
Have you sync theme's code with latest release? Dialogs were switch to use default G3 functionality, so it should wotk, if gallery and theme is in sync with production code. Selection of the album cover does work for me.
2. Fixed in 2.4.8. It was actually by design, but I see your point. I do not remember now what lead to original decision
3. Edit: seems to be working just fine, see screenshot below

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2010-11-17 01:27

version 2.4.8

  • Fixed inverted state of "Disallow Search Engine Indexing (No Bots)
  • Fixed JS syntax incompatibility in IE7/IE8 compatibility mode
  • Fixed display of thumb title and photo description on hover in IE7/IE8 compatibility mode
  • Fixed issue with Dialogs not skinned properly in Carbon/Wind themes
  • Fixed issue with metadata for photo thumbs when Aspect Ratio: Actual Size and Title Display Mode: Bottom
 
eeldivad

Joined: 2005-09-19
Posts: 42
Posted: Wed, 2010-11-17 02:40

wow didn't expect the release out so soon, you rock! i tried it out and i can see the login link in ie7 now, but when i try to login after hitting submit my password i get this javascript error and the page doesn't continue and i'm stuck in the login screen. if i close the login window and refresh then it looks like i'm logged in but kinda annoying the page gets stuck

Message: 'JSON' is undefined
Line: 1387
Char: 16
Code: 0
URI: http://domain.com/gallery3/index.php/combined/javascript/41b77af700f2b4d5e89de55d13986423

 
rross

Joined: 2010-08-22
Posts: 41
Posted: Wed, 2010-11-17 04:37

Until there's a better solution, I at least figured a way to get general company info into each title. In views/page.html.php I went to this part of the code-

<? if ($theme->item()->is_album()): ?>
<?= t("Browse Album

and added text before Browse Album. Then I did similar with the lines below it for Photo and Movie.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2010-11-17 05:08

@eeldivad: cannot do anything about JSON just yet. Does it work for you with default Wind theme?

 
eeldivad

Joined: 2005-09-19
Posts: 42
Posted: Wed, 2010-11-17 05:18

same problem on wind theme. so it seems to be a problem in the core of the gallery. guess i'll have to wait for the next update. thanks serge!

 
ajorgereis

Joined: 2008-09-06
Posts: 132
Posted: Wed, 2010-11-17 08:24

I'm having the same problem in this version. The page photos is unconfigured. What can I do

See the attachmment

www.ajorge.net

 
Geoff Cloake

Joined: 2009-06-24
Posts: 31
Posted: Wed, 2010-11-17 11:30

GreyDragon is my much preferred theme.

However the HOME menu item does not show as it does for the standard Wind theme unless logged in. Not everyone knows to click on the "Logo' to find their way home. This is important when using some Modules like Basket, etc - which do not show the breadcrumb or any other apparent way home (I'll suggest this improvement Basket as well). It works if I paste in these lines from Wind.

"
<?= $theme->user_menu() ?>
<?= $theme->header_top() ?>

<!-- hide the menu until after the page has loaded, to minimize menu flicker -->
<div id="g-site-menu" style="visibility: hidden">
<?= $theme->site_menu($theme->item() ? "#g-item-id-{$theme->item()->id}" : "") ?>
</div>
<script type="text/javascript"> $(document).ready(function() { $("#g-site-menu").css("visibility", "visible"); }) </script>

<?= $theme->header_bottom() ?>

"

It is possible to remedy this?

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2010-11-17 17:34
eeldivad wrote:
same problem on wind theme. so it seems to be a problem in the core of the gallery. guess i'll have to wait for the next update. thanks serge!

I would suggest file the ticket and create a new thread

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2010-11-17 17:36
ajorgereis wrote:
I'm having the same problem in this version. The page photos is unconfigured. What can I do

does it happen is carousel is below the photo?

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2010-11-17 17:39
Geoff Cloake wrote:
GreyDragon is my much preferred theme.

However the HOME menu item does not show as it does for the standard Wind theme unless logged in. Not everyone knows to click on the "Logo' to find their way home. This is important when using some Modules like Basket, etc - which do not show the breadcrumb or any other apparent way home (I'll suggest this improvement Basket as well). It works if I paste in these lines from Wind.

Theme Setting->Advanced-General->Show Main Menu for Guest Users

 
ajorgereis

Joined: 2008-09-06
Posts: 132
Posted: Wed, 2010-11-17 20:20
Serge D wrote:
ajorgereis wrote:
I'm having the same problem in this version. The page photos is unconfigured. What can I do

does it happen is carousel is below the photo?

Yes, Serge

It happen without carousel module active. It only happens in the vertical photos and not at all

www.ajorge.net

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2010-11-17 20:29

@ajorgereis: well, screenshot is with carousel module active
I cannot reproduce the problem, sorry.
Could you send me via PM a screenshot of the theme's setting screen

 
bryan145

Joined: 2010-10-24
Posts: 83
Posted: Wed, 2010-11-17 23:25

@ajorgeres, where did you get the module for the cool looking tag cloud?

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Thu, 2010-11-18 00:12
 
bryan145

Joined: 2010-10-24
Posts: 83
Posted: Thu, 2010-11-18 00:17

Thanks!

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Thu, 2010-11-18 19:55

@ajorgereis: one observation for photo page - you have removed title display this made toolbar and navigation overlap
to fix that adjust the following rules in screen.css
I have included it in 2.4.9

h1 { font-weight: bold; font-size: 1.1em; padding-bottom: 1px; min-height: 1.1em; }
h2 { font-weight: bold; font-size: 1.1em; min-height: 1.1em; }
 
GuyVerschuere
GuyVerschuere's picture

Joined: 2007-09-16
Posts: 88
Posted: Thu, 2010-11-18 20:31

I have a second blue colorpack, a bit lighter...
http://www.cindyenguy.be/2010/11/18/blue_v2-colorpack-for-gallery3-greydragon-theme/

To view al my post that are Gallery3 related: http://www.cindyenguy.be/tag/gallery3/

Let me know wich colors you like :)

[IMG]http://cindyenguy.be/ico_www.gif[/img] My Blog [IMG]http://cindyenguy.be/ico_www.gif[/img] My Gallery

 
gswallcovering
gswallcovering's picture

Joined: 2010-05-12
Posts: 96
Posted: Thu, 2010-11-18 22:35

Great job Guyverschuere, on the recent addition of green color pack. I have switched from blue to green, see here

My business logo is green. Lighter than the one you have produced with the most recent color pack. Would it be possible to create a green background in my gallery3 that is closer to my logo colors? View logo here

Since my Christmas list is started; how can I change the color of the lettering from blue to white?

@ Serge - Great job on creating and updating GD theme.

Thank you guys for sharing your talent.

gswallcovering

 
GuyVerschuere
GuyVerschuere's picture

Joined: 2007-09-16
Posts: 88
Posted: Fri, 2010-11-19 05:55

I'll take a look tonight (CET+2) to make a 'lime' colorpack. Specially adapted for your site.

All the colors for text and background are set in the colorpack.
Take a look at /themes/greydragon/css/colorpacks/Green/colors.css

@Serge: should I start another topic for the colorpacks or can we keep it together with the theme in this one.

[IMG]http://cindyenguy.be/ico_www.gif[/img] My Blog [IMG]http://cindyenguy.be/ico_www.gif[/img] My Gallery

 
mervyngroves

Joined: 2008-08-03
Posts: 92
Posted: Fri, 2010-11-19 21:12

Just one issue as far as my use of the Theme currently. Reflect the transparency of the navcarousel presentation. It seems that the transparency parameters evident in other themes are not reflected in GreyDragon. I notice it also in www.ajorge.net too.