I installed the Disable Functions extension, and turned off all the functions. It seems to work as expected, but it will not remove the "Wish List" links from the footer or the account page. Can this be fixed? Thanks.
In Extensions
Share this post:
Responses (9)
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
It's a mod made for the Default template and A 1.2, as of today.
If you take a look at the log in "Extensions -> Modification" you'll see what needs fixing to make it work for Second etc.
Modification::applyMod - Processing 'disable_functions'
FILE: admin/controller/setting/setting.php
FILE: admin/language/en-GB/setting/setting.php
FILE: admin/language/fr-FR/setting/setting.php
FILE: admin/language/nb-NO/setting/setting.php
FILE: admin/view/template/setting/setting.tpl
FILE: admin/view/theme/basic/template/setting/setting.tpl
FILE: admin/controller/dashboard/charts.php
FILE: admin/view/template/dashboard/charts.tpl
FILE: admin/controller/marketing/contact.php
FILE: admin/view/template/marketing/contact.tpl
FILE: admin/view/theme/basic/template/marketing/contact.tpl
FILE: admin/controller/sale/customer.php
FILE: admin/view/template/sale/customer_form.tpl
FILE: admin/view/theme/basic/template/sale/customer_form.tpl
FILE: admin/controller/sale/order.php
FILE: admin/view/template/sale/order_form.tpl
FILE: admin/view/theme/basic/template/sale/order_form.tpl
Modification:perationNode - SEARCH NOT FOUND (SKIPPED):
modification id = 'disable_functions'
file name = '/admin/view/theme/basic/template/sale/order_form.tpl'
search = '<label class="col-sm-2 control-label" for="input-reward"><?php echo $entry_reward; ?></label>'
NOT FOUND!
Modification:perationNode - SEARCH NOT FOUND (SKIPPED):
modification id = 'disable_functions'
file name = '/admin/view/theme/basic/template/sale/order_form.tpl'
search = '<label class="col-sm-2 control-label" for="input-reward"><?php echo $entry_reward; ?></label>'
NOT FOUND!
Modification:perationNode - SEARCH NOT FOUND (SKIPPED):
modification id = 'disable_functions'
file name = '/admin/view/theme/basic/template/sale/order_form.tpl'
search = '<label class="col-sm-2 control-label" for="input-affiliate"><?php echo $entry_affiliate; ?></label>'
NOT FOUND!
Modification:perationNode - SEARCH NOT FOUND (SKIPPED):
modification id = 'disable_functions'
file name = '/admin/view/theme/basic/template/sale/order_form.tpl'
search = '<label class="col-sm-2 control-label" for="input-affiliate"><?php echo $entry_affiliate; ?></label>'
NOT FOUND!
FILE: admin/view/template/sale/order_info.tpl
FILE: admin/view/theme/basic/template/sale/order_info.tpl
FILE: admin/controller/catalog/product.php
Modification:perationNode - SEARCH NOT FOUND (SKIPPED):
modification id = 'disable_functions'
file name = '/admin/controller/catalog/product.php'
search = '$data['language_code'] = $this->config->get('config_admin_language');'
NOT FOUND!
FILE: admin/view/template/catalog/product_form.tpl
FILE: catalog/controller/product/product.php
FILE: catalog/view/theme/default/template/product/product.tpl
FILE: catalog/view/theme/second/template/product/product.tpl
FILE: catalog/controller/account/account.php
FILE: catalog/view/theme/default/template/account/account.tpl
FILE: catalog/view/theme/second/template/account/account.tpl
FILE: catalog/controller/module/account.php
FILE: catalog/view/theme/default/template/module/account.tpl
FILE: catalog/view/theme/second/template/module/account.tpl
Modification::getFiles - UNABLE TO FIND FILE(S), IGNORED:
file = '/catalog/controller/checkout/cart.tpl'
FILE: catalog/view/theme/default/template/checkout/cart.tpl
FILE: catalog/view/theme/second/template/checkout/cart.tpl
FILE: catalog/controller/affiliate/login.php
FILE: catalog/controller/affiliate/account.php
Modification:perationNode - SEARCH NOT FOUND (SKIPPED):
modification id = 'disable_functions'
file name = '/catalog/controller/affiliate/account.php'
search = '$this->load->language('affiliate/login');'
NOT FOUND!
FILE: catalog/controller/affiliate/register.php
Modification:perationNode - SEARCH NOT FOUND (SKIPPED):
modification id = 'disable_functions'
file name = '/catalog/controller/affiliate/register.php'
search = '$this->load->language('affiliate/login');'
NOT FOUND!
FILE: catalog/controller/common/footer.php
FILE: catalog/view/theme/default/template/common/footer.tpl
FILE: catalog/view/theme/second/template/common/footer.tpl
FILE: catalog/controller/feed/facebook_store.php
FILE: catalog/view/theme/default/template/feed/facebook_store.tpl
FILE: catalog/view/theme/second/template/feed/facebook_store.tpl
FILE: catalog/controller/module/bestseller.php
FILE: catalog/view/theme/default/template/module/bestseller.tpl
FILE: catalog/view/theme/second/template/module/bestseller.tpl
FILE: catalog/controller/module/featured.php
FILE: catalog/view/theme/default/template/module/featured.tpl
FILE: catalog/view/theme/second/template/module/featured.tpl
FILE: catalog/controller/module/latest.php
FILE: catalog/view/theme/default/template/module/latest.tpl
FILE: catalog/view/theme/second/template/module/latest.tpl
FILE: catalog/controller/module/special.php
FILE: catalog/view/theme/default/template/module/special.tpl
FILE: catalog/view/theme/second/template/module/special.tpl
FILE: catalog/controller/product/category.php
FILE: catalog/view/theme/default/template/product/category.tpl
FILE: catalog/view/theme/second/template/product/category.tpl
FILE: catalog/controller/product/manufacturer.php
FILE: catalog/view/theme/default/template/product/manufacturer_info.tpl
FILE: catalog/view/theme/second/template/product/manufacturer_info.tpl
FILE: catalog/controller/product/search.php
FILE: catalog/view/theme/default/template/product/search.tpl
FILE: catalog/view/theme/second/template/product/search.tpl
FILE: catalog/controller/product/special.php
FILE: catalog/view/theme/default/template/product/special.tpl
FILE: catalog/view/theme/second/template/product/special.tpl
Modification:perationNode - SEARCH NOT FOUND (SKIPPED):
modification id = 'disable_functions'
file name = '/catalog/view/theme/second/template/product/product.tpl'
search = '<div class="btn-group">'
NOT FOUND!
Modification:perationNode - SEARCH NOT FOUND (SKIPPED):
modification id = 'disable_functions'
file name = '/catalog/view/theme/second/template/product/product.tpl'
search = '<div class="btn-group">'
NOT FOUND!
Modification::applyMod - Done 'disable_functions'
----------------------------------------------------------------
-
Accepted Answer
I am using the latest version of Arassta, and I tried both of the templates that get installed with the application. The wishlist links mentioned in the previous post are not removed from either of them when using this extension. The extension was created by the Arastta team, and therefore I believe it should be fixed by the Arastta team so that it works as expected while using templates supplied by the Arastta team. After all, I am just a user of your application. Thank you. -
Accepted Answer
-
Accepted Answer
I've published new version for disable functions extension.
Richard I ask you? Did you check extension setting on Arsatta setting page? if you set your setting for this extension. it works default and second theme.
Also Rune I've solved modification skip log issue and here => https://github.com/arastta/arastta/issues/492 -
Accepted Answer
Cüneyt Şentürk wrote:Also Rune I've solved modification skip log issue and here => https://github.com/arastta/arastta/issues/492
Not sure why you would do that. If something is wrong, not matching, I personally would like to know so I can make it match if needed.
How would I now know about mismatch, typos etc in my xml? -
Accepted Answer
That means we have to modify the xml's if something is broken by time: https://github.com/arastta/addons/commit/cea1897f97d1daeaefb21626edba2d81491b7178
Edit! But OK, the handling of skip is correct now. But I don't agree on changing the xml's, skip should probably only be used for non default files/code.
https://github.com/vqmod/vqmod/wiki/scripting
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »