Jump to content

Christophe

Members
  • Posts

    703
  • Joined

  • Last visited

Everything posted by Christophe

  1. http://jamesarcher.me/hamburger-menu Other sources about the subject can of course be found via search engines. Edit: https://www.webdesignerdepot.com/2017/08/5-smart-alternatives-to-the-hamburger-menu/
  2. I found very recently that one of the web hosting providers I use displays a web application list - when logged into the account - where ProcessWire can be found via the search bar or at the 13th page among other CMSs.
  3. For 2D animation, Synfig was already mentioned, and there is also Blender's Grease Pencil, for instance.
  4. I'll add Vectr and sK1 2.0 (ex.PrintDesign) (to Gravit Designer and Affinity Designer). (There is also SVG Edit, mentioned in another topic.)
  5. I'm adding sK1 2.0 (ex.PrintDesign) and Affinity Designer to complete the list in this topic.
  6. Non-exhaustive list of css ressources that we may need for some projects (if not mistaken, I haven't used any of them for the moment, except the Mozilla one): https://jonathantneal.github.io/sanitize.css/ https://github.com/jonathantneal/postcss-normalize http://browserl.ist/ https://github.com/browserslist/browserslist https://css-tricks.com/browserlist-good-idea/ https://evilmartians.com/chronicles/autoprefixer-7-browserslist-2-released https://leaverou.github.io/prefixfree/ https://github.com/ismay/stylelint-no-unsupported-browser-features https://github.com/anandthakker/doiuse https://stylelint.io/ https://github.com/ntwb/awesome-stylelint http://cssnano.co/ https://www.10bestdesign.com/dirtymarkup/ https://www.styled-components.com/ ( https://marksheet.io/ ) [ https://developer.mozilla.org/en-US/ ]
  7. What information must be given to individuals whose data is collected? In several languages: https://ec.europa.eu/info/splash_fr?destination=node/67539 [ // ePrivacy Directive ] https://ec.europa.eu/commission/priorities/justice-and-fundamental-rights/data-protection/2018-reform-eu-data-protection-rules_en https://ec.europa.eu/justice/smedataprotect/index_en.htm
  8. Whether it's currently the only one or not, that would deserve an online article and be good advertising for ProcessWire. As ProcessWire forum topics/posts play well with Google, modifying the topic's title would perhaps be enough or a good start.
  9. http://zeptojs.com/ | http://vanilla-js.com/
  10. Worth watching entirely. Don't miss the fallback solution (5 steps). Firefox/Firefox Developer Edition has a grid inspector. https://www.mozilla.org/en-US/developer/css-grid/ https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout https://gridbyexample.com/ https://rachelandrew.co.uk/css/cheatsheets/grid-fallbacks https://cssgrid.io/ (there is also https://flexbox.io/ by the same author) https://cssgridgarden.com/ (already mentioned in the topic) And so on.
  11. We also have Vivaldi, Brave, Opera... Let's not be afraid of playing a different symphony!
  12. As you know... There is always Ctrl + Z to undo Shift + Enter. And placing the cursor at the end of the former line and pressing Delete. (Is the cursor also not where it should be?) If there is no other solution... NB: yesterday I tried to center an image with a style that centered the paragraph. It always made the image disappear. Clicking on Source, I saw that something was not normal, and that helped me resolve the problem. WYSIWYG editors can sometimes nest tags strangely, etc. But yours seems to be another kind of issue.
  13. Hello, In Modules > Process > Page Edit Image, couldn't we also have this module include, by default, height attributes in the <img> tag, and a Skip height attributes on image tags? option?
  14. Hi, I enabled the four options on some websites, some with version 2.x, others with version 3.x (updated/upgraded several times), most if not all with the French language as the default one (and keeping the English one active in the admin), some with the multilingual modules and fields installed and/or activated, some without, some with fr/ added to the French urls, some without, etc. I'm not sure I ever made the Update image alt attributes work. Or perhaps once the first time I found it existed. I tried/tested a little the Link abstraction, I don't remember what the result was most of the time. I'll have to do it again. But a few hours ago, with a website updated recently to the last legacy Master (but the result was the same before), that is not multilingual (in the templates or in the backend) with the French language as default (and English kept as secondary), when I activated it and then saved a page, an internal link (via a selected page) in the CKEditor field had fr/ added to the url, which logically pointed to a 404 page. I had to deactivate the option to be able to have the normal url back after recreating the link (in order to be sure) and saving the page. I don't know where the fr/ comes from. Perhaps, the website was multilingual before and I removed all the multilingual things but there is a reference to /fr somewhere in the database. I don't remember for this particular website. I don't see/can't find any mention of fr in the current website's backend (and in site/templates/ neither). Concerning the last two options, I didn't have the opportunity/take the time to test them. So, it's a bit of a mystery. I don't know what is missing for the Update image alt attributes to work. And why the Link abstraction doesn't work correctly, at least in the mentioned website. Fortunately I didn't use the Apply HTML options now... (I'm not sure how many internal links were created via the existing CKEditor fields). And I tried not only in the body field, but also in other CKEditor fields. I would/will have to test again on a new/fresh installation.
  15. The "customized Google Search for Processwire" only brings results from the processwire.com website. -site:processwire.com/talk/ or -site:processwire.com/blog/ or -site:processwire.com, for example, excludes a section or all of the processwire.com website.
  16. Hi, In the Google Search Bar, you can, for example, enter the following request: site:processwire.com/talk/ snipcart paypal And this, in order to have only the responses that are not in the ProcessWire Forums: -site:processwire.com/talk/ processwire snipcart paypal The first answer being this: https://docs.snipcart.com/getting-started/guides-and-tutorials Where there is a ProcessWire-related link which points to this: https://snipcart.com/blog/processwire-ecommerce-tutorial Have a nice weekend! NB: try this with Google -> site:snipcart.com paypal
  17. Perhaps the following could have helped? Google -> site:processwire.com/blog/ "Link abstraction" Admin > Setup > Fields > Edit Field: body Details (tab) -> Markup/HTML (Content Type) -> HTML Options -> Link abstraction: Update href attributes automatically when internal links change
  18. I don't have enough knowledge and experience for that, for the moment. I also like what can be done with these bots. Perhaps I'll try to create one later. I first have to find technical solutions for a project.
  19. Things are "strange" sometimes. I was just thinking, a few minutes ago, that this topic didn't seem to have any success.
  20. I'm still using MailerLite (the free account) from time to time. And I intend to try Sendy one day. I've just noticed, after searching for content for email marketing campaigns, that SendinBlue's free account now enables up to 600 emails/day and unlimited contacts.
  21. Hello, I'm going to (try to) give a quick answer, as I'm so hungry and starting to not be able to think well... This is one of the options I thought about, it would be ideal I suppose. This is one of the things I mentioned, hoping it would create a "relation" between both ids (in case one or both email field values are changed later on, for instance). The page already exists (automatically created by Form Builder). Then, when the page is published, it moves from under the temporary directory parent page to (under) a new parent with a new template (depending on if the user is a model or another artist. Both new parents are under a non-temporary directory page). Perhaps the account could be created when the page is published (but only the first time, and/or if the account doesn't already exist). The "registered" user has to be able to view and edit all the fields in the content tab (not in the other tabs, I can restrict it with Restrict Tab View normally), except the ones I will make non-editable (and perhaps also non-viewable) for the role (like Title, etc.). The pages already exist before as mentioned earlier... A user could (have) be(en) created automatically when a page is published, but some pages are already published. Perhaps, as there are not so many right now, I could manually (or with a "batch"...) unpublish then publish them again in order to trigger the "action". The page has to be published/validated (and under its new parent with the new template) before the user is created (with the email address from the page's email field). (Later the user could/would have the possibility of changing its email address(es) in this page and/or in the profile page - without loosing access.) NB: I don't know how to build a front-end form and a module... and I'm quite a beginner for other php-related things. PS: I'm going to eat and run a little bit before coming back with a clear(er) mind.
  22. Hello, Not sure it's the right place to create this topic. Not sure how to name the Topic. Just trying to gather some suggestions/confirmations/possible solutions/hints... for the moment. I think I'll create a different topic for each part (but some are really "linked" normally). I'm needing your insight, experience... on what would be better, possible, etc. So, I will try to summarize without forgetting anything/too much. Imagine there is a website where a visitor can fill in a "conditional" form (made with Form Builder and field dependencies). One aspect is that the form's submissions are converted automatically to unpublished pages, under the same temporary parent, whether the sender is a model or another (kind of) artist. Field dependencies are also used here (to "match" the form). When one page is published/validated, it automatically moves under its new parent depending on the person being a model or another artist and also has its template changed. (The new parents are under a directory page.) The pages have quite a few fields, but not all are displayed on the front-end via both template files because some contain information too confidential, etc. The thing is that if I enable front-end editing (option D), only the fields displayed on the front-end are editable. And I'll try again, but there is a photo field, restricted to 4 images, and with the "lightbox" 4-images gallery it seems not possible to edit it when clicking on the links near the images. # So my first question is, can access to the admin be acceptable(/secure enough) if the user only has access to the page assigned to him/her (a model or other artist type of page) and to his profile page? (Probably also restricting the other tabs of the page with Restrict Tab View.) # How can this be done? Below, I've listed some solutions/modules that could help. If some were used some other would perhaps not be necessary. # If a user was created (the front-end or back-end access question being resolved), in fact how could he/she be created automatically or semi-automatically? I had thought of creating the account when the page is published but it doesn't appear to be a good idea, and some pages already exist and are published. So, perhaps I could, for example, create a "Create account" or "Account creation approved" checkbox field, only viewable and editable by the superuser and the editor, but not by this user. Then with Lister and/or Admin Actions and/or Batch Child Editor, etc. the editor could search for the pages (with the 2 templates...) that have the approved checkbox not checked and "manually" generate an action on all those pages. (And/)Or perhaps there would be some code in ready.php or elsewhere automatically checking the checkboxes when the pages (with one or the other of both new templates) are published. In both cases, the code would only be executed if the checkbox was not already checked. # So the action and/or code executed would create an account with a "login-register" (or something else) role, using perhaps the Login/Register/Profile module. How(?), that is the question. (The module can apparently enable a redirection to a specific page, for example.) The module would create the user, (access to) his profile page, but also give him/her edit access to only the page that was linked to the creation of the user. (And send the confirmation email of course). Is it possible to "link"/"join"/"connect"... the id of the profile page with the id of the page the person has access to? (vaguely remembering a "join" option (in fields...(?)), but perhaps it has nothing to do with my example.) So that also, for instance, he/she can, in the future, change the email of the profile page and/or the email of the other editable page without loosing the relation between them (if letting this possibility couldn't cause problems). Perhaps by having a one-page Page Reference Field added to the profile page, that would be automatically "filled in" with the authorized/editable page (?). (But again, how?) And, so the problem of restricting the user's access to only the profile page and his other editable page in the admin rises again. (Access to the profile page is via the front-end normally, so perhaps it should be disabled in this way and instead granted via the admin also... (?) Perhaps "embedding" the page inside the profile page could be another possibility.) Probably, it would be good also to use Admin Restrict Branch (and other things) in addition. I'm waiting for your feedback, etc. Thank you in advance. NB: this post is quite long, I'll possibly create separate topics later/afterwards for some of the steps. Some of the modules/things that could help (a lot I haven't used yet): Email New User Password Generator Force Password Change Restrict Tab View PageEditPerUser https://processwire.com/talk/topic/214-lock-user-to-be-able-to-view-and-edit-one-page-only/?tab=comments#comment-1501 ... Also: Dynamic Roles Custom Page Roles The Login/Register/Profile module (I've recently upgraded both the test and the production websites to version 3.0.96 Master) https://processwire.com/talk/topic/371-page-specific-permissions/?do=findComment&comment=8737 ... [ Related: https://processwire.com/talk/topic/18497-help-needed-to-improve-a-websites-functionalitiesfeatures/?do=findComment&comment=161971 ]
  23. I've just tested again by upgrading to version 3 on another server. To ProcessWire 3.0.96 (Master) this time. I've had again messages like Error - Call to undefined function _x(), did you mean _()?. It seems that using $this->_ instead of __ works. But I've kept __ and have used the following instead depending on the template file/case: <?php namespace ProcessWire; <?php namespace ProcessWire; ?> <?php namespace ProcessWire; include('./_head.php'); // include header markup ?> This time I've just put it on one line, inside the same pair of tags, I've not separated the namespace part and the include part. By the way, on this server, I have been able to upgrade thanks to the Upgrades module. On the other one I cannot have access to the ProcessWire core updates/upgrades anymore.
  24. You could also use a Page Table (ProFields), available in ProcessWire's core and freely installable from the backend. You can select a parent for the items (unlike repeaters), enter the table fields you want to display in the administration panel... You could perhaps also use a Page Reference Field, choose a way of selecting that suits you, select a parent page with children pages that only have the fields you need...
  25. Is it a Repeater that you need? http://processwire.com/api/fieldtypes/repeaters/ https://processwire.com/videos/repeater-field-type/ https://modules.processwire.com/modules/fieldtype-repeater/ https://processwire.com/talk/topic/958-repeatable-fields/
×
×
  • Create New...