Another bugfix in component

Admiror Gallery is free extension for Joomla! 1.6. Joomla! 1.7 and Joomla! 2.5 based websites. Admiror Gallery is all in one, a simple and instant solution for rendering image gallery from folder with images, but very flexible and adaptable.
Post Reply
Message
Author
Hansgeorg
Posts: 5
Joined: Tue Oct 16, 2012 2:12 pm

Another bugfix in component

#1 Post by Hansgeorg »

Hi,

I've done another bugfix in the component. There was another AG_APPLY_DESC / AG_RESET_DESC which must changed with COM_ADMIRORGALLERY_APPLY_DESC /***_RESET_DESC in site\helpers\toolbar.php so this keyword is also changed in german and english translation files.

There is one error that am not able to find:

When I go to "Components -> Admirorgallery -> Controlcenter in backend, the parameters are in German. When I call the link in Frontend to make a new gallery it's in german too.
But when I create a new menupoint with "new gallery" in backend, the parameters are in english. Only if I put the translation in the administrator/languages/de-DE/de-DE.com_admirorgallery.sys.ini it is in german. Shouldn't the translation come from de-DE.com_admirorgallery.ini in administrator/languages/de-DE?

And why it isn't possible to upload multiple files (shift+click in the files dialog) in picture upload?
Attachments
com_admirorgallery.zip
(233.15 KiB) Downloaded 986 times

Admiror Gallery 5 - Fundraising Campaign

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: Another bugfix in component

#2 Post by Vasiljevski »

You can upload multiple images only if you pack them in a zip file. But I agree with you that it would be good idea to enable multi selection for files.

For the language loading, I'm not sure where is the problem. Is Joomla doing it that way or should we add something to enable a proper language handling.

But if adding translations to sys.ini is the solution we can stick to it for now.

Great thanks for the bugfix, I tried to fix AG_APPLY_DESC and AG_RESET_DESC translation problem but with no success, so thanks once again :)
Help Admiror Gallery become even better,
give us a review on JED

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: Another bugfix in component

#3 Post by Vasiljevski »

I think I found the answer to your question
Shouldn't the translation come from de-DE.com_admirorgallery.ini in administrator/languages/de-DE?
In fact translation for parameters come from plugin translations, so translations are coming from : JROOT/administrator/language/de-DE/de-DE.plg_content_admirorgallery.ini

Because the parameters displayed when new gallery menu item is added are in fact plugin parameters.

So we need to have de-DE.plg_content_admirorgallery.ini and everything will be OK :)
Help Admiror Gallery become even better,
give us a review on JED

Hansgeorg
Posts: 5
Joined: Tue Oct 16, 2012 2:12 pm

Re: Another bugfix in component

#4 Post by Hansgeorg »

Hi,

here is the updated plugin with german language. Does a version with multiupload comes in the near future?
And Is it possible to create captions over or under a picture (for example to make categories) and if yes, how? I don't find something in the options.
Attachments
plg_admirorGallery_4.1.2.zip
(379.39 KiB) Downloaded 914 times

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: Another bugfix in component

#5 Post by Vasiljevski »

Thanks for the plugin translation :)

As for the multiupload, we can only make this using HTML5 (without Flash) because HTML4 does not support more than one file per input field. I don't know is this acceptable, because HTML5 is still not mainstream and some older browsers do not support it.

Captions of the image? There is no option for this, because this is template responcebility. Depending on the template captions can be anywere.
It is just a question of getting to know API usage for template creation. You can find some short API definition here: http://www.admiror-design-studio.com/me ... ndbook.pdf
Help Admiror Gallery become even better,
give us a review on JED

Admiror Gallery 5 - Fundraising Campaign

Post Reply