Jump to content

flydev

Members
  • Posts

    1,366
  • Joined

  • Last visited

  • Days Won

    49

Everything posted by flydev

  1. A small addition to what @louisstephens suggested. You could also watch thoses videos to see how easily/quickly you can get a HTML theme working on ProcessWire.
  2. Once again, you can do that by hooking processProfileForm(). Lets say you added a field 'images' to the system user template and you added the 'images' field to the module configuration, e.g. : then in ready.php : wire()->addHookAfter('LoginRegister::processProfileForm', function($e) { $form = $e->arguments[0]; // get the form foreach ($form->children as $field) { if($field instanceof InputfieldImage) { foreach ($field->getAttribute('value') as $value) { wire('user')->images->add($value); } wire('user')->save(); } } }); To show the image on the frontend, you can hook renderProfileForm().
  3. Hi and welcome to the forum. The H2 come from the code of the module on line 518 (link). As it look like there is no option to define your own markup (maybe yes, I am taking my first coffee..), you must change it by translating the file. To do so, first install the core's module LanguageSupport, then translate the module's file : Once saved, you should be able to see the change on your page. Did you mean you already added an image field to the system template user ? if yes, then you need to add the permission profil-edit to the user so he can modify his profile. If its not the case, let us know. If you encounter difficulties, just ask on the forum. Enjoy
  4. use $value... not $options, check my edited post.
  5. In your code $html = $pages->get(6090)->renderField('html_body', array('message' => $reasons, 'stripe_id' => $stripeId)); your option value is the second argument, shouldn't be the third ? $html = $pages->get(6090)->renderField('html_body', 'test', array('message' => $reasons, 'stripe_id' => $stripeId)); // given there is a 'test' markup file and you grab values with : $value['message'] ... not $options. <?php echo $value['message']; ?> <?php echo $value['stripe_id'] ?>
  6. Its because you are storing/sending a Google Account password on your own instead of using a "secure" flow like OAuth2 apps. E.g. using less secure apps is not possible with a 2FA account. https://support.google.com/accounts/answer/6010255?hl=en
  7. Hi pwired, this is exactly what Duplicator do, no more or less about deploying the site. It just help to avoid those repetitive tasks.
  8. I'll give you the url tonight
  9. Yes it make sense, and if I remember correctly we already discussed through PM about this feature. Its not implemented but on the todo list now.
  10. Hey Zeka, the module will be free for the community.
  11. Right, the module doesn't sync changes. It deploy only a full copy of the current website. If I remember correctly, @LostKobrakai made a module which "do some part of that". Let me check the forum and edit this post. @Bergy there is the module (not a simple one!) :
  12. I feel sorry again to make you guys waiting again, I got some works to finish asap, but theses tasks made me test Duplicator extensively and I think its ready for the release. It will not work for each hosting providers, but its a start. Finally, it will come with a new feature: AutoDeploy. With this feature, you will configure the FTP account and database informations, and the module will deploy automatically the web-site without having to run the installer manually.
  13. I also use PHPStorm as main editor for developing locally, but didn't use any of its syncing feature. About the process, I have a staging web-server with a local copy of the client's site where they can see the change on a daily basis. Once the site is edited (I take example on a site without SSH access), I backup the website and send it to the 'live' server trough Duplicator which save a lot of time when deploying the web-site multiple time after change has ben made; It take lower than a minute, depending on your bandwidth. So the workflow is the following: Develop locally FTP the 'local' site to the 'staging' web-server with Duplicator. If the client need some changes, repeat step 1/2. The client is happy ?, FTP the site to the live server with Duplicator. The client have a request ? Backup and retrieve the live website locally, and repeat step from 1 to 4. I must say that using Duplicator save A LOT of time! And even if I have SSH access, I use Duplicator. To keep different version of a website, I use a Gitlab self-hosted server to keep track of the packages made with Duplicator. @Bergy check this screencast on how easy is to deploy your modified website with Duplicator.
  14. What @horst said. Also I got the same issue two days ago while I was trying to insert Facebook video in CKEditor. I needed to add this line to the Extra Allowed Content field to support iframe with HTML Purifier On: iframe[src,title,width,height,allowfullscreen,frameborder]
  15. Which can be used in conjunction with this module too from @mr-fan - https://github.com/mr-fan/AutoImagePages - for creating albums. - @kongondo Do the project lead to a Pro module or a free one ?
  16. @Macrura please do it ! We are lazy and curious at the same time It is something based on ? :
  17. You could also use TracyDebugger to debug $event and see what the object contain.
  18. Hey @blynx, It is voluntary to make this module only compatible with PHP 7 ? I wanted to give a try to your module for a website I am building right now - using PHP 5.6 - but calling the module with : $pwpswp = $modules->get('MarkupProcesswirePhotoswipe'); $gallery = $pwpswp->renderGallery($page->gallery, ['theme' => 'masonry']); give me the following error (due to scalar type arguments) : Anyway, already loving it, thanks for making this module. I am using it with InstagramFeed, IsotopeJS and InfiniteScroll in a custom theme - Masonry - based on the Plain one :
  19. Found it https://github.com/noelboss/LoginWithEmail And it work fine @noelboss
  20. HI @Roberts R , Why you didn't upgrade your installation with the latest stable version of ProcessWire ? Could you give us more information about your server configuration ? PHP version, GD lib, etc ?
  21. I just tested them, those listed under the "DONT WORK" are not working on ProcessWire 3.0.73. Now why... no idea. Edit: same behavior on ProcessWire 2.8.62
  22. Hi @Mustafa Online , check this thread:
  23. I quite played with their API (i am talking about Twitter here), its absolutely not possible to retrieve private information with the OAuth2 protocol (still waiting a confirmation on the twittercommunity) but no big hope here. We are forced to use the OAuth 1.a protocol for those sensible datas. So, there I come with two propositions. I can make an exception and integrate Twitter and OAuth-1.a in this module or I publish a standalone module for Twitter login. What do you think, a suggestion ?
  24. On windows I am personally used to install : TortoiseGIT https://tortoisegit.org/ (I recommend you to install it via a setup, not the portable one) During the install it will configure your PATH and stuff. To finish, adjust the path in PHPStorm and voila.
×
×
  • Create New...