1. Create file overwrite layout + sub files overwrite
2. In file filter.php edit line to specify new sub files
At file new.php : replace default_ to new_
Detail: this mean new layout use sub new_ files.
Edit line: 79-85
case 'heading':
require JModuleHelper::getLayoutPath('mod_menu', 'default_' . $item->type);
break;
default:
require JModuleHelper::getLayoutPath('mod_menu', 'default_url');
break;
Replace this:
case 'heading':
require JModuleHelper::getLayoutPath('mod_menu', 'new_' . $item->type);
break;
default:
require JModuleHelper::getLayoutPath('mod_menu', 'new_url');
break;
3. At Administrator>Modules Manager>Menu choose new layout
Thứ Tư, 11 tháng 2, 2015
Đăng ký:
Bài đăng (Atom)