Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/14/2018 in all areas

  1. Hi, I've just read about Open Collective: https://wptavern.com/new-backyourstack-tool-drives-financial-support-for-open-source-projects ProcessWire or the top 3 (or 4?) most popular ProcessWire modules might be able to utilize it. I opened a "request": https://github.com/processwire/processwire-requests/issues/218 Top modules: https://weekly.pw/issue/202/ Tracy Debugger by @adrian AdminOnSteroids by @tpr FormBuilder and ProCache by @ryan
    3 points
  2. I see. In an effort to help, I updated my signature: Please don't forget to give a star at GitHub to the best in the ProcessWire world: ProcessWire, Tracy Debugger and AdminOnSteroids. Anyone not using a signature just yet might want to copy me ?
    3 points
  3. Hi everyone - @netcarver has mentioned to me that he's not a fan of some of the ambiguity of the icon colors in the debug bar - mostly the blue for the System Info icon and the PW pink color used by the PW Info and Captain Hook panels, and the purple used by the PHP Info panel. I have quickly mocked up a version where these are all grey: He wanted me to poll you guys to get some input on this change and also any other changes you might like to see. In general the idea with icon colors is: grey - no significance green - everything ok - no attention needed orange - warning or attention to a new entry/item of interest red - warning, fail, or something else that you should be aware of So please post your thoughts - what do you think can be done to make it look cleaner and also more meaningful/useful? Thanks!
    2 points
  4. Here are more details and some news about this module. What's new (14. August 2018.): - fix small bug - search by subfields - different layouts per-template basis Examples: 1) 1 single field for configuration and setup instead 7 PW native fields On "Home" administration page want to have global config options (stylesheet, development or production mode), and SEO settings fields. On category pages need to have options to change number of children in list, provide option to select different layouts, and SEO settings fields. Conclusion, need to have 7 fields: stylesheet (select), development (select or check), SEO fields (eg. title, description and robots), limit, layout. Create field "setup" with all needed subfields: But also want to have different field layout inside Home and category pages. For that we use "Compact view" inside template setup. Result, same field but with different inputs and layouts. On site are dozen of categories and want to find where are used grid and where list layout. Or, website is in still development mode and want to find NOINDEX categories, etc... 2) Multiple different textareas on "basic-page" and "basic-page-2" templates using 1 single field Task: - textarea1, textarea2 and textarea3 on basic-page template - textarea1, textarea4, textarea5 on basic-page-2 template - all that with 1 PW field Create field "content" with 5 textarea field types (textarea1...textarea5) Set Visibility condition like this: basic-page=textarea1, textarea2, textarea3 basic-page-2=textarea1, textarea4, textarea5 Inside Action tab add field to templates basic-page and basic-page-2. Later in page administration are only desired textarea inputs. Search: find all pages where textarea1 contain word "Toronto" $items = $pages->find('content.textarea1*=Toronto'); Or in admin backend using lister: In front side: $selector = 'content.textarea1*=Toronto'; $items = $pages->find($selector); if($items->count){ echo "<h2>Find items: {$items->count}</h2>"; echo "Selector:<pre>$selector</pre>"; foreach($items as $item){ echo $item->title .', template: '. $item->template->name; echo '<br />'; } } Note: this example is only for demostrations and I didn't test this in case of few thousands pages.
    2 points
  5. Hi @dragan , Thank you for your speedy reply and assistance. For anyone else encountering the same problem the route to Show system templates is as follows: Click on Admin (in the page tree) Click on Setup Click on Templates Click on the exposed View button Click on the Filters ... link at the top of the Templates page Then you will see the options displayed as per the image dragan provided above. Thanks again, dragan.
    2 points
  6. It's not available from the flyout-menu. You have to go to setup > templates, and at the top you will see this:
    2 points
  7. Because there are many languages that uses those chars. Means: these are not only "german umlauts", this is used in multiple languages. And those languages all reduce the chars to a single char, (ä -> a, ö -> o, ü -> u). So, the usage in german language, changing it to a char with a trailing e, is in the minority here. ?
    2 points
  8. @cb2004 attached is an amended version of the module and module config. I added a setting for the region and the API URL will adjust accordingly. WireMailMailgunConfig.php WireMailMailgun.module
    2 points
  9. Doesn't say much, but #3 on a list of the 6 best alternatives to Drumlapress: https://www.geckoandfly.com/27533/wordpress-drupal-joomla-alternatives/
    1 point
  10. Check out the blog post about user-admin-[role] permissions: https://processwire.com/blog/posts/new-user-admin-permissions-automatic-version-change-detection-and-more-2.6.10/#new-user-admin-permissions
    1 point
  11. I remember having to manually resolve such issue somewhere but that doesn't mean there's no better way. Another question is whether to use automatic fallback or not, in case of native fields it's optional. If you bake it in the module the user cannot set a language value empty intentionally because on retrieval it will be replaced by the default one.
    1 point
  12. Great work! Thanks for sharing. Unfortunately, I didn't have time yet to try this out, but I'll give it a go in the next couple of days. I can imagine quite a few real-world usage scenarios for this.
    1 point
  13. Are you sure those are eligible? Those are commercial modules, not open-source.
    1 point
  14. Same reasons as CMS Critic probably... People don't like spending money on developers these days. You can just install a plugin... That's why the internet is full of Frankenstein websites.
    1 point
  15. I have looked into OpenCollective and even suggested it to @tpr for AOS - the problem is that they require you to have 100 Github stars on a project before they'll accept it. So if you guys want to help out, send some star loving ? Obviously the PW core could get involved, but I don't think there are any modules with 100 stars yet.
    1 point
  16. Hi @adrian - no need to apologise! I can report a positive result though - the alternate language values are displayed if entered (see below). It appears to be just the fallback to default that's not being picked up.
    1 point
  17. Hi @iank - sorry about that - I honestly never tested this in a ML environment. Could you please check if the French values show if they are entered? If so, then we just need to make the fallback to default work if no alternate language values are entered.
    1 point
  18. PageSpeed Score: F (26%) YSlow Score: E (57%) Fully Loaded Time: 15.2s https://gtmetrix.com/reports/www.natgeotraveller.in/wmXqm1ep ? Confirmed is WP !! PW should look like this: PageSpeed Score: A (90%) YSlow Score: A (94%) Fully Loaded Time: 0.9s https://gtmetrix.com/reports/www.processwire.com/ntrLTyL8 ?
    1 point
  19. Oh my code, I feel quite silly here. How come I have missed this ? Just dragging the images ..... Thanks Teppo
    1 point
  20. Not sure at what point this was added, but if you click the name of the image in admin, you can edit it in context. Save, and the filename will change. Personally I prefer sorting items in the order they appear in the admin. This way you can simply drag the images to the correct order, no need to tweak filenames ?
    1 point
  21. Is there a way to add an extra action to the ProcessPageEdit button? I tried calling $inputfieldSubmit->addActionLink() but get a weird result (image below), then I noticed that ProcessPageEdit seems to be rendering this options without the module's render methods? Getting this when adding an option through a hook to the InputfieldSubmit object of the edit form:
    1 point
  22. https://github.com/processwire/processwire-requests/issues/168
    1 point
  23. Heads up for any PW developers who use parallax images on the front end of their sites. Chrome v67 has introduced a bug - grrrrr. A quick search found the solution for me: https://productforums.google.com/forum/#!topic/chrome/DC4IFvGXdIA;context-place=topicsearchin/chrome/category$3Awindows-10%7Csort:relevance%7Cspell:false In your CSS: /* google chrome 67 parallax bug fix */ .parallax { transform: translate3d(0,0,0); -webkit-transform: translate3d(0,0,0); }
    1 point
  24. Sorry to say that this website shouldn't be in Sites anymore. I was looking for an example to give to a newcomer on the ProcessWire Forums and, feeling something was different and/or by habit, have just looked at the source code... I'll perhaps look for an automated way to find other websites like this one in Sites. I had done it to check if websites' urls were still valid as I had found that a few weren't anymore. It reminds me of the CMS Critic case.
    1 point
×
×
  • Create New...