Hot answers tagged

4 votes
Accepted

What Addons are compatible with EE 3.0?

I found the answer. Devotee has a list here.
forrest's user avatar
  • 1,068
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
3 votes
Accepted

Module development: Any reasons creating catch-all action is a bad idea?

It's really your choice here. I imagine that this framework is best for smaller addons. One point of access is always slightly frowned upon; because it creates a SPOF in your addon. Trust me, I ...
jrothafer's user avatar
  • 5,900
2 votes
Accepted

How to add a new database column in third party module?

The add column function requires the database name, something that I had missed out in my function. ee()->dbforge->add_column( 'module_table', $updates ); Full code: public function update( $...
Kieran McClung's user avatar
2 votes

How to add a new database column in third party module?

add_column just defines the column specs. After which you need to run create_table https://codeigniter.com/userguide2/database/forge.html#add_field "After the fields have been defined, they can be ...
Jim Wyse's user avatar
  • 1,987
2 votes

How to update Modules?

Important edit: a database backup before you do any module updating might prevent data loss and is always a good idea! It is a pretty straight forward process. For Transcribe simply follow the ...
JCOGS Design's user avatar
  • 3,587
2 votes
Accepted

Upgrading module from EE2 > EE3

Generally yes, you only need to add addon.setup.php. There of course could be some deprecated code etc.
Yuri Salimovskiy's user avatar
  • 2,846
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,587
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
1 vote
Accepted

Lang text with control panel interface

You can either use built-in Global Variables feature or Low Variables add-on Both will work same way, you'll just place {variable_name} in your templates, without any other special tags, but you may ...
Yuri Salimovskiy's user avatar
  • 2,846
1 vote
Accepted

How to access a custom table name that isn't prefixed with exp_

If I recall correctly, using the query module (and relative portion of the database class) doesn't force the prefix. https://ellislab.com/expressionengine/user-guide/add-ons/query/ So you can use ...
jrothafer's user avatar
  • 5,900
1 vote

How to access a custom table name that isn't prefixed with exp_

You can set the database to be used like so: $mydb = ee()->load->database('mydatabase', TRUE); By setting the second parameter to TRUE the function will return the database object. and then ...
foamcow's user avatar
  • 7,176
1 vote

Module not showing in modules list for installing

You will need to make sure the folder you place in the third_party directory matches the package name. From the Github repo, you can see that the files are called xxx.flag_master.php, so therefore ...
Fred Jones's user avatar
1 vote
Accepted

Module not showing in modules list for installing

The files should be located inside system/expressionengine/third_party/flag_master/ folder, not directly in third_party folder. Please check that.
Yuri Salimovskiy's user avatar
  • 2,846
1 vote

Trigger the member self activation email from custom add-on with member registration

The email are being sent with help of Email library. In the code you posted, there is no reference for it, therefore no emails go out. Here is sample code for sending member activation email from one ...
Yuri Salimovskiy's user avatar
  • 2,846

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