custom module

Joomla! - Admiror Columnizer is based on great jQuery library developed by Adam Wulf. More about Adam's Columnizer library you can find at Columnizer jQuery Plugin webpage.
It comes in All-in-One installer for Joomla! 1.5, Joomla! 1.6, Joomla! 1.7, Joomla! 2.5 and Joomla! 3.x
Post Reply
Message
Author
gustav
Posts: 2
Joined: Thu Sep 19, 2013 9:09 am

custom module

#1 Post by gustav »

I have successfully used the plugin to create columns in my articles, but it does not want to columnize the text in a custom text module in any position on my site. Does iy not work in custom modules?

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: custom module

#2 Post by Vasiljevski »

In general, custom text module does nit trigger the correct event that would cause the plugin to "kick in". But I think there should be a fix for this, now it is too late to search for it (01:30 am).
Usually modules have an option to triger content plugin event, you should also check your module settings.
I will try to find this fix tomorrow and give instructions on how to apply it :-)
Help Admiror Gallery become even better,
give us a review on JED

gustav
Posts: 2
Joined: Thu Sep 19, 2013 9:09 am

Re: custom module

#3 Post by gustav »

Hi, thanks for your help! I have managed to use it in a module when I use K2 Article view, but would still like to use as a custom html module. Your help is much appreciated. GREAT PLUGIN!!!

EricJoomla
Posts: 1
Joined: Mon Dec 30, 2013 7:19 pm

Re: custom module

#4 Post by EricJoomla »

Could you please inform if there was a solution found to put colums in 'Custom HTML'?
I need this as well and would be very happy if it could be done, it saves me lot of fooling around with tables (not responsive), html and CSS!
Thanks on beforehand!

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

Re: custom module

#5 Post by Vasiljevski »

Admiror gallery is a Content plugin, meaning that it is only executed when component or module calls onContentPrepare.

Can you check admirorgallery.php and see if you can find this code :

Code: Select all

    function onContentBeforeDisplay($context, &$row, &$params, $limitstart) {
        $this->onContentPrepare($context, $row, $params, $limitstart);
    }
If no, please add it before this line:

Code: Select all

function onContentPrepare($context, &$row, &$params, $limitstart) {
And try to see if it will work in custom HTML.
Last edited by Vasiljevski on Tue Jan 07, 2014 4:40 pm, edited 1 time in total.
Reason: Came up with better idea :)
Help Admiror Gallery become even better,
give us a review on JED

Admiror Gallery 5 - Fundraising Campaign

Bluefox
Komusubi
Komusubi
Posts: 34
Joined: Tue Jun 23, 2015 4:34 pm
Location: The Netherlands

Re: custom module

#6 Post by Bluefox »

Am having Joomla 3.4.1 + Plugin 3.5


running the plugin in a custom HTML module is possible by setting "prepare content" to yes within the options of the custom HTML module.

Post Reply