Theme: GreyDragon - v.4.0.2

Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2009-09-30 17:46

Fully built from ground up, many additions and options available. Supports many color and frame packs.
Requires official release of G3 or above.

IMPORTANT! Theme requires the shared module - GreyDragon - for admin section to work properly - it is available here - http://blog.dragonsoft.us/downloads/15

For help deploying theme on your server refer to this great article about using themes inside Gallery 3.

Due to major differences in approach and structure please be aware that some 3rd party modules may not be working properly. If you find issue with any of them, please submit your request in discussion thread for consideration.
Otherwise, you can try using GreyDragon Wind Theme instead.

Theme is free to use under GPL.

---
Problems? Report it here | Demo | Get latest | Coffee Fund | My G3 Library | FAQ | Follow on Twitter

 
cchiappa
cchiappa's picture

Joined: 2008-08-11
Posts: 101
Posted: Wed, 2009-09-30 18:52

Looks nice, although the Diving album does not work properly for me.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Sat, 2009-10-24 02:06

I know about "Diving" album. Content is imported from G2... as it appears, albums with linked images are not imported properly.
If interested, you can find images from this album in Hawaii sub-albums.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2009-09-30 19:28

I added to the codex page a layout issue with the Chrome browser. I know you did not test it but perhaps sombody will see that and help you out with issues like this.

Looks good!

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2009-09-30 19:36

@floridave: Thanks!

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2009-09-30 19:39

At this time I also would welcome any help to properly Ajaxify dialogs.
Notice that I am not using HTML injections as in default theme, but replacing these with standalone full pages which are displayed as embedded pop-ups.

 
dreamkiller

Joined: 2008-01-28
Posts: 46
Posted: Thu, 2009-10-01 08:25

Hi I try the theme. Great job but I have some problem when a great number of page are present (approximatively 34), and exif information button is not present on my gallery

http://dreamkiller.fr/gallery3/index.php

[img]http://free0.hiboox.com/vignettes/4009/382630137011bc6e78c2fd3f2ea14261.bmp[/img]

another thing but i think it's normal, on portrait pictures,the buttom is cut (so I have a square thumnail)

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Thu, 2009-10-01 13:44

Thank you for your feedback. I will look into possibility of doing something like [1 .. 30 31 32 .. 56]

 
dreamkiller

Joined: 2008-01-28
Posts: 46
Posted: Thu, 2009-10-01 14:24

I found another problem when clicking on tag I have some problem on the thumbnail size

[img]http://free0.hiboox.com/vignettes/4009/513a0b6e41f4dc9f61a88c46e85cb30b.bmp[/img]

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Thu, 2009-10-01 14:34

I am not using tag module yet, I would think that there is an issue with produced output.
Unfortunately, current implementation in G3 does not allow reuse of the picture block between album, search, and, I suspect, tag templates. Each has its own logic. I have to customize each, I do not think it is a good approach.
May be it would be nice to abstract it and reuse from any module in a form of template.
But it would have to be global fix...

In the mean time, I would have to go with individual customizations. I am planning to have a new upload sometime this week.

 
dreamkiller

Joined: 2008-01-28
Posts: 46
Posted: Thu, 2009-10-01 14:41

I continue to try your theme on my test environnement and continue to send you feedback.I'm impatient to test the new release

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Fri, 2009-10-02 13:11

@dreamkiller: Please visit codex page, there is a hotfix to address tag module issue.

 
dreamkiller

Joined: 2008-01-28
Posts: 46
Posted: Fri, 2009-10-02 13:48

ok I just try it, and ti's work fine. Nice work

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Fri, 2009-10-02 18:01

HotFix 2 is available from codex page. If I've got it right, it should allow "digg" style pagination in album.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Sun, 2009-10-04 03:54

New Hotfix avaialble from codex page - pagination module with the following style

[1·2·3·4] .... [<-| <- -> ->|]

This also fixes issue with pagination blocks "jumping"

 
dreamkiller

Joined: 2008-01-28
Posts: 46
Posted: Mon, 2009-10-05 09:55

Hi, there is some problem with the new CSS organisation.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Tue, 2009-10-06 20:21

@dreamkiller: What kind? Which browser? What GIT release?

Note: I am not on latest GIT yet. Will try to do today or tomorrow to sync with recent changes in CSS notation.

 
dreamkiller

Joined: 2008-01-28
Posts: 46
Posted: Thu, 2009-10-08 07:34

last GIT release, Firefox 3.0.14

[img]http://free0.hiboox.com/vignettes/4109/bf31552b4d5feb1000b7db965ed93006.jpg[/img]

As I know the is some restructuration in the CSS

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Sun, 2009-10-11 22:22

Demo page has been updated and latest version of the theme is now available from Codex page.
It does require latest Git version of G3 to operate.

 
dreamkiller

Joined: 2008-01-28
Posts: 46
Posted: Mon, 2009-10-12 08:16

I try it as soon as I have access to my admin theme page wich is actualy broken

 
cefm

Joined: 2009-06-21
Posts: 10
Posted: Mon, 2009-10-12 19:05

the file that you include modules/exif/helpers/exif_event.php should be in themes/greydragon/helpers/exif_event.php so that it work when your theme is active dut does not effect others. Any file of the same name in your theme folder overrides a modules file.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Mon, 2009-10-12 20:24

I will do that, I did not know that inheritance work for any file from the core not just view related.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2009-10-12 21:19

That's from the Kohana file system, you should be able to have your theme override any file like that.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Mon, 2009-10-12 22:01

@cefm, @nivekiam: tried it, does not work as expected

a) put back the original file for exif module
b) created helpers under greydragon.
c) put my adjusted exif_event.php in it
d) refreshed the page. Button disappeared.

Well, I guess that doesn't work as expected. I am overriding static function photo_menu($menu, $theme)...

e) reverted the changes above...

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2009-10-12 22:38

hmm, I can't seem to get it to work either. I'm posed the question in IRC.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2009-10-12 22:45

Are these docs not correct?
http://codex.gallery2.org/Gallery3:Theme_Overriding

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2009-10-12 23:07

That part is and that works, but not other portions. Looks like talmdal was able to override part of themeroller in night_wind, but that's some css that's also called in views/page.html.php

And now that you remind me that page exists :) I remember stopping there with the examples because I couldn't get other stuff overridden, but then got side tracked....
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2009-10-13 05:00

Bharat and I have been discussing this. It doesn't work :)

https://sourceforge.net/apps/trac/gallery/ticket/841

It works for modules, but right now themes can't override events. They can override views from modules though.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Fri, 2009-10-16 05:05

Version 1.5.1 of the theme is available.

* pagination for logic has been adjusted for Album and Photo pages. First, Prior, Next, Last buttons are supported for both.
* Item details are now shown in albums - [i] button
* Operations menu is back for items - [*] button
* Fixed issue with BBCode/encoded HTML mixed text in description
* main menu layers are now correct in IE7 compatibility mode (overlap)
* some CSS clean-up

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Tue, 2009-10-20 04:23

Version 1.5.2 coming along but before releasing it I'd like to get an opinion on the new format of the toolbar buttons and support for changeable layout.

* toolbar buttons are now stick to the right and are not depend on the state of the sidebar
* sidebar itself could be moved to the left, to the right, or hidden

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2009-10-21 01:44

I like that. It even remembers your setting if you come back later. Cool!
It the default position settable via some admin page?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2009-10-21 03:04

Yes it uses cookies to remember its state.
When I will be able introduce an admin page, then yes.

There are big plans :)

a) default view mode
b) ability to hide view mode bar
c) ability to show/hide paging for albums/pages
d) show hide item description (under the header)

What is more pressing right now is to make dialogs working. I need to extract just a part of the code which handles Ajax requests. I just do know yet where to start.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Sat, 2009-10-24 02:16

There goes a new version 1.5.2

* Code, layout, css cleanup.
* New thums for buttons.
* First set of Ajax dialogs is ready and now operational: Login, user info, edit albut, exit info.
* Fixed some browser related issues.

Requires a new version of shadowbox module

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2009-10-27 23:22
Serge D wrote:
@cefm, @nivekiam: tried it, does not work as expected

a) put back the original file for exif module
b) created helpers under greydragon.
c) put my adjusted exif_event.php in it
d) refreshed the page. Button disappeared.

nivekiam wrote:
Bharat and I have been discussing this. It doesn't work :)

https://sourceforge.net/apps/trac/gallery/ticket/841

This ticket is now fixed, Serge D, can you see if your module overrides work now?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2009-10-28 01:27

@floridave: yes, it seems to work now. Thanks!

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2009-10-28 06:06

Version 1.5.3 has been released and available from codex.

 
Noob86

Joined: 2006-12-31
Posts: 34
Posted: Sat, 2009-11-14 04:02

Looks awesome, I think the login part is vanishing behind mine (and the stock) logo though, any tips where I can adjust that?

http://www.bikesnstuff.net/gallery3/index.php/

 
Noob86

Joined: 2006-12-31
Posts: 34
Posted: Sun, 2009-11-15 06:36

Ok, I reinstalled, as I couldn't login anywhere. if this is fixed I'll be using this theme again though, as its quite good.

 
Serge D
Serge D's picture

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

Was away from theme development for some time...
Let me check on latest Git and see what changes are required.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Wed, 2009-11-25 01:31

New version (1.5.5) of the theme is available for download

  • CSS fixes
  • Theme adjusted to be compatible with latest Git.
  • Login links are moved into footer.
  • Pagination module redesigned to support new structure of paging data
 
DocMartin

Joined: 2005-07-13
Posts: 55
Posted: Thu, 2009-11-26 00:37

Looks good, tho after seeing Noob86's post, I too can't see login link

Aha! - just noticed at bottom right of page. That's fine with me; only very few people need to login.
So I'll start using, see how things go.
For "copyright", maybe note this is for the theme - some might become confused, thinking it includes photos

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Thu, 2009-11-26 02:01

I am planing to move copyright note into config setting.
This is just not yet implemented.
Please feel free to adjust it.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Fri, 2009-11-27 19:35

Version 1.5.6 is available

  • Fixed issue with tollbar buttons not properly aligned/shown when page is resized.
  • Copyright info moved into DB. To change default settings add [th_greydragon/copyright] into VARS table.
 
DocMartin

Joined: 2005-07-13
Posts: 55
Posted: Sat, 2009-11-28 08:32

Perhaps this is one of issues with dialogs - but just noticed when I tried to add photos to an album, didn't get link to choose photo; dialog appeared, but not much more than adding tags or clicking done button possible.
[version before 1.5.6; doesn't seem the changes solve this, and Copyright change looks quirky - tho should at least help guard against ready copyright changing by less technically inclined folk!]

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Sat, 2009-11-28 21:12

Dialogs is an ongoing issue. There is a lot of JS associated with that and logic is not easily extractable from default theme.
For now I am concentrating on surface logic and is waiting for Kohana upgrade. Will see what to do after, sorry.
At this time I am more concern about light state. I have XXL version of the theme I am working on, which would inherit look and feel of the current theme but keep all the code from default theme. This should solve the problem with dialogs...

 
DocMartin

Joined: 2005-07-13
Posts: 55
Posted: Mon, 2009-11-30 00:14

Ah, I'd wondered why the dialog not simply from Wind theme - wouldn't bother me if looked unlike Grey Dragon, providing it worked.
As it is, no big deal to switch to Wind for upload, and then back to Grey Dragon; but of course won't help the few users who have albums if and when they decide to add photos.

Hope things work out with the XXL version.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Mon, 2009-11-30 00:50

Not as simple, problem is not dilog layout but JS behind it.
For dilaogs to work majority of JS has to be linked to the page, then it defits the purpose of the the theme.

 
estetico

Joined: 2009-10-30
Posts: 8
Posted: Mon, 2009-11-30 16:49

Bug? Search results not working :(

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Mon, 2009-11-30 23:17

Definetly... Thanks! Fixed.

Version 1.5.7 is available:

  • Status message has been moved into header as popup to prevent obstruction of the main view. jQuery is used to fade it out in 10 sec.
  • Improved logic for dialogs on submit
  • Theme related JS has been moved out of the page.html.php
 
hobbes487

Joined: 2009-11-30
Posts: 12
Posted: Mon, 2009-11-30 22:55

I have just installed gallery3 and GreyDragon theme. When I activate the theme and then navigate back to my site I just get a blank page. This also happens with the 3nids theme so I don't think it is specific to GreyDragon. Any help on the issue would be much appreciated.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2009-11-30 22:59

You need to make sure you are running the latest experimental code. These themes won't work with B3:
http://codex.gallery2.org/Gallery3:Upgrading

Be sure to follow the tips for unpacking the code to ensure now old files are left behind
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here