Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@plone-collective/volto-educal-theme
Advanced tools
Blocks 🧱 included with this add-on:
Blocks that are also available as a separate add-on 🎉 :
New listing variation 🔖 especially for events
Navigation menu ⬇️ handles two level nested pages
Animations 💫 on hover, click events
Image assets 🍱 included with the theme
Categorization of pages based on tags using the categorization menu present in the left side of the header.
NOTE: This feature requires the API call to Keywords vocabulary /++api++/@vocabularies/plone.app.vocabularies.Keywords?b_start=0
which is by default only available to authenticated users. Currently, this menu is only visible when the user is authenticated. You can make changes in Header.jsx as per the requirements.
Footer section links including social handles are available but requires additional customization. Change the code in Footer.jsx as per the requirements.
The Try for free
button can be customized in the Header.jsx as per the requirements. For example: It can be used to route to /login
route.
Create a new volto project, if you don't have one.
Add the following packages to the mrs.developer.json
file of your volto project.
{
"volto-educal-hero-block": {
"url": "git@github.com:collective/volto-educal-hero-block.git",
"https": "https://github.com/collective/volto-educal-hero-block.git",
"package": "@plone-collective/volto-educal-hero-block",
"branch": "main",
"path": "src"
},
"volto-block-banner": {
"url": "git@github.com:collective/volto-block-banner.git",
"https": "https://github.com/collective/volto-block-banner.git",
"package": "@plone-collective/volto-block-banner",
"branch": "main",
"path": "src"
},
"volto-educal-theme": {
"url": "git@github.com:collective/volto-educal-theme.git",
"https": "https://github.com/collective/volto-educal-theme.git",
"package": "@plone-collective/volto-educal-theme",
"branch": "main",
"path": "src"
}
}
Now link the add-on in the volto project:
Make sure the private
field is set to true
in the volto project's package.json
. As yarn workspaces can only be enabled in private projects.
Add src/addons/*
as array members under the workspaces
property in the volto project's package.json
.
Add @plone-collective/volto-educal-theme
as an array member under the addons
property in the volto project's package.json
.
Finally, the volto project's package.json
should include the following lines:
{
"private": true,
"workspaces": ["src/addons/*"],
"addons": ["@plone-collective/volto-educal-theme"]
}
REMEMBER:
package.json
file and not in any of the add-ons package.json
file.Change this line in src/theme.js
of the volto project.
- import 'semantic-ui-less/semantic.less';
+ import '@plone-collective/volto-educal-theme/semantic.less';
import '@plone/volto/../theme/themes/pastanaga/extras/extras.less';
You can refer the change here.
Bootstrap the Plone API backend. Alternatively, you can visit the official documentation for other installation options.
Run yarn
to install the node modules. 📦
Run yarn start
command to start the volto server! 🍻
Contributions are welcome. This project is under Plone Collective. Visit collective's documentation to know more.
Distributed under the MIT
License. See LICENSE for more information.
FAQs
volto-educal-theme: Volto add-on
We found that @plone-collective/volto-educal-theme demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.