View Single Post
  #7  
Old 02-16-2016, 02:02 PM
 
www.cheapglasses.net www.cheapglasses.net is offline
 

Advanced Member
  
Join Date: Dec 2015
Posts: 79
 

Default Re: How to modify Contact Us meta tags?

no Main.php, I have created this file with the following contents, still not working
Code:
<?php // vim: set ts=4 sw=4 sts=4 et: /** * X-Cart * * NOTICE OF LICENSE * * This source file is subject to the software license agreement * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://www.x-cart.com/license-agreement.html * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to licensing@x-cart.com so we can send you a copy immediately. * * DISCLAIMER * * Do not modify this file if you wish to upgrade X-Cart to newer versions * in the future. If you wish to customize X-Cart for your needs please * refer to http://www.x-cart.com/ for more information. * * @category X-Cart 5 * @author Qualiteam software Ltd <info@x-cart.com> * @copyright Copyright (c) 2011-2015 Qualiteam software Ltd <info@x-cart.com>. All rights reserved * @license http://www.x-cart.com/license-agreement.html X-Cart 5 License Agreement * @link http://www.x-cart.com/ */ namespace XLite\Module\XC\CanadaPost; /** * Canada Post module main class * */ abstract class Main extends \XLite\Module\AModule { /** * Author name * * @return string */ public static function getAuthorName() { return 'X-Cart team'; } /** * Module name * * @return string */ public static function getModuleName() { return 'Canada Post'; } /** * Get module major version * * @return string */ public static function getMajorVersion() { return '5.2'; } /** * Get minor core version which is required for the module activation * * @return string */ public static function getMinorRequiredCoreVersion() { return '7'; } /** * Module version * * @return string */ public static function getMinorVersion() { return '8'; } /** * Module description * * @return string */ public static function getDescription() { return 'Gets shipping quotes for Canada Post delivery methods.'; } /** * Determines if we need to show settings form link * * @return boolean */ public static function showSettingsForm() { return true; } /** * Return link to settings form * * @return string */ public static function getSettingsForm() { return \XLite\Core\Converter::buildURL('capost'); } /** * Perform some actions at startup * * @return string */ public static function init() { parent::init(); // Register CanadaPost shipping processor \XLite\Model\Shipping::getInstance()->registerProcessor( '\XLite\Module\XC\CanadaPost\Model\Shipping\Processor\CanadaPost' ); } /** * The module is defined as the shipping module * * @return integer|null */ public static function getModuleType() { return static::MODULE_TYPE_SHIPPING; } /** * Return true if module should work in strict mode * (strict mode enables the logging of errors like 'The module is not configured') * * @return boolean */ public static function isStrictMode() { return false; } }