•  » Themes
  •  » [Theme] GreyDragon Theme

#151 2015-03-19 07:39:52

Serge D
Member
US
2014-07-15
385

Re: [Theme] GreyDragon Theme

version 1.2.22 is up

This is major release. Please read about changes below

Version introduces concept of widgets for picture metadata area along with template anchor targets allowing more streamlined approach in adding and managing metadata tabs for picture pages.

+ Added Photo metadata tab targets in picture.tpl (see template for positioning): {*GD_META_ICO*}, {*GD_META_TXT*}, {*GD_META_CONTENT*}
+ Picture tab "classic" content moved into external templates picture_tab_ico.tpl, picture_tab_txt.tpl, picture_tab_content.tpl
+ Added support for gd_get_metadata content trigger
  You can add custom content for picture meta tabs
    Ex: add_event_handler('gd_get_metadata', 'my_get_tab_metadata');
        function greydragon_get_tab_metadata($metadata) { return $metadata; }
        where each array element represents the tab
          $metadata[] = array(
             "id"         => unique id of the tab
             "icon_class" => class to be used to render icon tabs
             "title"      => tab or menu block title
             "content"    => block content
             "target"     => optional, rendering target - "left", "top", "right", "bottom", not supported, reserved for future use
             "combine"    => combine_css or combine_js reference block
           );
  Prior to rendering $metadata is processed and converted in appropriate construct to be used by the theme
  See ShareThis plugin for more details
+ Tab switch logic in Photo page optimized to allow management of dynamic tabs introduced by 3rd party plugins
+ Improved presentation and content alignment of Tags tab in picture page
+ Added support for auto-close of popup menu on navigation or refresh - Auto Close Popup Menu on Refresh
+ Help improvements
- Fixed issue with missing colorpack setting when theme is first installed and settings are not set yet
- Fixed issue with number of undefined theme params (unused at this time)
- Fixed issue with missing enumerator for $footer_elements in footer.tpl

Last edited by Serge D (2015-03-19 07:41:57)

Offline

 

#152 2015-03-19 12:50:40

jnashpiwigo
Piwigo Team
2014-10-21
254

Re: [Theme] GreyDragon Theme

Love the changes - yay! autoclose menu!

Looks like the option to edit the tags (keywords) has disappeared?  I was hoping that this would have 'fixed' for non-IE browsers...  (where the edit pencil would just show a gray block with no tags)

Also, when using 'icons' for the tab info, can you add alt text so that when you hover over the icon, the text will display.  Helps my not so savvy family understand what the icons represent...  (I know, use text instead, but icons look 'nicer' to me)

Last edited by jnashpiwigo (2015-03-19 12:52:16)

Offline

 

#153 2015-03-19 15:26:40

Sara urban
Guest

Re: [Theme] GreyDragon Theme

Hello Serge, meanwhile congratulations for the plugin, really very helpful. I wanted to ask if it was possible to change two settings.
1- you can put the date in automatic thumb of the album? I inserted in the individual photo album, but I can not put it in the album that contains them.
2- you can change the strings of the recent album? Leave only the name of the album will not see all the way?

Thank You

 

#154 2015-03-19 16:38:22

Serge D
Member
US
2014-07-15
385

Re: [Theme] GreyDragon Theme

jnashpiwigo wrote:

Love the changes - yay! autoclose menu!

Looks like the option to edit the tags (keywords) has disappeared?  I was hoping that this would have 'fixed' for non-IE browsers...  (where the edit pencil would just show a gray block with no tags)

Indeed. I did make some changes in 1.2.23 to further improve it as colorBox renders differently in FF, for example
To be clear, this only applies when user can add tags

jnashpiwigo wrote:

Also, when using 'icons' for the tab info, can you add alt text so that when you hover over the icon, the text will display.  Helps my not so savvy family understand what the icons represent...  (I know, use text instead, but icons look 'nicer' to me)

Added
it would also result in overlay window having title

Offline

 

#155 2015-03-19 16:52:16

Serge D
Member
US
2014-07-15
385

Re: [Theme] GreyDragon Theme

Sara urban wrote:

Hello Serge, meanwhile congratulations for the plugin, really very helpful. I wanted to ask if it was possible to change two settings.
1- you can put the date in automatic thumb of the album? I inserted in the individual photo album, but I can not put it in the album that contains them.

Date of what? last updated image?
Albums have max_date_last only
Image would have date_available (published date), date_creation (date taken)

Please note that theme itself does not manage how thumbs for albums or photos are constructed. It comes from mainpage_categories.tpl and thumbnails.tpl (default theme)
you can replace default logic by copying these two files into local folder and adjusting it to include field(s) above

Sara urban wrote:

2- you can change the strings of the recent album? Leave only the name of the album will not see all the way?

no quite understand what you mean, sorry
but above applies

If you mean content constructed by GDThumb plugin, then it is different story
yes, I could consider adding extra fields into the thumb, but please clarify what exactly you are looking to add

Offline

 

#156 2015-03-19 17:27:54

Sara urban
Member
2015-03-19
2

Re: [Theme] GreyDragon Theme

I am attaching pictures

For the first I wish you could see only the title of the album and not the path. I wish it did not appear "chronicle - archive etc" but only the name of the album

For the second I'd like would fit the creation date and if possible the city from which they were taken photos

I hope I have been clearer :)

Offline

 

#157 2015-03-19 17:29:02

Sara urban
Member
2015-03-19
2

Re: [Theme] GreyDragon Theme

sorry I had not attached the first image;)

Offline

 

#158 2015-03-19 21:36:52

Serge D
Member
US
2014-07-15
385

Re: [Theme] GreyDragon Theme

Sara urban wrote:

I am attaching pictures

For the first I wish you could see only the title of the album and not the path. I wish it did not appear "chronicle - archive etc" but only the name of the album

For the second I'd like would fit the creation date and if possible the city from which they were taken photos

I hope I have been clearer :)

I have no idea how you achieved screenshot above
GDThumb, if you use that, does not include anything beyond description and/or title
so path or date is not part of the thumb overlay

Exif info is not part of thumb metadata in thumb screens so extra work on core level or specialized plugin would be needed

I suspect you may already using some other plugin which puts the data you are talking about already
if so, it would be question for plugin's dev team to make adjustments

Offline

 

#159 2015-03-20 12:18:45

homdax
Member
Sweden
2015-02-02
323

Re: [Theme] GreyDragon Theme

Menu management

I realize this may not be directly relevant to this Theme, but your forum order is a bit werd in that aspect (french?) since if I post a question about "anything" people tell me to go to this thread, regardless of if it has to do with the Theme or not, seemingly because I run this theme. Must be frustrating, eh, Serge?

Anyhow,
Any tricks for making this menu dynamically expandable via script or css, it will grow more.
See screenshot.

Offline

 

#160 2015-03-20 19:17:01

jnashpiwigo
Piwigo Team
2014-10-21
254

Re: [Theme] GreyDragon Theme

Serge, one more request on the menu option

Can you also make the menu collapse when you leave the menu area?  (Like how the administrator menu works)

Awesome work!

Offline

 

#161 2015-03-21 04:18:47

Serge D
Member
US
2014-07-15
385

Re: [Theme] GreyDragon Theme

homdax wrote:

but your forum order is a bit werd in that aspect (french?)

not my order, but... was it plg?

homdax wrote:

Must be frustrating, eh, Serge?

Not so much, I let it slide for most part, but did push back on occasion :)

homdax wrote:

Any tricks for making this menu dynamically expandable via script or css, it will grow more.

I assume you are talking about horizontal width
my theme limits width to 200px, default sets it to 18em which is just slightly wider when in popup menu
once you menu item width is larger it would simply start wrapping

if you prefer menu to grow, simply set #menubar { width: auto; }

Offline

 

#162 2015-03-21 04:36:23

Serge D
Member
US
2014-07-15
385

Re: [Theme] GreyDragon Theme

jnashpiwigo wrote:

Can you also make the menu collapse when you leave the menu area?  (Like how the administrator menu works)

in 1.2.23

Offline

 

#163 2015-03-21 09:51:47

homdax
Member
Sweden
2015-02-02
323

Re: [Theme] GreyDragon Theme

Hi Serge, no I am not referring to horizontal width, i think Jnash is more onto it.

Folders and subitems and stuff.... ajax or jscript.

Maybe it is a feature of Advanced menu... but my concern is how it will work within your theme, and what settings to use.

Last edited by homdax (2015-03-21 09:52:16)

Offline

 

#164 2015-03-21 09:55:40

evadim
Member
2014-07-23
12

Re: [Theme] GreyDragon Theme

Hi Serge,

I sorry to rise my message from last month, but in new version you release, those 2 issues still present...

evadim wrote:

First photo on page becomes small, if panorama image located at the end of page. No matter if this page - whole album or just one of 4 pages in it.

Second issue - if I enable RV Thumb Scroller, I can't open photo by click if it loaded by RV Thumb Scroller. On "first page" click works.

Offline

 

#165 2015-03-22 14:41:13

jnashpiwigo
Piwigo Team
2014-10-21
254

Re: [Theme] GreyDragon Theme

Okay Serge, one more request by me, and then I'm perfect!!!

As with the stripped them, when viewing a picture, there is an option to click in the middle of the picture to have it open the large (HD) photo in lightbox.

If you could incorporate this option, I'd be dumping some coffee into your mug!

Thanks!

Offline

 
  •  » Themes
  •  » [Theme] GreyDragon Theme

Board footer

Powered by FluxBB