AndZyk
Members-
Posts
712 -
Joined
-
Days Won
10
Everything posted by AndZyk
-
[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.
-
I also wouldn't mind to see a hold on new features in trade for a new ProcessWire.com and finished AdminTheme. I think there are many people that judge by the first impression and are not willing to dig deeper if this impression isn't state of the art. Maybe we could develop a new style guide for the website and all the other websites evolving around ProcessWire. I am missing a consistency in the design there.
-
Those guidlines are for app developers. As a web developer I don't think this screen will be an issue. But I haven't seen yet a good screenshot of f.e. Safari on the new iPhone X.
-
Hello @SoccerGuy3, have you added a second language under "Setup => Languages" or have you just installed the language pack in the default language? You need to create a second language to use multilanguage. Regards, Andreas
-
I have tested it now with an clean installation and there it works like expected. That doesn't explain why it is not working for me, but at least it is not a bug. It seems to be something else interfering, I have to look a little bit. Edit: Okey I am absolutely clueless. I tried removing all modules and creating a new template and fieldset. I give up for now.
-
Sorry for bothering you again, but after I have grabbed the latest dev branch (with the five commits after the latest bump to version 3.0.74), I still have this behavior. It is not a real issue for me right now and if you want, I can create a new thread in the ProFields section. Just wanted to let you know. Keep up the great work.
-
Thank you for the fix. I tried to add the FieldsetGroup to my template inside the template configuration and saved, but it only adds the outer fields of the FieldsetGroup without the fields inside. Strange thing is, that when I deleted the FieldsetGroup from the template, the messages show that the missing fields inside the FieldsetGroup have been deleted as well. Here is a little screencast, to show what I mean:
-
Hello @suntrop, Yes, you can check or uncheck which templates should be cached. I don't quite understand, what you mean by that. But as long as it is a page, it can be cached. No, you don't need to change anything inside your templates. Pages with user input shouldn't be cached. Here is a quote by @ryan about this question: In my opinion ProCache is a awesome module and well worth the money. It helped me optimize many websites in just a few clicks. I can fully recommend it. Regards, Andreas
-
First of all thank you @ryan. This is why I love ProcessWire: The community requests a feature and instead of just realizing it, you come up with multiple solutions to this request. I have tried the new FieldsetGroup and it comes in really handy. I had only two issues: The bug @abdus mentioned earlier in line 475. I have commented it out in the module for now, to get the module working, but hopefully it wasn't anything necessary and will be fixed. Is it correct, that the fields inside the FieldsetGroup only get added to the template, if you use the actions tab inside the field configuration? I tried adding it in the template configuration, but it only added the fieldset, not the fields inside the fieldset. Maybe it is a bug, but I would have expected it to add all the fields. Regards, Andreas
-
Hello @fisnik, have a look at the $session variable: https://processwire.com/api/variables/session/ https://processwire.com/api/ref/session/ It works similar to a cookie, but lasts only as long as the browser is opened, as far as I know. If you want to save the cookie for a longer duration, I can recommend using JavaScript Cookie. Regards, Andreas
- 1 reply
-
- 1
-
-
Hello @hellomoto, the module info you provided doesn't produce this error on my installation. I have created a new module file and get only the warning about the missing dependency CatCoCustoms. What is CatCoCustoms? I couldn't find a module with this class name. Or is it a library? Also you should add the ProcessWire namespace on top of your file as a best practice. Regards, Andreas
-
How to restrict using veeeery long words on comments section
AndZyk replied to vadimmil's topic in General Support
Also the CSS property hyphens can come in handy, although it is not yet supported without prefixes. -
Adding to this, have a look at https://developers.google.com/search/docs/data-types/music.
-
Hello @SamC, I have never used this option, but you don't have to and shouldn't edit the contents.css inside the wire folder. Instead you can define your own stylesheet in the field settings: This file can then be inside site/modules/InputfieldCKEditor/contents.css. Regards, Andreas
-
Glad to hear it works now. If your site doesn't frequently change, there is an cache option available in the Typeahead plugin: But use whatever works best for you.
-
Just a quick heads up: Bower is sadly becoming obsolete. The developers of bower recommend: I have settled with Yarn for now, a better package manager for node modules by Facebook, Exponent, Google and Tilde.
-
Hello @louisstephens, you could use a GET parameter inside your redirect. For example: <?php $session->redirect($dash . "?alert=success"); // On your dashboard template file if ($input->get->alert === "success") { // Show your notification } If you plan to build a login be sure to use CSRF and maybe honeypot validation: Regards, Andreas
- 4 replies
-
- 3
-
-
- notification
- login
-
(and 1 more)
Tagged with:
-
Thank you for mentioning. I have mentioned earlier in this thread, that Guetzli is in the newest alpha of ImageOptim included, but forgot to spread the news that it is now in the stable version as well. I am using Guetzli with ImageOptim for a while now and yes it is really slow and if you dare to optimize a lot of high quality images, be ready to get your fan heated up. But on the other hand I usually have a optimization rate of about 60%. Compared to the about 20% when Guetzli is disabled, I think it is absolutely worth it.
-
I have tested your JS it is working fine for me. The fact that your input makes an Ajax request (even if it is empty) is also a good sign. With the debug option set to true I also don't get any informations inside the console, probably because it is working. You could try to make an regular Ajax request and echo a static response first to test. Also you could try to exactly copy & paste my example from the tutorial mentioned above. Lastly I hope you didn't have exactly copied & pasted my Ajax example, because the selector in there is just an example and doesn't really work. If you don't get any further, you can PM me more of your code or an link, in case your site is online.