Jump to content

30ml

Members
  • Posts

    295
  • Joined

  • Last visited

  • Days Won

    2

30ml last won the day on September 6 2020

30ml had the most liked content!

Profile Information

  • Location
    Kathmandu
  • Activity
    Agency

Recent Profile Visitors

19,893,734 profile views

30ml's Achievements

Newbie

Newbie (1/14)

93

Reputation

2

Community Answers

  1. First I am not pro on js and webpack and node js and have following webpack.js /** * 2007-2017 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License 3.0 (AFL-3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/AFL-3.0 * 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 [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2017 PrestaShop SA * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * International Registered Trademark & Property of PrestaShop SA */ const webpack = require('webpack'); const path = require('path'); const ExtractTextPlugin = require("extract-text-webpack-plugin"); let config = { entry: { main: [ './js/theme.js', './css/theme.scss' ] }, output: { path: path.resolve(__dirname, '../assets/js'), filename: 'theme.js' }, module: { rules: [ { test: /\.js/, loader: 'babel-loader' }, { test: /\.scss$/, use: ExtractTextPlugin.extract({ fallback: 'style-loader', use: [ { loader: 'css-loader', options: { minimize: true } }, 'postcss-loader', 'sass-loader' ] }) }, { test: /.(png|woff(2)?|eot|ttf|svg)(\?[a-z0-9=\.]+)?$/, use: [ { loader: 'file-loader', options: { name: '../css/[hash].[ext]' } } ] }, { test : /\.css$/, use: ['style-loader', 'css-loader', 'postcss-loader'] } ] }, externals: { prestashop: 'prestashop', $: '$', jquery: 'jQuery' }, plugins: [ new ExtractTextPlugin(path.join('..', 'css', 'theme.css')) ] }; config.plugins.push( new webpack.optimize.UglifyJsPlugin({ sourceMap: false, compress: { sequences: true, conditionals: true, booleans: true, if_return: true, join_vars: true, drop_console: true }, output: { comments: false }, minimize: true }) ); module.exports = config; Through this js while I do webpack-w then we can not see source map of my css. It simply output css only. I heard that we can check it's sourcemap but I do not know how to do it. That would be precious for me to develop theme. Your suggestion would be highly appreciate
  2. hi, can you guys send package.json and webpack.js for classic theme ? I have scratched my head lot of times on this .
  3. but it was not like before. Does it makes any sense that user need to buy for themes from addons ? I am myself web designer do I need to buy for my own themes to active ?
  4. hi, While i am going to active my own theme it show an error Exception in AddonsDataProvider.php line 72: Error sent by Addons. You may need to be logged. in AddonsDataProvider.php line 72 at AddonsDataProvider->downloadModule('24671') in ModuleDataUpdater.php line 48 at ModuleDataUpdater->setModuleOnDiskFromAddons('ps_newproducts') in ModuleManager.php line 130 at ModuleManager->install('ps_newproducts') in ThemeManager.php line 272 at ThemeManager->doEnableModules(array('ps_linklist', 'ps_featuredproducts', 'ps_searchbar', 'ps_imageslide', 'ps_contactinfo', 'ps_shoppingcart', 'ps_languageselector', 'ps_currencyselector', 'ps_customersignin', 'ps_mainmenu', 'ps_imageslider', 'ps_customeraccountlinks', 'ps_emailsubscription', 'ps_socialfollow', 'ps_categorytree', 'ps_newproducts', 'ps_banner', 'ps_specials', 'ps_facetedsearch', 'ps_sharebuttons', 'blockreassurance')) in ThemeManager.php line 168 at ThemeManager->enable('fitness-light') in AdminThemesController.php line 269 at AdminThemesControllerCore->postProcess() in Controller.php line 190 at ControllerCore->run() in Dispatcher.php line 366 at DispatcherCore->dispatch() in index.php line 95 Exception in AddonsDataProvider.php line 254: Cannot execute request module_download to Addons in AddonsDataProvider.php line 254 at AddonsDataProvider->request('module_download', array('id_module' => '24671', 'format' => 'json')) in AddonsDataProvider.php line 69 at AddonsDataProvider->downloadModule('24671') in ModuleDataUpdater.php line 48 at ModuleDataUpdater->setModuleOnDiskFromAddons('ps_newproducts') in ModuleManager.php line 130 at ModuleManager->install('ps_newproducts') in ThemeManager.php line 272 at ThemeManager->doEnableModules(array('ps_linklist', 'ps_featuredproducts', 'ps_searchbar', 'ps_imageslide', 'ps_contactinfo', 'ps_shoppingcart', 'ps_languageselector', 'ps_currencyselector', 'ps_customersignin', 'ps_mainmenu', 'ps_imageslider', 'ps_customeraccountlinks', 'ps_emailsubscription', 'ps_socialfollow', 'ps_categorytree', 'ps_newproducts', 'ps_banner', 'ps_specials', 'ps_facetedsearch', 'ps_sharebuttons', 'blockreassurance')) in ThemeManager.php line 168 at ThemeManager->enable('fitness-light') in AdminThemesController.php line 269 at AdminThemesControllerCore->postProcess() in Controller.php line 190 at ControllerCore->run() in Dispatcher.php line 366 at DispatcherCore->dispatch() in index.php line 95 My server information you can check in https://pukhu.com/phpinfo.php . I am template designer but less programmer . That would be great if you guys can give some clue.
  5. hi, In footer section there is contact information . I would like to change that email address. How to change that email address ? That would be great if I could get solution from you guys.
  6. hi, I would like to know gobal smarty variable on prestashop 1.7 . Like $page_name was on pretashop 1.6x. That would be great if you guys have any idea with gobal variable on prestashop 1.7
  7. hi santolla, thanks, I have solve my issue. Infortunatly I have made zip from outside folder.
  8. hi, I have tried with following but not working any more name: musetec display_name: Musetec version: 1.0.0 theme_key:a1cbc28f5c51699aefdedb2b0eefa494
  9. hi, I have tried with following but not sucess to upload in prestashop addons name: musetec display_name: Musetec version: 1.0.0 theme_key:a1cbc28f5c51699aefdedb2b0eefa500
  10. I am trying to upload theme for 1.7 from addons but there is no any documentation about theme key. According to 1.6 there is config.xml but in 1.7 there is no any file config.xml . How to successfully upload installation zip file for 1.7 on prestashop addons.
  11. They there any support for theme issue. I do not to whom I should send my issue of addons related for prestashop 1.7 ? Please guide if you guys know any thing.
  12. Hi i am contributor of prestashop addons about themes. I have finished to developed prestashop theme for 1.7 but I have not found how to put theme key on prestashop 1.7 . That would be great if you guys have any idea about it. Regards Devil Themes
  13. hi, I am using prestashop_1.7.0.0-RC.2 and trying to import theme. Here I have done exact copy of "classic" default prestashop theme then I have change "classic" to "Musetec" on config/theme.yml and theme folder name . But while I try to import theme from backoffice on my computer it shows only white background and nothing any messages. Here, I have edit theme.yml and folder name only. That would be wonder if I know my silly activity. Please download my sample theme on this link https://dl.dropboxusercontent.com/u/54140575/musetec.zip Thanks for your effort.
  14. I need to compatible on google Rich Snippets. So, I need to seperate with span tag.
×
×
  • Create New...