AndZyk
Members-
Posts
678 -
Joined
-
Days Won
10
Everything posted by AndZyk
-
In our use case we needed to import thousands of CSV entries automatically per cronjob. So we ended up with a little shell script using the CSV package by the League of Extraordinary Packages and custom logic to import the CSV entries as pages. This wasn't that difficult thanks to the Composer integration of ProcessWire. Regards, Andreas
-
That one bothers me also always and would be such a easy thing to solve. Disabling source maps in the developer tools is also no option for me, because I use source maps in my projects.
-
Hello, this module is great and I was wondering: Is it possible to use this module inside a template via API functions? Is it possible to set a cron job to automate the import? Or would you recommend for this job to install an package via composer and to write your own logic? I am looking forward for your suggestions. Regards, Andreas
-
Flickity is my favorite slider at the moment, but if you use a framework like UIkit, there usually is slideshow component.
-
You are a mind reader. Now the error is gone, thank you.
-
Maybe it has been asked before, but when I have TracyDebugger disabled I get this error in the console of my developer tools: Could this be avoided by a try-catch block? It is not too important, but it would be great to not have this error. And I cannot mention enough how great your module is. It helped me a lot of times.
-
As mentioned in the documentation of Slick, you need to add your scripts (jQuery and Slick) at the end of your closing body tag: Right now you add your scripts before. Usually it shouldn't matter, but it seems to be in this case.
- 5 replies
-
- 1
-
- javascript
- jquery
-
(and 2 more)
Tagged with:
-
Don't convert thousand separator (point => comma)
AndZyk replied to suntrop's topic in Multi-Language Support
Hello @suntrop, have you considered using the fieldtype Map Marker for storing your coordinates? Maybe you already have your reasons why you choose the ProField Textareas. I am just curious. This fieldtype would be a better fit for your need. Also in case you have an active license, you could ask in the dedicated ProFields Textareas thread this question. As far as I know, language packs don't change any output on the front-end. Regards, Andreas -
Hello @ROLAND_JUNO As mentioned, just put your Google Analytics Tracking-Code before the closing </head> inside your template files. Depending on your template strategy it could be either in an include or a _main.php, so you don't have to put it in every template file. Regards, Andreas
-
Just my opinion, but I don't quite understand whats the benefit to get rid of one dependency to immediately replace it with another dependency. I have no experience with VueJS or Angular yet, but as far as I can see, you would be completely dependent on one of those frameworks. In this case I'm maybe a little bit old school, but I like jQuery and also don't understand, why everybody wants to get rid of it as fast as possible. Also the comparison of ProcessWires API with jQuery was on of the first things, that got me interested. Luckily it is not our decision to decide.
- 32 replies
-
- 10
-
Hello @mike62, I haven't used Slick yet, but on the website it says: You are using jQuery 1.2.6. So maybe you should try an newer version of jQuery, because 1.2.6 is really old. Regards, Andreas
- 5 replies
-
- 2
-
- javascript
- jquery
-
(and 2 more)
Tagged with:
-
Of course you are right. I should have looked closer at your code.
-
Thanks @abdus and @adrian, I was able to grab the clear password with the Password:setPass hook and saved it into a session variable to pass it between my module functions. Of course I clear the session variable afterwards.
-
Hello, can somebody tell me, if it is possible to get the clear password of an InputfieldPassword inside a module, before it is encrypted? I have made a custom module which sets the password of an Auth0User after the hook publishReady with a random generated password. When I try to get a clear password from a InputfieldPassword in this hook, it is of course already encrypted (which is of course good). But is there a hook before the encryption, so I could get it one time to send it to Auth0? If there is not such thing, could be another possibility to add a jQuery script to get the value directly from the DOM and save it somewhere temporarily? I know this might be an unusual question, but I would appreciate any feedback. Regards, Andreas
-
That is the expected behavior of the session API variable. It would be best not to use the user variable, because it is a reserved variable. Better would be to just name it something like for example $name. If you get the post value of the input field by the same name after submitting the form, the value should only be outputted for only one page load.
- 76 replies
-
- 1
-
Sorry if I may disappoint you, but by syncing with Sequel Pro I just meant: Export the local database and import it on the remote server. Nothing intelligent and of course it doesn't work on live sites where users made changes in the meantime. In that case I think the core import/export module would be the best option, but I haven't used it really yet.
-
I also would recommend to develop locally. I would go crazy if I had to wait a few seconds after every change. My deploying workflow is currently: Track all files inside site/templates with Git and push/pull them on the remote server via SSH. Sync all files inside site/modules and site/assets/files via Sublime SFTP or Transmit. Sync the database with Sequel Pro. But maybe some time I will try something fancy like a automated shell script.
-
@Peter Knight Personally I prefer CodeKit, but I would recommend you to use npm to compile the files of UIkit used inside the AdminThemeUIkit as described in the README. This is the recommended way to compile UIkit. As @fbg13 mentioned I also added my stylings in the pw.less. It is really easy to override the variables of UIkit to make it look unique.
-
[solved] Uikit 3 Grid Not Working as expected (or is it)
AndZyk replied to louisstephens's topic in Dev Talk
Hello @louisstephens, first of all great that you are giving UIkit a chance. I am coming from Bootstrap as well but UIkit is now my favorite framework so far. Here are a few points you mixed up: If you only have one item in a container you don't need a grid and instead can just use the uk-width-* classes. The class uk-grid-match is used for cards and makes your image stretched. Also it is not necessary if you only have one item. You should remove it. If you have a grid you should either define uk-child-width-* classes or assign uk-width-* classes to the items. Doing both is not very clean. If you care about validation, you should use data-uk-grid instead of uk-grid. Without the data attribute you get an error in the validation. Considering your logo: Even resized it will be very small on mobile devices. You should either think about a more compact logo or work with the picture element to show optimized versions. Regards, Andreas- 4 replies
-
- 3
-
- frameworks
- css
-
(and 1 more)
Tagged with:
-
Ok, I understand now what you mean.
-
It is completly optional. Only if you want to take advantage of the full screen including the corners, you can use the tweaks mentioned in the post.
-
Here is an official post about designing websites for iPhone X. It should be mentioned, that this is optional.
-
I never tried GitLab and am not a heavy Git user, collaborative wise. But just wanted to mention, that if you need a private repository for free, there is also Bitbucket. I am using it for my private project and can't complain.
-
Hello @bernhard, it seems like there is a global limit for attachments of 50 MB per user. You can see your space under Profile => My Attachments. For example I have currently 40 MB left. Maybe the limit could be set higher by @Pete or maybe it is the default of IP.board. I am not sure. Regards, Andreas
-
I am not sure if this is the right thread anymore to discuss the redesign of ProcessWire.com, but as an example how a style guide could look like, I have made a little prototype in Sketch (my favorite prototyping app) which you can find here: I think it would be great, if the community could help @ryan to build the new ProcessWire.com. In my opinion this would boost the popularity of ProcessWire a lot.