by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Philip Metzger
@philmetzger
ah it doesnt remember which modules I removed??
David Eschmeyer
@dave-lw
@philmetzger the partials aren't modules. Modules are in the modules folder. From what i saw in prestashop>general you mean partials.
lattkkthxbbye
@lattkkthxbbye
Hello guys
I am having issues understanding how the inheritence works in prestashop in the starter theme
no matter what I do, I cant overwrite any template
Antoine
@2ec0b4
did you have disable Smarty cache?
lattkkthxbbye
@lattkkthxbbye
I cleared everything antoine
from the admin
what else should I look into?
@2ec0b4
Antoine
@2ec0b4
i'm using this settings:
image.png
lattkkthxbbye
@lattkkthxbbye
yeah
I just noticed the option
for the re-compile template files
god omfg
spent hours on it :)
Antoine
@2ec0b4
it works?
lattkkthxbbye
@lattkkthxbbye
Yes
Antoine
@2ec0b4
great :)
lattkkthxbbye
@lattkkthxbbye
I had it set to never recompile the template files
somehow I misesd that opion when I disabled all cache
@2ec0b4
1 more q, I am trying to use bootstrap and I loaded it wit npm install did the config etc
but the css is not working it seems
I am new to scss so must I include something else?

this is my main theme.scss
$bg-color: white;

body {
background: $bg-color;
}

Antoine
@2ec0b4
did you run npm run watch or npm run build from the _dev folder?
lattkkthxbbye
@lattkkthxbbye
yea
its changing what I do in theme.scss
I mean it works
its just not including the bootstrap css
anyway
did I miss something?
Antoine
@2ec0b4
Bootstrap doesn't seem to be in the StarterTheme (not in the package.json file)
i switched to the classic theme
lattkkthxbbye
@lattkkthxbbye
I installed it manually
{
"name": "new-theme",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "webpack --progress -p",
"watch": "webpack --progress --colors --watch",
"debug": "webpack --progress --colors --debug --devtool source-map --output-pathinfo --display-chunks --watch"
},
"author": "PrestaShop",
"license": "AFL-3.0",
"devDependencies": {
"babel-core": "^6.4.5",
"babel-loader": "^6.2.1",
"babel-preset-es2015": "^6.3.13",
"css-loader": "^0.23.1",
"exports-loader": "^0.6.3",
"expose-loader": "^0.7.1",
"extract-text-webpack-plugin": "^1.0.1",
"file-loader": "^0.8.5",
"imports-loader": "^0.6.5",
"less": "^2.7.1",
"less-loader": "^2.2.3",
"node-sass": "^3.7",
"postcss-loader": "^0.8.0",
"sass-loader": "^3.1.2",
"style-loader": "^0.13.0",
"stylus": "^0.54.5",
"stylus-loader": "^2.1.2",
"webpack": "^1.13.1",
"webpack-cli": "^3.0.8"
},
"dependencies": {
"bootstrap": "^4.0.0-alpha.6",
"tether": "^1.4.4"
}
}
this the json
Antoine
@2ec0b4
ok, so you have to include it in a scss file
like this @import "~bootstrap/scss/bootstrap";
lattkkthxbbye
@lattkkthxbbye
solved it
@import "~bootstrap/scss/bootstrap.scss";
thanks
its the same
:&
:*
Antoine
@2ec0b4
;)
lattkkthxbbye
@lattkkthxbbye
So I am using this code for the search input box, but its not working as it should
After I search for a word and press search , I am re-direct to this url http://website.com/search?controller=search&s=test
Antoine
@2ec0b4
which code?