Message Boards

Gulp Kickstart doesn't show Classic Theme as option

Kevin Neibarger, modified 5 Years ago.

Gulp Kickstart doesn't show Classic Theme as option

Regular Member Posts: 105 Join Date: 2/2/18 Recent Posts
I've created a new theme using the yo liferay-theme called quest-71-theme within the LIFERAY_HOME/themes folder. Using liferay-ce-portal-7.1.0-ga1. When I launch the gulp kickstart task, I don't see the Classic theme in the list:​​​​​​​
HMAP-042-MAC005:quest-71-theme kneibarger$ gulp kickstart

[14:24:49] Using gulpfile ~/Desktop/Liferay/bundles/liferay-ce-portal-7.1.0-ga1/themes/quest-71-theme/gulpfile.js

[14:24:49] Starting 'kickstart'...

[14:24:49] Warning: the kickstart task will potentially overwrite files in your src directory

? Where would you like to search? (Use arrow keys)

❯ Search globally installed npm modules

  Search npm registry (published modules)


When I copy the frontend-theme-classic into my themes directory and run the same gulp kickstart I DO see the Classic option in the list of options

/Users/kneibarger/Desktop/Liferay/bundles/liferay-ce-portal-7.1.0-ga1/themes/frontend-theme-classic

HMAP-042-MAC005:frontend-theme-classic kneibarger$ gulp kickstart

[14:26:28] Using gulpfile ~/Desktop/Liferay/bundles/liferay-ce-portal-7.1.0-ga1/themes/frontend-theme-classic/gulpfile.js

[14:26:28] Starting 'kickstart'...

[14:26:28] Warning: the kickstart task will potentially overwrite files in your src directory

? Where would you like to search? (Use arrow keys)

❯ Search globally installed npm modules 

  Search npm registry (published modules) 

  ──────────────

  Classic 


What's going on here? I want to create a new theme and copy the classic theme into it and then modify from there.. gulp kickstart isn't working consistently.. And why is that 3rd option Classic not showing when running in my new theme as opposed to the frontend-classic-theme​​​​​​​??
thumbnail
David H Nebinger, modified 5 Years ago.

RE: Gulp Kickstart doesn't show Classic Theme as option

Liferay Legend Posts: 14916 Join Date: 9/2/06 Recent Posts
the classic theme, for some reason, has never been seen as a valid base theme to extend from.  I don't know why because, to me, it often is most of the way where I need to be.

​​​​​​​I think you can work around this by changing the parent theme after the kickstart is done.
Lee Jordan, modified 4 Years ago.

RE: Gulp Kickstart doesn't show Classic Theme as option

Expert Posts: 449 Join Date: 5/26/15 Recent Posts
Please listen to the community. We want classic theme as an option and the default theme which is generated. I can't get my head around why after so many years of us saying this that we still don't have this.


Liferay Frontend Theme Classic Web in NPM isn't up to date ...https://www.npmjs.com/package/liferay-frontend-theme-classic-web
Lee Jordan, modified 3 Years ago.

RE: Gulp Kickstart doesn't show Classic Theme as option

Expert Posts: 449 Join Date: 5/26/15 Recent Posts
I'm pretty seasoned and used to this but hundreds potentially thousands of people won't be able to make a theme with classic in it and they should be able to.

? Where would you like to search? Search npm registry (published modules)
? Search npm for themes: frontend-theme-classic
[14:18:23] No themes matched your search!
? Search npm for themes: liferay-frontend-theme-classic
[14:18:37] No themes matched your search!
? Search npm for themes:

Nope, not there.