X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Mobile module how to remove powered by (https://forum.x-cart.com/showthread.php?t=71864)

beemanthebuzz 06-16-2015 12:10 PM

Re: Mobile module how to remove powered by
 
Hi Tony,

Can it be made to work with the current release of x-cart?

MobileCSS
Version: 5.1.0
Enabled

The module is not compatible with your X-Cart version

beemanthebuzz 06-17-2015 09:13 AM

Re: Mobile module how to remove powered by
 
Hi Tony,

I took a chance and changed the version to 5.2 in the Main.php file in the module example package and it worked.

Recent updates to the mobile skin always say not compatible with the PayPal module but it works when I re-enable.

Many thanks

artist122 11-04-2015 09:44 AM

Re: Mobile module how to remove powered by
 
/public_html/skin/common_files/modules/Xcart_Mobile/customer/page.tpl

remove {include file="main/prnotice.tpl"}

fixhh 01-13-2016 10:54 PM

Re: Mobile module how to remove powered by
 
Hello... how do I remove the Powered by X-Cart on the Mobile Mode?

My X-Cart Version: 5.2.10 and the latest Mobile Mode in the Market Place.

This old mode Tony created at:
http://kb.x-cart.com/display/XDD/Adding+CSS+and+JS+files+for+Mobile+Skin
....and this mode doesn't work:
https://dl.dropboxusercontent.com/u/23858825/Tony-MobileCSS-v5_1_0.tar
.... I changed all the Vesion info in the above mode to "5.2" version and and it still did not work. My X-cart admin section denies the upload.

I get this error:
Error:unable to add module entry to the installation list: "/home/XXXXXX/public_html/var/tmp/Tony-MobileCSS-v5_2_0.tar"

My logs:

[info, Jan 14 2016 01:09:36] The module has been successfully installed
[info, Jan 14 2016 01:10:53] Common update hook 'add_labels' is run for XC\Mobile (labels were not uploaded)
[info, Jan 14 2016 01:10:58] Marketplace [check_addon_key]: the "http://my.x-cart.com/index.php?q=api/check_addon_key" URL requested
[info, Jan 14 2016 01:11:04] Marketplace [check_addon_key]: valid response received
[info, Jan 14 2016 01:11:07] Marketplace [get_addons]: the "http://my.x-cart.com/index.php?q=api/get_addons" URL requested
[info, Jan 14 2016 01:11:08] Marketplace [get_addons]: valid response received
[info, Jan 14 2016 01:11:11] Marketplace [check_for_updates]: the "http://my.x-cart.com/index.php?q=api/check_for_updates" URL requested
[info, Jan 14 2016 01:11:12] Marketplace [check_for_updates]: valid response received
[info, Jan 14 2016 01:11:13] Marketplace [get_cores]: the "http://my.x-cart.com/index.php?q=api/get_cores" URL requested
[info, Jan 14 2016 01:11:13] Marketplace [get_cores]: valid response received
[error, Jan 14 2016 01:40:56] module version "5.1" does not match the core version ("5.2")
[error, Jan 14 2016 01:45:06] module version "5.1" does not match the core version ("5.2")
[error, Jan 14 2016 01:49:39] phar error: tar-based phar "/home/XXXXXXXX/public_html/var/tmp/Tony-MobileCSS-v5_2_0.tar" has invalid metadata in magic file ".phar/.metadata.bin"
[error, Jan 14 2016 01:49:39] unable to add module entry to the installation list: "/home/XXXXXXXX/public_html/var/tmp/Tony-MobileCSS-v5_2_0.tar"
[info, Jan 14 2016 02:02:52] Marketplace [get_XC5_notifications]: the "http://my.x-cart.com/index.php?q=api/get_XC5_notifications" URL requested
[info, Jan 14 2016 02:02:53] Marketplace [get_XC5_notifications]: valid response received
[error, Jan 14 2016 02:03:39] Unable to read module package: "/home/XXXXXXXX/public_html/var/tmp/Tony-MobileCSS-v5_2_0_1.tar"
[error, Jan 14 2016 02:03:39] unable to add module entry to the installation list: "/home/XXXXXXXX/public_html/var/tmp/Tony-MobileCSS-v5_2_0_1.tar"
[info, Jan 14 2016 02:42:27] Marketplace [get_addons]: the "http://my.x-cart.com/index.php?q=api/get_addons" URL requested
[info, Jan 14 2016 02:42:29] Marketplace [get_addons]: valid response received
[error, Jan 14 2016 02:42:30] Unable to read module package: "/home/XXXXXXXX/public_html/var/tmp/Tony-MobileCSS-v5_2_0_1.tar"
[error, Jan 14 2016 02:42:30] unable to add module entry to the installation list: "/home/XXXXXXXX/public_html/var/tmp/Tony-MobileCSS-v5_2_0_1.tar"
[info, Jan 14 2016 02:42:32] Marketplace [get_cores]: the "http://my.x-cart.com/index.php?q=api/get_cores" URL requested
[info, Jan 14 2016 02:42:32] Marketplace [get_cores]: valid response received

Note: I deleted the "powered_by.tpl" which removes the Powered by on the Mobile but it also removes the Copyright on my main site which I don't want to do long term.

Please let me know what to do?

Wish list... for the created of the mode to put a check box in the admin section to display or not to display.

Thanks,

Kevin

seyfin 01-14-2016 05:43 AM

Re: Mobile module how to remove powered by
 
1 Attachment(s)
Quote:

Originally Posted by fixhh
Hello... how do I remove the Powered by X-Cart on the Mobile Mode?

My X-Cart Version: 5.2.10 and the latest Mobile Mode in the Market Place.

This old mode Tony created at:
http://kb.x-cart.com/display/XDD/Adding+CSS+and+JS+files+for+Mobile+Skin
....and this mode doesn't work:
https://dl.dropboxusercontent.com/u/23858825/Tony-MobileCSS-v5_1_0.tar
.... I changed all the Vesion info in the above mode to "5.2" version and and it still did not work. My X-cart admin section denies the upload.

I get this error:
Error:unable to add module entry to the installation list: "/home/XXXXXX/public_html/var/tmp/Tony-MobileCSS-v5_2_0.tar"

....

Note: I deleted the "powered_by.tpl" which removes the Powered by on the Mobile but it also removes the Copyright on my main site which I don't want to do long term.

Please let me know what to do?


Actually, you do not need to install any custom modules neither remove any templates. For the new X-Cart version 5.1.10, you can simply enable "Use mobile custom css" check-box and add the following code there:

Code:

p.powered-by-label {
    display: none;
}



All times are GMT -8. The time now is 07:25 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.