-
Posts
275 -
Joined
-
Last visited
-
Days Won
7
Everything posted by monollonom
-
It seems you tried to upload the zip file of the github repository instead of the one within it with the translations (one can see this because of the repository’s README.md file in the error). First unzip “pw-30229-lang-fr-main.zip” and then upload ”pw_3.0.229_fr.zip” in ProcessWire.
-
Weekly update – 29 December 2023 – Happy New Year!
monollonom replied to ryan's topic in News & Announcements
Many thanks @ryan for all your hard work and happy holidays and new year everyone! -
The parent class but actually I’m seeing in ryan’s comment that it’s only necessary for “Process” modules, my bad
-
Last shot: could it be because you don’t call the parent’s uninstall function? See ProcessHello’s exemple https://github.com/ryancramerdesign/ProcessHello/blob/189029f494870760107d8a621dfb5a59db53959c/ProcessHello.module.php#L227C69-L227C69
-
Or maybe it does? "get" does install and initialize the module, if available https://processwire.com/api/ref/modules/get/ Is it possible a visit occured right after you tried to uninstall?
-
Provide a way to define / save / sync fields in the code base
monollonom replied to Rasso's topic in Wishlist & Roadmap
I just came accross this feature request on Kirby: https://kirby.nolt.io/20. No real observation / comment but it’s just funny to see how PW and Kirby are opposite in approaches but still look to reach each other’s end -
Usability improvements for Setup > Fields in backend
monollonom replied to MSP01's topic in Wishlist & Roadmap
Also, have you tried using https://processwire.com/modules/tags-to-folders/ ? -
Any significant overhead in calling $image->width() and height()
monollonom replied to DrQuincy's topic in API & Templates
It’s actually on the current master version (3.0.229) though the fix for svg files mentionned in the issue as well is only on the dev one -
Any significant overhead in calling $image->width() and height()
monollonom replied to DrQuincy's topic in API & Templates
@Robin S brought up this issue not so long ago and it’s been fixed since. So yes it does pull from the database directly, see https://github.com/processwire/processwire-issues/issues/1812 -
Personally I don’t really see how setting something like this would entice the community to contribute more than making a pull request to a module’s repository to share your translation in your language (https://processwire.com/blog/posts/pw-3.0.181-hello/). I’m mostly working on english websites (or for people who are ok with an english admin) but if one day I’m required to use french and I need to translate some modules then I’d happily share my work this way. And if you need a shortcut, you can always give a shot at @FireWire ’s excellent Fluency translation module 🙂
-
I’ve never worked with panels (just yet) but from what I’m seeing if you have a view ready in your Process module, say “__executeSomething()”, isn’t it just a matter of having a link pointing to that view? <a href="/something/" class="pw-panel">Open in panel</a>
-
Hi all, Here is one of the latest website we created for a french company renting construction machines and trucks with specialized drivers, based in Le Mans. It’s a rather simple showcase/informational website, but we aimed at making clear (and visually attractive) what is available, what is the skillset and various ways to quickly get in touch. We produced everything, from the design, pictures, illustrations down to the development (ofc). There wasn’t any website before except for social media presence and this task was a follow-up to the update of the visual identity we did. Behind the scene, on the front-end, everything is custom made: we don’t use any frameworks. On the back-end we used the usual suspects and some: TracyDebugger ❤️ FormBuilder ProCache ProFields (RepeaterMatrix, Table) Dynamic options / Select images Our own flavor of “components” Thanks for having a look!
-
Markup region inside a Repeater or Repeater Matrix field
monollonom replied to lpa's topic in General Support
Shouldn’t you write <pw-region id="mainhead" instead of <div id="mainhead" in your code? -
Prevent FormBuilderMultiplier to inject script tags in my MJML export
monollonom replied to joe_g's topic in General Support
Hey! PageMjmlToHtml author here 🙂 @BitPoet wouldn't it be best if instead of having to opt-out templates the js script was only added when the multiplier fields are added? Not tested but maybe you could put the Page::render hook inside of addMultipliedFieldsToProcessor? -
The latest: ProFields Table 0.2.5 on PW master 3.0.229 I did a minimal setup to try it out with one template containing: - a Table field (1) - a FieldsetPage field with Table (2) - a Repeater field with Table (3) On first try there is a js error when clicking on "Add new" but this can be fixed by editing the InputfieldTable.js file on line 193: if(href && href.indexOf('#') === 0) { // check if href exists (pinging @ryan so he can see this) When adding a new row on (1) and (2), the Fluency button is there but is not responding to click. When creating a repeater item (3) and then adding a row there is no Fluency button. Save the page and Fluency will now work on (1) and (2) on the saved row (still not on new ones) and (3) is not working at all. Hope this helps!
- 189 replies
-
- 1
-
- translation
- language
-
(and 1 more)
Tagged with:
-
I’m not sure I see the option for the button styles but I’m on version 0.9.1 so maybe that’s why? Should I try the dev version?
- 189 replies
-
- translation
- language
-
(and 1 more)
Tagged with:
-
Hi @FireWire, I need to test it further but I’m posting here first just in case. Is the module supposed to work for any multi-lang text inputs? I seem to have an issue with the Profield Table, but I don’t know if you’re using it or not...? Here are three issues I noticed: - it makes InputfieldTable’s js crash at some point because of a missing href. I added a quick fix in the module’s js but then... - the "Translate" button doesn’t do anything - and it seems to not detect / initiate the InputfieldTable when inside a Repeater. Let me know if you need more infos
- 189 replies
-
- translation
- language
-
(and 1 more)
Tagged with:
-
Okay I have to try it out but this is absolutely fantastic and something I wanted to tackle myself for a while now, working on websites with a lot of images. Thanks for sharing this!
-
column widths and conditional visibility
monollonom replied to gornycreative's topic in Themes and Profiles
@BrendonKoz here is a screenshot and screencast showing what gorny’s setup is (at least how I understood it): And here is what I’m suggesting / what I’m doing in such situation: Here the sum of the fields’ width is 100% -
column widths and conditional visibility
monollonom replied to gornycreative's topic in Themes and Profiles
In this case what I do is split the remaining 70% into the three conditionally visible fields (e.g. 23/24/23). The visible one will then stretch out to occupy the remaining width. -
[SOLVED] Trouble Comparing id Property of PageArray Objects
monollonom replied to Boost's topic in Getting Started
You said your page reference field “author” can hold multiple authors, so when trying to call $page->author you will get an array of authors instead of a single author and so when trying to get the “id” property you won’t get any since it’s an array, which is why your code doesn’t work. So in your initial code sample, I was suggesting to replace line 5 with $page->author->has($item), like so: // Grab other pages' content $authors = $pages->find("template=author"); <?php foreach ($authors as $item) : ?> <?php if ($page->author->has($item)) : ?> <?= $item->title ?> <?php endif ?> <?php endforeach ?> -
[SOLVED] Trouble Comparing id Property of PageArray Objects
monollonom replied to Boost's topic in Getting Started
You could use this instead: if($page->author->has($item)) // you could name the field "authors" to remove ambiguity The issue is that you were trying to compare with a (non-existing) id from a PageArray instead of a single author (since you allow multiple authors to be added in your page reference field) -
[SOLVED] $pages->find('') is not returning all grandchildren
monollonom replied to jploch's topic in General Support
FYI you don’t need to call this function everytime. PW is supposed to do this on its own (fill the pages_parents table as you add/move pages), but there may be a bug or what I couldn’t pin down. I’d say whenever you see an issue like, just do a quick function call through TracyDebugger’s PHP console and you’re good to go.