Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Need to load module in a custom component
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Need to load module in a custom component
#26603
Need to load module in a custom component 12 Years, 1 Month ago Karma: 0
Hi,

I have successfully installed Ari Data tables and got it working with my queries. However, since I want this to be displayed on a view page within a custom component I have written.

Using the Content-Ari Data tables, I'm not able to see the results and neither using the following code:
Code:

jimport('joomla.application.module.helper');
$modules = JModuleHelper::getModules('user101');
echo '<pre>';
print_r ($modules);
echo '</pre>';
foreach($modules as $module)
{
echo JModuleHelper::renderModule($module);
}



Could you please provide me a quick help so that I may get the reporting module of my application up and running?

Many thanks,
Vikas
The administrator has disabled public write access.
 
#26604
Re:Need to load module in a custom component 12 Years, 1 Month ago Karma: 748
Hello,

Send your order number by email please.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#26639
Re:Need to load module in a custom component 12 Years, 1 Month ago Karma: 0
Hi,

I have sent you the order number on the e-mail address you mentioned. Kindly check and let me know.

Thanks,
Vikas
The administrator has disabled public write access.
 
#26642
Re:Need to load module in a custom component 12 Years, 1 Month ago Karma: 748
Check your mail please.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#26647
Re:Need to load module in a custom component 12 Years, 1 Month ago Karma: 0
I tried Modules Anywhere and Module Plant both, and tried embedding the code e.g. {module 'Ari Data Table'}, {modulepos 'user101'} etc. into the view templates of my custom component.

These two plugins seem to be working only with the Joomla articles/content - I tried it there and it was working. However, they just did not work with the custom component.

If you could please send me example (maybe, a code snipped to include into the PHP code or something) of how the Ari Data Table module could be inserted into a component, it'll be really great.

Any help that points me to the right direction would be welcome indeed! I shall appreciate your kind help as I'm absolutely stuck getting my reports to work.

Many thanks,
Vikas
The administrator has disabled public write access.
 
#26649
Re:Need to load module in a custom component 12 Years, 1 Month ago Karma: 0
These two plugins give you a code such as [moduleplant id="<module_id>"], which can be inserted into Joomla content. The joomla content is stored into the database and rendered appropriately when it is retrieved to display the content.

However, in case of my component, I've written the PHP code and would like to show this in the view page redirected from a controller. Unfortunately, the code generated by either of the plugins does not work if I paste it directly into the HTML part of the view or the PHP code.

Thanks,
Vikas
The administrator has disabled public write access.
 
Go to topPage: 12