admiror gallery not work in custom component with editor

Admiror Gallery is free extension for Joomla! 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
sudharsan
Posts: 3
Joined: Tue Sep 04, 2012 5:03 pm

admiror gallery not work in custom component with editor

#1 Post by sudharsan »

HI, i have some issues in admiror gallery plugin. it is content plugin right. it only work with articles and not working on my custom component. so i had developed system plugin for admiror gallery its works fine but the css and js file not working and not include anywhere in my site.




so please tell me any suggestions . how to work admiror gallery in custom component 8-)

Admiror Gallery 5 - Fundraising Campaign

sudharsan
Posts: 3
Joined: Tue Sep 04, 2012 5:03 pm

Re: admiror gallery not work in custom component with editor

#2 Post by sudharsan »

I solved admiror gallery not work in custom component with editor,

Great plugin! I create system plugin for admiror gallery and i attached zip file of system admiror gallery
how to install:

step1) please install the system admiror gallery plugin (refer below attached)
step2) Please include all js and css files in your custom component/view/viewfolder/tmpl/default.php


thats solve...
Attachments
admiror gallery.zip
(452.94 KiB) Downloaded 1748 times

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

Re: admiror gallery not work in custom component with editor

#3 Post by Vasiljevski »

Thank you for your contribution :)
Help Admiror Gallery become even better,
give us a review on JED

JFourie
Posts: 2
Joined: Tue Dec 25, 2012 11:06 pm

Re: admiror gallery not work in custom component with editor

#4 Post by JFourie »

sudharsan wrote:I solved admiror gallery not work in custom component with editor,

Great plugin! I create system plugin for admiror gallery and i attached zip file of system admiror gallery
how to install:

step1) please install the system admiror gallery plugin (refer below attached)
step2) Please include all js and css files in your custom component/view/viewfolder/tmpl/default.php


thats solve...
Hello.

I am interested in this.

Please contact me on fouriejj@gmail.com.

I Installed your plugin and it gives a JParameter error.

Update: Solved the JParameter error by importing:
jimport( 'joomla.html.parameter' );

Problem is now when I edit anything in the admin backend of my component the page doesn't open. Disabling the plugin makes it work.

Was this plugin written for Joomla 2.5? Still not sure what you mean by loading the JS and CSS files. Which JS and CSS files? I don't need all of them. Can you provide a working snippet?

shenlong2210
Posts: 1
Joined: Fri Jan 04, 2013 5:27 am

Re: admiror gallery not work in custom component with editor

#5 Post by shenlong2210 »

I have met problem like you. Some article not showing image without white popup.
And I try to rename file, you should take it a simple name, ex: image1.jpg Instead of image(1).jpg

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: admiror gallery not work in custom component with editor

#6 Post by Vasiljevski »

Hello.

I am interested in this.

Please contact me on fouriejj@gmail.com.

I Installed your plugin and it gives a JParameter error.

Update: Solved the JParameter error by importing:
jimport( 'joomla.html.parameter' );

Problem is now when I edit anything in the admin backend of my component the page doesn't open. Disabling the plugin makes it work.

Was this plugin written for Joomla 2.5? Still not sure what you mean by loading the JS and CSS files. Which JS and CSS files? I don't need all of them. Can you provide a working snippet?
It look's like this was made for the older plugin version, so this is obsolete now.

I don't think this is a good solution, using Content plugin as System plugin.
Better solution would be to manually run Admiror Gallery in your custom component.

Similar way the Admiror Gallery Component is rendering Gallery layout menu item, here is the file:

Code: Select all

\components\com_admirorgallery\views\layout\tmpl\default.php 
This way you won't have the plugin adding JS and CSS files in every pageload, and get the desired effect :)
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: admiror gallery not work in custom component with editor

#7 Post by Vasiljevski »

shenlong2210 wrote:I have met problem like you. Some article not showing image without white popup.
And I try to rename file, you should take it a simple name, ex: image1.jpg Instead of image(1).jpg
Yes this is slimbox issue, image names with () are not shown in the popup.
Help Admiror Gallery become even better,
give us a review on JED

Post Reply