It is currently Fri Dec 15, 2017 12:28 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: custom module
PostPosted: Thu Sep 19, 2013 9:15 am 
Offline

Joined: Thu Sep 19, 2013 9:09 am
Posts: 2
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?


Top
 Profile  
 
 Post subject: custom module
PostPosted: Thu Sep 19, 2013 9:15 am 
Top  
 Post subject: Re: custom module
PostPosted: Fri Sep 20, 2013 1:32 am 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
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


Top
 Profile  
 
 Post subject: Re: custom module
PostPosted: Fri Sep 20, 2013 10:09 am 
Offline

Joined: Thu Sep 19, 2013 9:09 am
Posts: 2
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!!!


Top
 Profile  
 
 Post subject: Re: custom module
PostPosted: Mon Dec 30, 2013 7:26 pm 
Offline

Joined: Mon Dec 30, 2013 7:19 pm
Posts: 1
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!


Top
 Profile  
 
 Post subject: Re: custom module
PostPosted: Tue Jan 07, 2014 12:00 am 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
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:
    function onContentBeforeDisplay($context, &$row, &$params, $limitstart) {
        $this->onContentPrepare($context, $row, $params, $limitstart);
    }


If no, please add it before this line:
Code:
function onContentPrepare($context, &$row, &$params, $limitstart) {


And try to see if it will work in custom HTML.

_________________
Help Admiror Gallery become even better,
give us a review on JED


Last edited by Vasiljevski on Tue Jan 07, 2014 4:40 pm, edited 1 time in total.
Came up with better idea :)


Top
 Profile  
 
 Post subject: Re: custom module
PostPosted: Tue Jan 07, 2014 12:00 am 
Top  
 Post subject: Re: custom module
PostPosted: Wed Jun 24, 2015 2:33 pm 
Offline
Komusubi
Komusubi

Joined: Tue Jun 23, 2015 4:34 pm
Posts: 34
Location: The Netherlands
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

 


All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

This is the official Admiror Joomla! Community Forum. You are welcome to join the Admiror Joomla! Community. All Admiror Joomla! Extensions Users, Joomla! Developers, PHP or mySQL Developers are welcome to support & contribute to Admiror Joomla! Projects.

Joomla! is a free and open source content management system (CMS) for publishing content on the World Wide Web and intranets. With a vibrant volunteer community, user-friendly features and plenty of power, Joomla is perfect for your website!

Joomla! is written in PHP, uses object-oriented programming (OOP) techniques and software patterns, stores data in a MySQL database, and includes features such as page caching, RSS feeds, printable versions of pages, news flashes, blogs, polls, search, and support for language internationalization.

Joomla! is the property of Open Source Matters, Inc. All rights reserved. Read more about Joomla! at http://www.joomla.org/.


Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group