Jump to content

Christophe

Members
  • Posts

    701
  • Joined

  • Last visited

Everything posted by Christophe

  1. Thank you Adrian for the clarifications/confirmations. I'm going to ask Pete.
  2. Hello tpr, Is it a new installation, an update/upgrade...? Have you exported/imported fields? We know that if the image field is set to hold only 1 image a new one replaces the old one. There is no need to check "Overwrite existing files" in the "Input" tab. Have you checked "Overwrite existing files" for this particular image field? (Is it in a repeater field, elsewhere, or an image field directly in a page?) Is it a standard image field? You must have verified everything, but we never know...
  3. Hello Adrian, I hope you are doing well! Does "Protected Mode", or "Page Protector", have the ability to put an entire website in "maintenance mode" for an undetermined time (eventually with a customizable message), but without affecting SEO? With a 503 status code and perhaps in combination with a particular HTTP header (Retry-After). A nonprofit association committee has just asked me to put its website in maintenance mode (like have done other committees) because their federation has a legal problem, surely with a committee that leaved it some time ago. Have a nice day!
  4. https://developers.google.com/web/tools/chrome-devtools/device-mode/ You can add the device pixel ratio with the 3-vertical-dots menu in the top-left panel. https://developer.mozilla.org/en-US/docs/Tools/Responsive_Design_Mode Firefox or Firefox Developer Edition: https://www.mozilla.org/en-US/firefox/developer/. http://www.opera.com/developer/mobile-emulator https://chrispederick.com/work/web-developer/
  5. It freezes or crashes. It seems that the issue doesn't exist on http://thetouristsaffairs.com/ (without the en part). By the way, thetouristsaffairs.com doesn't redirect to www.thetouristsaffairs.com (or vice versa). NB: I've just found it difficult/"buggy" to write normal text after including links in this editor. I can't even remove/disable links here. I had to copy paste in a text editor.
  6. Hello heldercervantes, I had noticed something on Chromium (52.0.2743.116 on Linux at least). It's still occurring. The issue doesn't seem to exist on Firefox (48.0). It's related to the "Find your tour" search form. Trying to use it "freezes" the website. The only way to have it normal again seems by opening a new tab and entering the url again. In Firefox I can open Where?, How Long?, or What? without any problem. First closing the last one I clicked on, or directly opening another one. But on Chromium as soon as I click on Where?, for example,...
  7. I often use a 'hreflang' field instead of a 'name' field, so I can enter anything in the field. But the few websites that I've created multilingual from the beginning - in case - have only one language activated for the frontend as of today...
  8. https://www.chromium.org/Home/chromium-security/marking-http-as-non-secure
  9. Hello @giannisok, I now use FormBuilder, for simple or more complex forms. If I ever need to use something other than FormBuilder for a website one day, I'll surely take a close look at your solution. Thanks. Have a nice week!
  10. @thlinna .htaccess also works with LiteSpeed. I have 2 clients' websites using ProcessWire with it because they are hosted at PlanetHoster. One of them uses Let's Encrypt.
  11. I forgot a moment the fact that the new versions of .htaccess were going to have the line that I recently had to change manually.
  12. @szabesz So you are also a Let's Encrypt user...
  13. Hello, It would be nice to have a ' converted to a - in a page name, in version 2.8. In French, for exemple, L'arbre vert is converted to larbre-vert when it should preferably be l-arbre-vert. I haven't tried with the English language recently. Let's go, for example, should preferably (?) be converted to let-s-go (if it's not already the case). I will have to test what happens with haven't also, for instance. With 2.7, I always have to manually modify it. And/but editors... There is surely a (update/upgrade-proof) way to change this by tweaking files but it would be nice to have it by default. Perhaps it has already been discussed and there is a reason why it's not working that way. I've thought about writing this post several times but have always ended up not doing it.
  14. Hello, What do you think about this entire article?: https://mindtheshift.wordpress.com/2015/04/02/r-i-p-rem-viva-css-reference-pixel/ Edit: I'll try to read all the article's comments.
  15. Hello, Which version of ProcessWire are you using? You need the 3.x dev version for this (please see the content of the following page): https://processwire.com/blog/posts/hello-健康長壽·繁榮昌盛/ But it could be that it also works with the 2.x dev version. 2.7.3 development will normally soon become 2.8 stable. If I'm not wrong, functionalities/features of the 3.x dev branch are now synchronized with functionalities of the 2.x dev branch. https://processwire.com/download/
  16. I will try it in new projects with Atom and/or Sublime Text editor. https://atom.io/packages/autoprefixer https://developers.google.com/web/tools/setup/setup-editor#autoprefixer https://github.com/sindresorhus/sublime-autoprefixer Edit: https://github.com/mikaeljorhult/brackets-autoprefixer (Brackets)
  17. Hello, Imagine a homepage child page, Presentation. One of its siblings, Relooking, has a child page named Books. Presentation needs 3 images that are already in Books. These 3 images could also be in a page named Shared images or in a child page of Shared images named Books images, for instance (in this case, it would not be one page per image that is created, with Shared images being their parent. The same problem would exist with one page per image: having to click too many times to select multiple images, but this time from (different) children of the same parent page). In this case, 8 clicks are mandatory to insert each image, the first click being on the image icon in ckeditor. Perhaps there is a "solution" with "Bookmarks"... Any solution? [ ProcessWire 2.7.2 ] Edit: instead of clicking on the button to insert the image and go back to the ckeditor textarea field, perhaps a new button/functionality could be created to add another image from the same page or same parent, in order to not have to go again through all the path to the page or parent page. After saving the page, or simply going back to ckeditor, all would be set back to "normal", for example. I don't know if it's (easily) feasible or not...
  18. Sure. $i starts at 2 in the foreach statement. I guess you can do something like $row -= $i if ($odd) { echo "<div class='item-$row item-odd'>"; // Use .item-1, .item-2, etc to style /* OR */ echo "<div class='item-$row item-odd' style='background:{$repeater->color_field}'>"; // Or use a the color field by soma to select color in repeater ... } else { echo "<div class='item-$row item-even'>"; ... I haven't eaten yet today, so I could be wrong... Perhaps you have already done something similar to this...
  19. Hello Peter, Isn't something like this just what you need to add?: div.odd-item img {float: right;} div.even-item img {float: left;} And adjusting the margins and/or paddings. For a different background color on each row, are you going to use something like :nth-child(1), :nth-child(2)... [ https://developer.mozilla.org/en/docs/Web/CSS/:nth-child ] or :nth-of-type(1), :nth-of-type(2)... [ https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-of-type ]?
  20. There is also if (! Quick research via Google: For example, take a look at the current last answer here : http://stackoverflow.com/questions/6311040/php-if-not-equal-and-or-issue-why-doesnt-this-work (one example with || and one example with &&).
  21. Don't forget to read the "Responses"/Comments.
  22. Hi, Normally, as written above the Extra Allowed Content box, i(*) and h4(*) have to be on separate lines. h4(uk-panel-title) and i(uk-icon-credit-card-alt) should work. (uk-panel-title) and (uk-icon-credit-card-alt) also.
  23. Hello, How many pages do you want to display in the footer? Do they all have the same (direct) parent (that is a direct child of the homepage(?))? Or are they located a little bit everywhere (but under a direct child of the homepage(?))? Do they use the same template? You could "call" them directly. Perhaps you could add a field to the template used for the pages, and try something like this in the template file: if($homepage->children->displayed_in_the_footer_menu) { // code displayed if the field is checked I haven't used something like that for a menu yet, but I have in order to display content on the homepage, for example. You will have of course to hide these pages in the backend if you don't want them to show up in the top menu. And will perhaps have to use $homepage->children("include=hidden") (with single or double quotes), instead of just $homepage->children Can you give more details?
  24. Hello, Try by using title instead of Title.
×
×
  • Create New...