Jump to content

flydev

Members
  • Posts

    1,366
  • Joined

  • Last visited

  • Days Won

    49

Everything posted by flydev

  1. flydev

    TDD in PW

    I don't fully understand the question, so a simple answer, yes with PHPUnit. And people was already doing it 6 years ago : https://github.com/niklaka/ProcessWireTests
  2. true, I should must have specified that ? I just wanted to be sure he do not mix the 'assets' of the video and the the created one by PW by placing the 'assets' in the 'assets' folder hihi
  3. Hi @anderson I also started ProcessWire with this video. A must to do for a beginner. About the asset folder containing images, css and js, this folder come from the free theme that you have to downloaded there : https://templatemag.com/demo/Spot/ (this is the theme the author is using to build the final website). Once extracted, you can find the assets folder and it should be placed in the folder site/templates of your ProcessWire installation - along your templates - then you can continue to follow the tutorial. Do not mix this assets folder (which could be renamed of whatever you want, eg: mythemeassets) and the assets folder in site/assets which is a core "required" folder created by ProcessWire. Good luck, you are on the good road ! ? On the same road you can pick that :
  4. Great as always! I don't know how we could also maintain the _*.php files. I say that because for instance, I modified a little part of the markup to implement headroom.js. Also Ryan say that it's needed to modify the data attribute on the masthead (navbar) when we want a smaller navbar (height value). eg: https://github.com/ryancramerdesign/AdminThemeUikit/blob/master/uikit/custom/pw/pw-theme-reno.less#L124 A preview of the theme :
  5. We will know that on your next upload. On the next upload, try to remember the mode (FTP or SFTP (over ssh) ?) and compare permissions on localhost and on the hosting server to see if they are the same, if not, then I put a bet on suPHP or SSHd umask configuration.
  6. A screencast for the bug concerning the "Search" on the navbar already reported by @adrian Also, see the `overflow`.
  7. Finally tried Forklift and I like it, just brought a license - thanks for the suggestion @adrian I kept a copy of the russian software just in case ?
  8. Ok, to give you the idea, I suspect that you have an issue with suPHP in your setup overriding permission or with FastCGI (through the use of suEXEC). You should take a brief look at this direction and report things here. For example, if you confirm that suPHP is present, them check the value of umask in /etc/suphp.conf ps: check your PM
  9. Ok that's an idea, I will take a look. About the PR, I didn't had the time the other day, will try to re sent it today. Thanks again for this great module.
  10. Strange, it look like a sftp/ftp issue, how do you upload your files ? via FTP ? If yes yes, which server type ? Forgive, I misread the post.. What's the server type ? Dedicated ? shared host ? ProcessWire and PHP version ?
  11. To implement that is quite simple, check this small starting point, it should give you the idea :
  12. maybe still a little early to think properly but in this case, instead writing the logic on the __install() method itself, you could present a ProcessModule where in the first instance, the user choose what's needed then he click on the button "Proceed to install". Or another way could be to present a standard template/page with a Hook which install the module on Page::save. I think you get what I mean.
  13. Nope jQuery (the third party JavaScript library) isn't added by the module. Try to add this piece of code just after the footer then refresh your page : <script src="https://code.jquery.com/jquery-3.3.1.js" crossorigin="anonymous"></script>
  14. Ok, I tried before speaking, but dude, installed and removed twenty seconds later. So old, no tags, no sync, bad fonts, no preview, no panel, no mojave support... twenty seconds I can't saw more and didn't want. `ls -a` in a terminal is more useful And yes as Adrian pointed out : Thanks for the suggestion anyway, it look like it do the job, but I am looking for a productive tool. Not a terminal shortcut. @Jonathan Lahijani thanks you, it was not the goal, but you made me brought a license for my Windows laptop ?
  15. On a fresh PW 3.0.123 setup with a new Tracy v4.16.12 install, it look like `ApiExplorerIncludeInheritedMethods` is not defined in the array of the getDefaultData() method and this notice popup :
  16. Hi again, look like you forgot to include jQuery ?
  17. Hi mac users ? As the title say, which window manager are you using as an alternative to Finder ? I was used to do everything with Path Finder since version 6, but the version 8 is too bugged to feel good giving a buck on their app again ? I tried today Commander One, but it lack too much productive functionalities, stuck to two panels, no sync.. Thanks.
  18. I tested this module sometime ago before the release of DataSet and I had to fix the hardcoded admin url. I will sent you the new pull-request this afternoon concerning the following fix/change, feel free to merge it or not. install / uninstall written: fields and template created on installation / removed on uninstall fix: corrected admin page link in module and js file process module link moved under setup (can be moved later by the user without messing the admin url) about, tips markup improvements @mtwebit do you have an idea from where I could start to begin to port this module under Windows as the PCNTL extension isn't supported by this last OS ? I have already in mind implementing pthread to consume a Messaging Queueing System or something like that. And for people who wonder how it works with DataSet, there are a small screencast (shortened) importing a CSV DataSet :
  19. Nice work ! What a refresh ! ? As two-cents frontend dev, I think that the Download and Demo buttons on the start page could deserve a "better" ghost-button. Additionally, on the "Demo" button, I would see a 'bolt' icon more than a 'map-marker' (the 'rocket' icon should be perfect but not integrated in the UIKit framework I think). This ! Those last years, despite every module being a gift for the community, Tracy has become THE tool to build those gifts. It is also THE tool for peoples who like to offer support for free to the community. And without speaking about support or modules dev. but globally, the experienced or newbies developers, once they get their hand on Tracy, they speed up their development workflow. Just to say that @adrian made a crazy job with Tracy and it give to ProcessWire more strength (than it already have), so yes, definitively yes ☝️
  20. Hi, yes and it's very easy to implement (less than a minute really without styling) : https://modules.processwire.com/modules/ajax-search/ Others results : https://www.google.com/search?q=site:processwire.com/talk/ ajax search
  21. You can mod everything from your taste using LESS or SASS. You can also make a complete new theme (I am for example building one based on the Bulma Framework). Another screen of an actual AdminTheme based on UiKit and Boss : Check this theme/thread and readme : https://github.com/ryancramerdesign/AdminThemeUikit edit: beaten by @bernhard ? ping @Pixrael ?
  22. Maybe not in the right way and it might be related to this issue (fixed) about API method next() and prev(). https://github.com/processwire/processwire-issues/issues/716 https://github.com/processwire/processwire/commit/8e22bee1b561045fde4d2f7a11479ac5f24c18e2 I think that in order to get the things working back, you must install TracyDebugger, set `$config->debug` to true, load the culprit page and past here the full Exception Stack Trace. Edit: Look like your errors are here : The two method expect a SELECTOR string, not a PAGE Object. https://processwire.com/api/ref/page/next
  23. Look like you are using the Bootstrap framework v4. Use card and card-group : https://getbootstrap.com/docs/4.0/components/card/#card-groups Play with Flex alignement variations : https://getbootstrap.com/docs/4.0/utilities/flex/#align-content
  24. @microcipcip I am porting this profile to work with GraphQL. I mixed vue, vuex, apollo-boost and graphql and actually, everything is fine. I can query the endpoint, update components, etc. Working now on implementing JWT authentication. As I am quite new in the Vue ecosystem, I was wondering why you suggested vue-supply ?
×
×
  • Create New...