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
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
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
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
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
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
sorry I had not attached the first image;)
Offline
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
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
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
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
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
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
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
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