Jump to content

Christophe

Members
  • Posts

    705
  • Joined

  • Last visited

Everything posted by Christophe

  1. Nice website. But I'm seeing the same Search button issue. In Firefox, Chromium, Opera, and Vivaldi. Depending on the browser, the text behind the arrow is different. This seems to happen only on the homepage (?), at least now. Edit: it has disappeared. I guess you have just done something...
  2. I had already noticed this, had postponed to write about it, and had forgotten about it. And have noticed it again recently... Be it with ProcessWire 2.6.1 or 2.7.0, be it in Firefox, Chromium, Opera, or Vivaldi, at least on Linux Mint, when opening CKEditor's "Source" (modal) window, and wanting to resize it by drag-and-drop with the resize "button", because it's sometimes more convenient for a good read/the modification of the source code, the blue-bordered container doesn't resize, only the window... so it's of no use. As far as I can remember (but was it with the old default wysiwyg editor?), it worked well with older versions of ProcessWire. Do you experience the same on the Linux, Mac, Windows (and perhaps FreeBSD, and other) platforms?
  3. I found it via twitter a few days ago. I must have thought that others had seen/would see it (soon)... I liked this article.
  4. Do you know in which file it is now? I'm curious. I can't manage to find it via GitHub's repository search form. What would be the "procedure" in order to be able to fix it quickly? Could I just add a new file with the translations? What should be it's name and what should it contain? How could I add it? Do you already have it in German? A lot of questions, I know... Have a nice week!
  5. Hi, I didn't wait this time for the French Language Pack (fr-FR) update before upgrading to the new stable version. I didn't expect this. All other translations seem to keep on working. I've tried with different browsers, just in case. I may post a link to this topic in the French Language Pack (fr-FR) Support Forum.
  6. Hello, I've upgraded 2 websites (for the moment) from version 2.6.1 to version 2.7.0. One is now in production mode (a website migrated/converted in a few days from ImpressPages CMS to ProcessWire, now responsive - apart from the top menu that is not fully responsive - and using UIkit). And the other that is still in development mode. I've just noticed something, as I often put the superuser in English while developing or if I have to manage the production website. Since the upgrade apparently, be it with Reno Theme or the Default Theme (I've checked with both just in case), Edit, View, New, Move, etc. are not translated anymore when having another language, like French for example, as the language for the superuser or a simple user with less rights. In both cases, the "default" language is the French/non-English one. Does someone else encounter the same problem?
  7. With the help of Firebug html#facebook body {background-color: #000; border: 1px solid #fff;} #fff, #c8c8c8, etc. "0 Comments" ._50f7 {color: #fff;} #fff, #c8c8c8, etc. "Sort by" ._pup {color: #fff;} #fff, #c8c8c8, etc. Top inside bar ._491z {border-bottom: 1px solid #fff;} #fff, #c8c8c8, etc. Bottom inside bar ._5lm5 {border-top: 1px solid #fff;} #fff, #c8c8c8, etc. Facebook text link ._42ef a {color: #fff;} #fff, #c8c8c8, other blue, etc.
  8. It's easy for them with https://wordpress.com/ Be it a website there or a self-hosted one, we know it doesn't mean it's going to be a quality website.
  9. For your "typical example" of "the contact info in footer area", you can, for example, just: create a Contact information page (that is hidden), insert <?=$pages->get('/contact-info/')->body?> wherever you want in _foot.php, or elsewhere. That's it. The content editor edits the body field of the Contact information page. There's no need for a template for this page normally. If you define (in _init.php, for example): $contact_info = $pages->get('/contact-info/')->body, you just have to use $contact_info wherever you want. It could be anything of course. Not just a CKEditor textarea body field.
  10. Hi again, Perhaps you'll want to replace the 2 URLs with something like http://subdomain.hostpapa.com/(sub)folder/pwtest/richard/portfolio/, for security reasons. Google indexes very quickly these Support Forums (topic) posts. And to use an .htpasswd file if you don't want google to start indexing the website as it is. Or perhaps you are going to "migrate" the website and make it live quite soon.
  11. Hello, Could you give examples of URLs (the part after the domain name, that you see at the bottom of your browser when you hover a link)? You don't have any redirection (module) enabled, do you? Do you have $config->debug = true; in config.php, in case it helps? What are the differences between the two servers?
  12. I don't know your (Debian) GNU/Linux level relative to LAMP, so I will ask some questions... Have you also enabled mod_rewrite (it is not by default)? Have you restarted Apache2? (Do you have /index.php/ in the url paths of the other pages?) Are you using Debian's default LAMP "package"? Can you give more details?
  13. Hello, I'm about to release the "new" version of a non-profit website made with ImpressPages CMS. I've converted/migrated it to ProcessWire quite quickly (in a few days). Now I just have to check the contents a last time. It's the first time I use captions in 1-2 pages of a ProcessWire website. Needing to add a small last content update to the homepage, I've just noticed that the insertion of the image is removing the other image with a caption also that is above. I've tried with a simple text inside a p tag or a h2 tag, the text stays, but it seems related to the same problem. In fact, everything is inserted inside the figcaption tag, and if I remove this tag, everything is inserted inside the figure tag: a paragraph, a horizontal rule, etc. I can of course do it via the html code editor, but it's not really a solution for a common editor. Has someone already experienced this? Can you reproduce this behaviour? Do you know a key command/shortcut to get out of this last tag? I'm using ProcessWire 2.6.1. NB: at worst, I can tell them just to add some letters via the "Source" button, then select them in the wysiwyg editor and change them to whatever they want. PS: at least on the homepage, I've decided to convert the "captions" into em tags (with classes that already exist for "notes") that are inside the (same) paragraphs where the images are.
  14. It appears that if I have the "Markup/HTML with image management" option activated at Content Type in the Details tab (Admin > Setup > Fields > Edit Field: theckeditorfield), it works by default. https://processwire.com/api/fieldtypes/textarea-fieldtype/#content-type I'll have to check if it works also with images coming from other pages, but it's probably the case.
  15. "Also if you add description on your uploaded image, alt tag will be appear with your description." I'll add that, for this part, make sure that you have the "Markup/HTML with image management" option activated at Content Type in the Details tab (Admin > Setup > Fields > Edit Field: yourckeditorfield).
  16. Seo functionality can be quite complete with very little php/processwire code. Like for example, for the description: $home_summary = $pages->get('/')->summary; if($page->summary) { echo "<meta name='description' content='$page->summary' />"; } else { echo "<meta name='description' content='$home_summary' />"; } (Or with $home_summary = $homepage->summary; if $homepage = $pages->get('/'); is already in _init.php for example.) If the page's summary field is empty, it uses the content of the homepage's summary field. For the browser (page) title, you can, for example, have something like: echo "<title>{$page->get('browserTitle|headline|title')} | City - State | Name of the Company</title>"; (With or without curly braces depending on the context...) If the browserTitle field is empty, then it uses the headline field's content. If the headline field is empty it uses the title field. For the headline (page title), you can have something like: echo "$page->get('headline|title');" (Or with $title if $title = $page->get('headline|title'); is already in _init.php for example.) You can of course modify it for your needs. Otherwise, someone asked me if I could translate, customize... one specific wordpress template (with a lot of widgets, etc.), that is only supported in English. And how much it would cost. I'm probably not going to do it... If I could have a good profile for this "tv" website project (with youtube, dailymotion, and self-hosted videos), with the possibility, among other things, to create "channels" a bit like on youtube with user accounts (that would be the "channels" category for instance), I would be ready to pay for it. For a video/tv website, a real estate website, a directory website... it would perhaps be interesting to have topics where we list the functionalities often needed, the modules that could be used, and so on, and how to modify/customize them eventually, etc.
  17. Hello, I pasted it here in part in case some newbies want to use it. And eventually to modify/improve it a little bit. I like it because it's close( r ) to the html version, short(er), simple( r ), and easy(/ier) to understand (at least for me). But thanks for posting your code, for me or any other person. It works. I'm a php beginner, and I like to understand what the code does. And now I know (and understand) more ways/variations of coding the same thing, than not so long ago when I tried with a kraken css menu. I may borrow you the carets, and use (more) \n (newlines) and \t (tabulations). For this project, I want to have the parent links clickable, and, depending on the case, they will link to their own page or be redirected to the first child (checkbox in the admin). And I don't want the children of the homepage. But, if one day I need some sub-sub-children perhaps I can just paste and customize it.
  18. I'm just starting with uikit (I'm testing/learning it on a development website for a "production" one that I would like to migrate from ImpressPages to ProcesssWire). At last I have a fully functional uikit menu (the indentation is a bit messed after copy(ing)/pasting). The conversion of the "Navbar modifier" code from http://getuikit.com/docs/dropdown.html (if I'm not wrong): <?php echo "<nav class='uk-navbar'>" . "<ul class='uk-navbar-nav'>"; // This is the container enabling the JavaScript $h_active = $page === $homepage ? " uk-active" : ""; echo "<li class='uk-parent$h_active' data-uk-dropdown><a href='{$homepage->url}'>{$homepage->title}</a></li>"; foreach($homepage->children as $h_child) { $subchildren = $h_child->children; $c_active = $page === $h_child ? " uk-active" : ""; if(count($subchildren)) { $cwsc_active = $page === $h_child || $h_child->children->has($page) ? " uk-active" : ""; // This is the container enabling the JavaScript echo "<li class='uk-parent$cwsc_active' data-uk-dropdown>" . "<a href='{$h_child->url}'>{$h_child->title}</a>" . "<div class='uk-dropdown uk-dropdown-navbar'>" . "<ul class='uk-nav uk-nav-navbar'>"; // This was the menu item toggling the dropdown // This was/is the dropdown foreach($h_child->children as $subchild) { $sc_active = $page === $subchild ? " class='uk-active'" : ""; echo "<li$sc_active><a href='{$subchild->url}'>{$subchild->title}</a></li>"; } echo "</ul>" . "</div>" . "</li>"; } else { echo "<li class='uk-parent$c_active' data-uk-dropdown><a href='{$h_child->url}'>{$h_child->title}</a></li>"; } } // output an "Edit" link if this page happens to be editable by the current user if($page->editable()) echo "<li class='edit'><a href='$page->editUrl'>" . __('Edit') . "</a></li>"; echo "</ul>" . "</nav>"; ?> The parent of an active "subchild" is also "active" (the last "functionality" that was missing). Later, when I have a bit of time, I'll look again (at) how to change the default "hover" behaviour to the "click" one (data-uk-dropdown="{mode:'click'}" instead of data-uk-dropdown). When I tried out of curiosity, there were problems with all the quotes and double quotes... I tried several things, but as I don't really need it now I'll try again later. NB: towards the end, I've changed from, for example, $h_active = ""; if(.... TO $h_active = $page ===... (with some variations in between).
  19. @elabx You could create several videos for several stages in your website development (for YouTube, dailymotion...). Each of them with a good title for seo. (bigbluebutton, for example, could have been interesting as an e-learning platform. I've just seen this from a link on the homepage's website: https://moodle.com/2015/07/06/moodle-launches-moodlecloud-free-hosting-for-educators/ At least one official ProcessWire account could perhaps be created. "Up to 50 users and 200Mb disk space" "Integrated with BigBlueButton for video-conferencing – free!" A video-conferencing - and/or chat - session could be held after each video release, for instance.
  20. Perhaps: /\h+/ \h+ matches any horizontal whitespace character (equal to [[:blank:]]) Quantifier: + Between one and unlimited times, as many times as possible, giving back as needed [greedy] You can test it at https://regex101.com/
  21. Maybe you don't see hidden files (starting with ".") by default (?). Are you developing on a local server/computer or on an online server? Which platform: Linux, Mac OS X, Windows...?
  22. Where is he hosting his domain name? Is he using cPanel, Plesk, etc.?
  23. Perhaps something with "vanilla"/pure javascript and/or velocity.js (which can be used with or without jquery). I've just found https://github.com/mmonkey/fireSlider There are certainly many others. NB: for other things, I've also found http://darsa.in/sly/
  24. Hello, I've already used Reel once on a website: http://jquery.vostrel.cz/reel See "Who uses it?" for an example with logos. I think you can also make it work vertically. You can use sprites or several individual images. NB: I will remove this part later... http://www.emballagescartofrance.fr/2/guide-d-achat-cannelures-caisses-carton-americaines/ One of the two websites I made with ImpressPages CMS. I knew very little about ProcessWire when I had to create this website and choose a new CMS. Several instances of Reel (too many) on the page. You can use the mouse (wheel).
×
×
  • Create New...