Template problem

Sarunas

New Member
Can you pull list subscribers table structure to view folder?

apps/customer/controllers/List_subscribersController.php to
customer/themes/my-template/views/list_subscribers/_list.php

I cant edit or style this table without edditing system files :(
Or maybe I can overridde List_subscribersController.php in my template?
 

Sarunas

New Member
I copyed List_subscribersController.php from apps/customer/controllers and added to my theme controller folder

Added this line in NameTheme.php
// override default list subscriber controller
Yii::app()->controllerMap['list'] = array(
'class' => 'theme-name.controllers.List_subscribersController',
);

But nothing changed in customer/lists/id/subscribers.
Please help me with this
 

twisted1919

Administrator
Staff member
It's:
Code:
Yii::app()->controllerMap['list_subscribers'] = array(
'class' => 'theme-name.controllers.List_subscribersController',
);
 
Top