Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Get module parameters from a plugin
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
KHarmer  
View profile  
 More options Aug 2 2012, 7:02 pm
From: KHarmer <kristianhar...@gmail.com>
Date: Thu, 2 Aug 2012 16:02:41 -0700 (PDT)
Local: Thurs, Aug 2 2012 7:02 pm
Subject: Get module parameters from a plugin

Hi all,

I have a custom module with custom paramaters which I'd like to be able to
get from either a plugin (non-related) or from the modules helper file
which is also used by the plugin.

The reason being is that these paramaters can/will be used by other
extensions (mainly plugins).

I've googled and cannot find anything that works (I've tried the obvious
methods used when calling them in the module etc.); I can only load the
modules parameters from the modules own tmpl file or the modules own
definition file!

Any ideas would be gratefully received.

Best regards,
K...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Dexter  
View profile  
 More options Aug 2 2012, 7:21 pm
From: Mark Dexter <dextercow...@gmail.com>
Date: Thu, 2 Aug 2012 16:21:02 -0700
Local: Thurs, Aug 2 2012 7:21 pm
Subject: Re: [jgen] Get module parameters from a plugin
The module params are stored (as a JSON string) in the params column
in the #__modules table. So you could get them by a direct query or
you could use the API. JModuleHelper has a getModule() method that
looks like it will do the work for you. Good luck. Mark


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »