-
Posts
701 -
Joined
-
Last visited
Everything posted by Christophe
-
Hello, I hope you are all doing (as) well (as possible)! There is a website (currently powered by ProcessWire 2.8.35, but I'm going to try to update it to ProcessWire 2.8.62). The client's project is not really "live" for the moment, even though it has been online for a few years. From time to time, he contacts me and asks me to add functionalities (at least once a year). He travels a lot and has (too) many projects. On this website there is a conditional form made with Form Builder (topic(s) in the module's Forum). With the first field (radio button), you can choose Model (default) or Other artist. Depending on the choice, some fields are added and some removed. Some other fields are the same. The form being a conditional one, every form sent is (also) being converted automatically to a(n) (unpublished) page, but under a temporary (directory) parent page. It is added at the top in the list of children in the admin. Using a template that has all the fields corresponding/equivalent to the Form Builder conditional/double form fields. In a page under this temporary parent, the first field (Model or Other artist) is still editable. (1)a)) I guess I have to (find a way to) show it without it being editable by the client's user account (only the superuser should be able to edit it, but normally he wouldn't need to edit it also, just to see it - with or without seeing the other option). [DONE. Field -> "Field" tab -> "Visibility" -> "Presentation" -> Options] He can review and validate it, and then publish it. Or he could do it after moving the page from the temporary parent. Then the client moves the page under the Model or the Other artist parent. Their children have the temporary template available, and also their respective template. So only 2 choices, and after having moved the page he switches to the adequate template, which removes the first (radio button) field and the fields that are not needed/used for the child under the chosen parent. 1)b) I am wondering if there is a way to automate the change of parent and template depending on the first field (radio button) once the page is created under the temporary parent, and/or if there can be a button added somewhere that the client can press/a way so that it is done automatically. And/or perhaps to do it for one, or several pages at once, with an "action' or automatically once a page (under the temporary parent) is validated/set to "published" by the client (perhaps this would be the best in this case). 2) In fact, I now have to think about all this because the client would like the model or other artist to be able to edit it's page later. Starting from what exists (I'm not going to change all the "processes"/steps' order now), once the page is published and under the right parent, an account with an email (existing field) as the username (or the part before the "@"), for example, or another solution ("pseudo"/"alias" field value, etc.), and a default password (always the same, an automatically generated one...) would be automatically created (and sent manually or automatically to the person (?)). 3) The person shouldn't be able to see/edit the "Parameter" tab (template, publish...). I guess it would be better that he/she edits from the front-end, and sees only what he/she could need to edit. So a "lot of things". Starting from 1) normally. Thank you in advance for helping me find solutions and know what's possible and not. I can add screenshots if needed. NB: please moderators, feel free to move this topic to a more adequate sub-forum. I was not sure where to put it. Not sure how to name this topic.... Feel free to modify the name. PS: this message has taken me so long to write, check and publish... like often.
-
Hello, Just for information (one of my recent bookmarks, featuring Stimulus and Turbolinks): https://m.signalvnoise.com/stimulus-1-0-a-modest-javascript-framework-for-the-html-you-already-have-f04307009130 Have a nice week!
- 35 replies
-
- 2
-
-
Hi, It's better to put them in /site/modules/... in order to keep the additional symbols after each update. Also, you can normally add them via the backend.
-
Formbuilder Submission Email Has Blank Body Content
Christophe replied to cosmicsafari's topic in Getting Started
Hi, The "Form Builder Support" forum is the best place for help. If you don't have access to it yet, you can normally ask @ryan to activate it if you have a license/licence. @thmsnhl Edit: "...the support and upgrades period lasts for 1-year..." and " After 1-year, you can optionally renew your access to the support/upgrades board for a nominal fee..." (depending on your license level).- 2 replies
-
- 1
-
-
- formbuilder
- emails
-
(and 2 more)
Tagged with:
-
Hi, Also, you don't have the non-www version redirected to the www version, or vice versa. And you should normally only have one meta name="canonical" version in your source code. Currently, it changes depending on the non-www or www version.
-
<ironic>Finally ProcessWire got hackable (Meltdown & Spectre)...</ironic>
Christophe replied to bernhard's topic in Pub
Reading privileged memory with a side-channel https://googleprojectzero.blogspot.fr/2018/01/reading-privileged-memory-with-side.html Meltdown and Spectre Bugs in modern computers leak passwords and sensitive data. https://meltdownattack.com/ -
- 38 replies
-
- 1
-
-
- software
- prototyping
-
(and 1 more)
Tagged with:
-
Please try with backface-visibility: hidden added to .grid {...}. (For my browsers, there is no need to use the -webkit- version, but you could use both.) I haven't tested it in IE or Edge. Edit: you have 528 posts and 528 likes :).
-
For http://artistblacksmith.org.uk/, there is something that I see on the homepage with Chromium and Opera, but not with Firefox and Vivaldi: the 3 columns of (linked) images appear starting from the left but then the second one disappears, and just after the third one. They only appear again for +- 1 second when the mouse is over one of the 3 columns, then only the image's gray/grey background and title stay when the mouse is over them - if it's on the second or third column. I haven't looked at the other pages yet. Edit: on the Linux platform at least.
-
@SamC And if Gravit Designer doesn't suit your needs, you can always acquire Affinity Designer (no Linux or web-based version) - during the Black Friday period. Edit: you also currently have a special offer until the 16th for the launch of the 1.6 version. It's possible (some of) the free gifts will still be offered during the Black Friday period.
-
Google Chrome/Chromium -> Ctrl+Shift+I (or Ctrl+Shift+J) -> Sources. (Or with another browser's developer tools.) Please see the attached image. [ Keyboard Shortcuts Reference: https://developers.google.com/web/tools/chrome-devtools/shortcuts ]
-
Hi, In site/external/style/style.css, just add: .template-phone a { color: #999; } between .contact-details li::before { ... } and /* --- social icons --- */ (currently line 2209). Edit: do you want to keep the color that is currently orange for the phone number on the contact page?
-
Hi, I see it on my (very) large screen (full height window) but only if the zoom is, for instance, 150% and with the development tools' panel opened - on chromium. Same on Firefox, Opera, and Vivaldi. All Linux. So apparently it depends on the height of the window, on the top space taken vertically by each browser, on the zoom %, and on the development tool or Firebug panel's height. Edit: adding max-height: 100%; to header .logo img {} could be a solution (works for different window widths). But the Palácio Santa Catarina part will still appear (very small).
-
Examples of large sites, particularly government, desperately needed
Christophe replied to Margie's topic in Getting Started
Just so that others than Margie can also see this information. I/we could all find more of them. WIth inurl: (and more), for example. I've removed 3 websites that had between 2500 and 3000 results. inurl:http://arts.ufl.edu/ -> about 5 400 results inurl:http://www.kidsportcanada.ca/ -> around 5 610 results inurl:http://visionsource.com/ -> around 5 670 results inurl:https://www.clinicalgenome.org/ -> around 13 900 results -
@rst In the "Minify" tab, a "Minify HTML for"... option has to be checked. Then you have the "Do not minify content within these HTML tags" link appearing.
-
[SOLVED] Header field displays content strangely
Christophe replied to joeck's topic in General Support
And with, for example: $title = $page->get('header|title'); [ in _init.php ] and <h1><?php echo $title; ?></h1> [ in you template file ] ? (See the default profiles coming with a ProcessWire download before the installation process.) -
Yes, the Social Share Buttons module can be used. I used it on one website (I installed it on more, but it is not used for the moment). Also, a repeater can be used. I used one on a more recent website because there were "services" that didn't exist by default with the Social Share Buttons module: YouTube and Viadeo. I was in a relative hurry, so I used a repeater, having the impression that it would be easier, more flexible... The order can be easily changed, "services" can be added... from the backend. You can see the screenshot. With the Social Share Buttons module, you can also add new custom "services". For video insertions, there is Video embed for YouTube/Vimeo (with &rel=0 added to the URL to avoid suggested videos), Get Video Thumbs, and Global Options for Embedded YouTube/Vimeo Videos (more recent).
-
mystyles.js in /site/ not affecting CKeditor fields
Christophe replied to cjx2240's topic in General Support
Is the align_left class authorized - in the body field - for all elements (including the img and p elements), for the img and p elements separately, or only for the img element? -
$title is defined in _init.php in the "templates" folder, isn't it? $title = $page->get('headline|title'); // headline if available, otherwise title Are you modifying the headline field or the title field? Edit: ... in the admin/backend? The browser page title, the header (h1...) page title, the parent page title...? Which "title" (field(s)) exactly doesn't change? Because you are using several ones in your code...
-
Not especially in order to explain it to clients, but for me they are like (data) objects (or items, or how you prefer to call them). And there can be several different types of objects of course. I guess you could also call them field(/data) objects (collections, containers, or whatever term makes more sense depending on the case). Or field-template-page objects, etc.
-
@Zeka Perhaps it's a normal behaviour: you click on Ok as many times as you want to add as many clones as you want, and click on Cancel to stop cloning (and to close the pop-up). I'm just guessing, I haven't tried. Which version of ProcessWire are you using? Is it a "normal" repeater field?
-
Also resolved it for the other hoster. Same, but with RewriteCond %{HTTP:X-Forwarded-Proto} !https added. So RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.domainname.tld/$1 [R=301,L] And RewriteCond %{HTTP_HOST} ^domainname.tld$ RewriteRule ^(.*) https://www.domainname.tld/$1 [QSA,L,R=301] NB: the redirection from https:// to https://www seems to work better when keeping RewriteCond %{SERVER_PORT} 80 after adding RewriteCond %{HTTP:X-Forwarded-Proto} !https Tested several times, with the cache cleared. Perhaps a coincidence, or not... I was just curious to see what would happen if I removed it.
-
Isn't the website using Joomla!?
-
http://foundation.zurb.com/get-involved/support.html I could e-mail - or tweet - them. Perhaps there's a better chance if it's not the creator of the website who is contacting them (?). Perhaps we should make a "contest" or poll here, choosing which one should be proposed (first)? By creating a new topic and a poll. NB: not sure now they would accept it at Foundation - as it is - as the neophobia background image is "frightening" and the other one is too much "advertising".