Skip to main content
Planned maintenance impacting Stack Overflow and all Stack Exchange sites is scheduled for Monday, September 16, 2024, 5:00 PM-10:00 PM EDT (Monday, September 16, 21:00 UTC- Tuesday, September 17, 2:00 UTC). The email/password authentication method will be unavailable for logging in and registering. Read more here
3 votes
Accepted

PHP Version compatibility issue with EE module

As error says, PHP 7 is only allow variables to passed by reference not an instance. You now need to remove that line and replace all $this->EE calls to ee(). That will work for you.
Jainil's user avatar
  • 626
1 vote
Accepted

Settings for a module

For modules, you just go ahead and create your own DB table that stores your module settings. So just like you create your modules main table for storing data submitted from your form when you install ...
jrothafer's user avatar
  • 5,900
1 vote

Creating a button in module control panel to manually perform module action in EE 2

I suggest you to use below code in mcp file of your module folder. url = BASE .'&'.'C=addons_modules'.'&'.'M=show_module_cp'.'&'.'module=MODULE_NAME'. '&' . 'method='.$method; $this-&...
Harsh Barach's user avatar
1 vote

PHP Version compatibility issue with EE module

Pretty sure you don't need this in a plugin `$this->EE =& get_instance(); ref https://docs.expressionengine.com/v2/development/plugins.html
Jim Wyse's user avatar
  • 1,987
1 vote
Accepted

Storing Single Option Value in Admin

Set up a Global Variable with the value you need. Then you can access the value from within a template simply by including the Global Variable name (within curly brackets) within your templates - e.g....
JCOGS Design's user avatar
  • 3,585
1 vote
Accepted

Unable to Access Add-ons Folder

This is a bug in 3.4.5. the solution is here. Click on the solution tab to see the necessary code change.
forrest's user avatar
  • 1,068
1 vote
Accepted

Return Variables to a Template

I had similar situation this week. I've made two functions - one for the form template tag and second is action callback that works with form data. In this manner I could output information with ee()...
sirBlond's user avatar
  • 126

Only top scored, non community-wiki answers of a minimum length are eligible