Module

Developer
Supported

Empty Channels

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Ahmedeng

     

You must be logged in to post.

Deprecated calls since 2.6

General

davidfsmith
davidfsmith

Lines 33 and 170 need to be updated as they use deprecated code

Change:

$this->EE->cp->set_variable('cp_page_title'$this->EE->lang->line('empty_channel_module_name')); 

To:

$this->EE->view->cp_page_title $this->EE->lang->line('empty_channel'); 

To make it work again.

Reference:
https://ellislab.com/expressionengine/user-guide/development/usage/cp.html#set-variables

Mathew Smith
# 1
Mathew Smith

Thanks, David. I figured this out as well. Although, shouldn’t line 33 and 170 be slightly different? Line 33 should reference ‘empty_channel_module_name’ and line 170 should reference ‘empty_channel’. Correct?

My problem now is that the pagination doesn’t work—so I only see 10 channels to select from. I’m hesitant to go any further and try and use the add-on. Any ideas?

Thanks again.