Jump to content

flydev

Members
  • Posts

    1,328
  • Joined

  • Last visited

  • Days Won

    47

Everything posted by flydev

  1. 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.
  2. 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]
  3. 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 ?
  4. @Macrura please do it ! We are lazy and curious at the same time It is something based on ? :
  5. You could also use TracyDebugger to debug $event and see what the object contain.
  6. 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 :
  7. Found it https://github.com/noelboss/LoginWithEmail And it work fine @noelboss
  8. 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 ?
  9. 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
  10. 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 ?
  11. 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.
  12. Ok @horst, I will try to have something that works, fast/soon.
  13. Some more precisions : We can be able to code an adapter for Twitter application-only, and this is the list of what we can do with : Pull user timelines; Access friends and followers of any account; Access lists resources; Search in Tweets; Retrieve any user information; So I must assume we can get at least the email and/or the firstname/lastname or a nickname. @horst let me know if you will think to code something about that or I will give a try.
  14. @everyone : More beta-tester needed ! If you have a bit time, a local or staging web server - feel free to test it on a prod server - and you want to try this module, please send me a private message ! This module can't harm your server It can be tested on the following ProcessWire version: 2.7.2 (no Composer here) 2.8.x 3.0.x @Ivan Gretsky wanna test it ?
  15. Hey Horst, I think that in the time the lib was made, Twitter was still using OAuth 1.0A - but looking at their doc (twitter) OAuth2 is now supported (?), their doc also stipulate they still use OAuth 1.0A... https://dev.twitter.com/oauth I will look at more closely.
  16. As I am writing the documentation, if you guys have already some questions before I release the module, I will be happy to hear and include them in the FAQ
  17. Now, the "package manager"; From this window, you can create or delete a package, and also download a packages from the "server backups folder" to your computer. But the best feature is that you can "sync" packages stored on a third-party provider. This mean that the module will check for existing packages on GoogleDrive, Dropbox or whatever (it depend on how you configured Duplicator) and list them so you can delete or download them to your computer, and deploy your nice website in a minute! In the following example, I have packages on my Local Server, on GoogleDrive and Dropbox :
  18. Today, there is a small a preview of a successful deployment (on localhost) using Duplicator : Create a package in the backend Download the package and the installer Upload it to the new hosting Navigate and run the installer
  19. Hello guys ! The Gitlab server is fixed and running, you can update the module to the latest version. All SDKs can be downloaded separately without using composer, the link of each SDK is provided in the module settings. You must uninstall the previous version before testing it. Thanks!
  20. I am checking for this, and it appear that all the SDKs are compiled despite using /*NoCompile*/ on the require_once. Also I note that this feature was introduced in PW 3.0.43, so I assume the file will be compiled for PW 2.7. Concretely, what is the bad thing about leaving all those SDKs file being "FileCompiled" ? if($this->useFTP) { require_once(__DIR__ . '/Classes/FTPClient.php'); } if($this->useAmazonS3) { require_once (/*NoCompile*/ __DIR__ . '/SDKs/aws/aws-autoloader.php'); require_once(__DIR__ . '/Classes/ClientAmazonS3.php'); } if($this->useDropbox) { require_once (/*NoCompile*/ __DIR__ . '/SDKs/dropbox/autoload.php'); require_once(__DIR__ . '/Classes/ClientDropbox.php'); } if($this->useGoogleDrive) { //require_once __DIR__ . '/SDKs/google/autoload.php'; // oh my.. require_once (/*NoCompile*/ __DIR__ . '/Classes/GoogleAutoload.pain.php'); googleAutoload(); require_once(__DIR__ . '/Classes/ClientGoogleDrive.php'); } Anyway, for the people who have the module in hand, I bumped the module to the version 0.0.36. The Gitlab server is not running up but will give a download link in PM as I would appreciate a test on a Windows machine..
  21. Under Edit field > Input > CKEditor Settings > CKEditor toolbar, you need to add the button: A11ychecker Save, then you should see the new button
  22. Checking expiration_date in the selector should do the trick. $todaysdate = date("F j, Y H:i"); $today = strtotime($todaysdate); $ads = $pages->find("parent.template=client, expiration_date<$today, sort=expiration_date"); echo count($ads);
×
×
  • Create New...