it allows to send runtime config values to the frontend, without rebuilding the app
Giulia Ghisini
@giuliaghisini
thank's! it works!
Zoltan Szabo
@zotya
great
Nicola Zambello
@nzambello
thank you @zotya
Mike Metcalfe
@mikejmets
I asked about transifex access on the volto slack channel yesterday but no response so I thought I'd try here. Am I correct in following the International section of the volto dev docs and if so how do I gain access to the transifex project I require when running 'tx init'?
Asko Soukka
@datakurre
Would you know, is it possible to "build" Volto server so that running it would not require node_modules?
13 replies
Tiberiu Ichim
@tiberiuichim
@datakurre I've tried running Volto without node_modules at one point but I didn't get too far. Would be nice if you could get this to work
As far as I remember, there's babel stuff that's not bundled , or something like that
there's also the fact that Volto doesn't have proper devDependencies separation
Should add-ons support localization in some magic way or does it depend on add-ons or is it still missing?
What is the correct way to customize add-on block -configuration? Is there a public doc / example available? (Could not find yet.)
_
Alin Voinea
@avoinea
@datakurre The block is registered to the global Volto ~config
Thus, you can override parts of it within the next add-on or the volto project
Andrea Cecchi
@cekk
Hi, i have some questions about how do you deploy in production Volto: do you use pm2? With a single Volto process or clustered? Any other thing to check? Someone tried to stress a Volto site with “some” concurrent calls?
Katja Süss
@ksuess
Hi, how can I scroll after a history.push()? Or is it maybe better to override the ScrollToTop component?
custom icons, custom component, import icon from '~/icons/back.svg', <Icon name ={importedIcon} is fine.
what about using icons in overridden component like Header? the ~does not seem to resolve to my app package.
import searchSVG from '~/icons/search.svg'; should this read @package/ or ?
Tiberiu Ichim
@tiberiuichim
@ksuessimport searchSVG from '~/icons/search.svg'; should work fine as long as icons is a folder in src
Make sure that you use "icons" as folder name for the icons folder, the webpack svg loader looks for that name, so you'll have issues with the imported resource otherwise (I've had a colleague hit this problem two days ago)
Katja Süss
@ksuess
Folder name is in root and named 'icons'. <Icon name ={importedIcon} is ok in custom component, but not in /customizations. Will look in to it next days.
Katja Süss
@ksuess
ages later... import Icon component from Volto, not Semantic-UI import { Icon } from '@plone/volto/components';
Katja Süss
@ksuess
Hi! For bookmarking I need to enrich the toolbar with an 'add bookmark' and a 'show bookmark' action. Adding a button with <Portal node={CLIENT && document.querySelector('#toolbar .toolbar-bottom')} is easy. But I am struggling how to add a button for opening a menu with bookmarks.
Current situation is, that the toolbar component holds the menues in its state not via app store. So, difficult to attack the state of the component..
Tiberiu Ichim
@tiberiuichim
Hi @ksuess For what is worth, I'm working right now on refactoring the toolbar and make everything pluggable. I hope to have the PR ready tonight, but this week seems like the most plausible time to get that thing landed in some form in Volto
Katja Süss
@ksuess
@tiberiuichim, three hero points from me for that! ;-)
Tiberiu Ichim
@tiberiuichim
@ksuess The PR is ready, give it a look plone/volto#2177 (and a review)
Katja Süss
@ksuess
@tiberiuichim, thanks for the ping. I'm aware of your work on this and appreciate. About to at least leave a comment.
Katja Süss
@ksuess
Best practice question: The /contents view does not show the correct bookmarks (component ContentsBookmarks) because I eliminated the Bookmarks component which updates the store with bookmarks data according the path. So what's the best practice: Leave the Bookmarks component and hide via CSS does not feel good.
Tiberiu Ichim
@tiberiuichim
I'd leave the Bookmarks component but "return null" in its render if there's no bookmark data
Katja Süss
@ksuess
that seems to be better, yes. i started with const Breadcrumbs = () => null; export default Breadcrumbs; but it's necessary to leave the lifecycle methods intact to update the store with the breadcrumbs data for /contents
Hello!! I'm pretty new to both Plone and Volto, so my question might sound a bit odd, but I'd like to know if there's a way to access Volto's theme files from the Site Setup Configuration area like in Plone's Theme Settings or if the only way to read and edit those files is to access Volto's installation folder directly.
Tiberiu Ichim
@tiberiuichim
@return_zeroo:matrix.org sorry, no other way (right now) except volto installation folder