Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/18/2018 in all areas

  1. Hmm, why? Do you have an upcoming project? Although we are in 'Off Topic', I don't get the point of starting a new thread instead of 'continuing' the discussion (if there is one), using the existing threads:
    4 points
  2. Did you have read this? https://processwire.com/blog/posts/multi-instance-pw3/
    4 points
  3. The GDPR was approved two years ago, so how much more grace period should there be? As with each new law it's not going to come with any set of "best practices". They'll be worked out as the first lawsuits are held and concrete situations will be applied to the rules. There just isn't anyone out there to really finally interpret written law into concrete ways of handling thing besides judges in a lawsuit. It's a bummer that the ePrivacy rulings, which are supposed to go more into detail in the enforcement of gdpr in the digital world are still in the sad state of being nowhere near final. There are also various sources reporting that the ePrivacy laws won't be able to come into action until mid 2019 based on what is still to be approved by the EU and it's member countries. That might be the case in places, but as the GDPR is enforced for each company working with data of european citizens it's going to hit almost any globally active company as well as european ones. E.g. AWS is already claiming that they're gdpr compliant. For heroku I didn't find conclusive info, but salesforce (which owns heroku) does have extensive information on gdpr and how to comply when using their service. So if US companies want to make money in europe they'll have to deal with compliance.
    2 points
  4. When $config->debug is true, you can read all fieldnames when hovering the arrow in the top right of every field. This is possible with plain PW.
    2 points
  5. Yep, that's how it is often. Also I tried to bookmark all interersting stuff (with several systems of subfolders), it ever ended up unusable, just because of the amount of bookmarks collected by the time.
    2 points
  6. Its not exactly what you are looking for, but do you know the „Tracy Debugger“ Module from adrian? with this Module you can See all fields with names on the page (And many many other things) i think its a must have for processwire developers
    2 points
  7. @Macrura, glad you got it working eventually. I intend to work on an upgrade to this module sometime soon. Hope to add a feature allowing all dialog options to be configured from within a single hook, which will make things easier (for those comfortable writing code anyway). Will also look at adding some clarification that an attribute must first be declared before adding any of the "double underscore" enhancements.
    2 points
  8. You should try the Admin on Steroids module... I only scanned your post quickly, but I guess most of your wishes would be fulfilled with it. It's one of my "must-have" default modules that I install with every new PW instance.
    2 points
  9. Easiest, fastest, most reliable framework. Considering my workload this past weeks, I'm considering on switching. It supports a wide range of applications:
    1 point
  10. I discovered Swoole via a Quora answer to the (silly) question "Will PHP die in 2018?". https://www.swoole.co.uk/ https://github.com/swoole/swoole-src It's way above my skill level so I only have the vaguest grip on what it's all about, but it sounds pretty wild. Just thought folks here might be interested in checking it out.
    1 point
  11. Yeah, I can confirm this. From my testing ,$mainsite does not seem to have access to $session. Security? I don't know, just guessing.
    1 point
  12. Oops, kongondo. $forum should have been $mainsite. Now corrected in the example. @ Sergio, I know that, but is there a way to make that work from a "sister site" with this method? $mainsite->user->isLoggedin(); doesn't work.
    1 point
  13. Forgot to show where $forum is defined in your example code? Would be good to show the complete, correct code to help others, thanks.
    1 point
  14. 1 point
  15. $bool = $user->isLoggedin(); https://processwire.com/api/ref/user/is-loggedin/
    1 point
  16. What version of PW? Repeater import/export was fixed fairly recently https://github.com/processwire/processwire-issues/issues/416 so if you are not on dev, maybe that is the issue.
    1 point
  17. I know this sounds a little weird, but I'll show you what I mean. I have now integrated Bootstrap 4.0.0 in the backend with PageTableExtended. This works rather well. Here you see Bootstrap 4 cards in the PW backend: To make some changes here, the editor can click on the edit icon and the pagetable / repeater opens. (The editor can define to some degree the width of each card here. ;-) ) This is all working well. Since I can edit the fields in the frontend directly (This is the frontend!)... ..I wonder if this would also be possible for the PageTableExtended in the backend. Just clicking on the CKEditor to change some content quickly, without opening the pagetable modal window? Has anyone already considered such a thing?
    1 point
  18. If there's not much modification in the markup they should work. Of course things may break if the theme applies CSS that interferes.
    1 point
  19. ePrivacy was planned to be obliged at the same time, but now is considered to be obliged not before 2019!
    1 point
  20. https://make.wordpress.org/core/2018/02/16/gdpr-compliance-chat-recap-february-14th/ "Data stored on backups have to be deleted too." Any idea how to do that? There are various backup solutions provided by hosting companies but account owners often cannot even delete the backup(s) just revert to them and/or retrieve files. Also If I create an sql dump as a backup, I can only delete the whole file if I want to get rid of just one person's personal data... We need to delete our precious backups just to make sure one person's data will not get reverted by any chance? Am I the only one to think that this is overkill?
    1 point
  21. Thanks for replies. @bernhard Great site, that's the perfect example of what I need. Several notices: I think that the cart page should contain <meta name="robots" content="noindex"> and if there are no items in the cart it would better to show something like "Your cart is empty" without form. IMHO.
    1 point
  22. @andrew24, Moderator Note Please consider this your first and final warning against spamming in these forums. This forum is for ProcessWire jobs. You had hidden a link to your non-ProcessWire CMS behind your email address. I have removed your email and the said link.
    1 point
  23. ...couldn't resist to fork it and clean the code of this framework a little bit if i get the time...
    1 point
  24. Some really smart time-saving techniques here! And lazy-loaded as well, nice.
    1 point
  25. There was a bug in 3.0.88. It get fixed in 3.0.89. Don't know if it affected your case, but want to ask: Did it work for you after upgrading?
    1 point
  26. This fork of AdminBar (https://github.com/teppokoivula/AdminBar) can be very useful in this situation. Style it to match your site and it's a very quick way to give logged in users the ability to edit and add new child pages. It won't ever be as flexible as building your own frontend form and processing using the PW API, but it's very easy when you have complex forms to reproduce, especially if there is image upload and ASM type select fields to reproduce. This screenshot shows that you can add a "New +" child page when viewing the main portal parent. This screeencast shows editing an existing entry:
    1 point
  27. The CSV format is so simple you can easily create a template to generate the right output. As an example: <?php header('Content-Type: text/csv'); header('Content-Disposition: attachment; filename="export.csv"'); $items = $pages->find("template=basic_page"); echo "title,url" . PHP_EOL; foreach($items as $item) { echo "\"$item->title\",\"$item->url\"" . PHP_EOL; }
    1 point
  28. 1and1 check your htaccess I know this problem there # RewriteBase / # RewriteBase /pw/ # RewriteBase /~user/ change to RewriteBase / # RewriteBase /pw/ # RewriteBase /~user/
    1 point
×
×
  • Create New...