Shopex use zend encoder to protect their commercial product. To run it, the 'zend-optimiser' is needed for decoding. Some web servers do not provide this module, such as ONE.COM. Therefore, to remove this 'footer' slogan, you must have their license the override the encoded php file.
Here is a hack to remove this 'powered by shopex' from footer, using 'mootools', which is coming with shopex installation automatically.
- go to /themes/THEME NAME/block/footer.html.
Use '<div id="footer_remove">' and '</div>' to surround the '<{foot}>' - go to /themes/THEME NAME/block/header.html.
Add the following javascript after '<{head}>'
================
<script type="text/javascript">
window.addEvent('domready', function() {
var fa=$('footer_remove').getElements('a[href^=http://store.shopex.cn/rating]');
fa.setStyle('display', 'none');
var fb=fa.getNext('span');
fb.setStyle('display', 'none');});
});
</script>
================
No comments:
Post a Comment