-
Posts
1,473 -
Joined
-
Last visited
-
Days Won
16
Everything posted by Ivan Gretsky
-
PW 3.0.63: Client-side image resize support
Ivan Gretsky replied to ryan's topic in News & Announcements
@ryan, I want to let you know I really admire the way you get things done! Every time you solve a problem it is an example of a perfect engineer solution. Spot a chance to create a feature everybody wants but few have, examine existing solutions present, learn from them, build on them, make them work better than before, deliver a working feature within a reasonable time frame, provide comprehensive docs right there in the code for tech people, write a press release for the end users, move on to another task. Way back I once started a topic called "What is "Reiska". I think now I can feel what @apeisa and others at Avoine meant by this title. There is such a word in every language, and all of them fit you and your type of people (of which there is quite a few here in forums, luckily). I sometimes find myself questioning some of your marketing and organizational decisions, but I always applaud to and try to learn those problem solving skills and mindset from you. ProcessWire is unique thing, that inspired my way from "anykey clicking" web development to managing to read and write some relatively complicated code. I try hard to provide my clients with the best engineer solutions they can get based on ProcessWire. Because I can, and because it so exiting to do with PW, and because this is the way real stuff should be done. Thanks for the inspiration.- 17 replies
-
- 14
-
The way I would deal with the question is looking at InputfieldImage's code. It has an option to resize image if it is larger than defined maximum width and hight. I think it is around here. The logic seems to be: loading the original sized image first, making a resized copy, then deleting original image and saving resized image with original image filename.
-
Is there a way to get a DB backup from within PW?
Ivan Gretsky replied to MarcC's topic in General Support
Advancement comes over time. See here for some contemporary options. -
Years later we have more options) There is a special module by @ryan for that now. You can also do a backup from cli with wireshell. There is a nice module by @flydev still in the way, but looking promising. Look here for some discussion and 3rd party tools.
-
Good day, @owzim! I have a (maybe rare) need to pass the FieldtypeYAML textarea contents through a textformatter before objectifying it. It seems to be not possible in the field settings (or I am missing something). Can I hook somewhere to do it?
-
☁️ Duplicator: Backup and move sites
Ivan Gretsky replied to flydev's topic in Module/Plugin Development
Nothing to be sorry about @flydev. Thanks for your work. Really hope it will work out in your personal matters. -
☁️ Duplicator: Backup and move sites
Ivan Gretsky replied to flydev's topic in Module/Plugin Development
Dear @flydev! Just wanted to let you know that this module is eagerly awaited. Just in case you had a doubt)) Any news? -
Good day! Thank you @flydev for the very useful module and @ukyo for making it possible to have multiple instances of reCAPCHA on the same page. I am having just that: two forms on the same page both with reCAPCHA via the module. Both work using jQuery ajax. After an unsuccessful call I get response with error messages. Right here I need to reset reCAPCHA like described here in the JavaScript API section. But as I have two instances of reCAPCHA on the page I need to explicitly specify the opt_widget_id option. Is there a way to I get it with the module?
-
Yep, non-zero default could be better to figure things out))
-
There is no one-click way to log in again, is it?
-
Good! That did work. Are there any string reasons why not allow it for DETECT mode? Does it allow to switch to default guest user somehow?
-
Good day @adrian! I try to turn on User Switcher panel, but somehow it does not work for me. Could you please explain a bit how to get it to work, under what conditions it appears... how the icon on the panel should look like)))
-
One way would be to use url segments. Look here for an example.
-
Great thing @Robin S! Something to make content creation even easier. I see there is an option to exclude some Hanna codes from the list. What do you think about a whitelist option (preferably overridden on a template basis)?
-
PW 3.0.56: core updates + Uikit admin theme updates
Ivan Gretsky replied to ryan's topic in News & Announcements
Just an idea (somehow related to this topic): maybe it could be useful to be able to change the processes that are running in those sidebars? So it will be possible to load the tree in the left sidebar or the right sidebar or in both or in neither? Or load something completely different there (a menu, new page bookmarks, so on). What do you think? I mean controlling the process modules loaded in the panels. -
PW 3.0.56: core updates + Uikit admin theme updates
Ivan Gretsky replied to ryan's topic in News & Announcements
Hey, @Tom.! It might sound weird, but the use of the word bad in this context actually means good. Like in Michael Jackson's "Bad". Sometimes the meaning is lost in tanslation) Forgive me for confusing you. -
PW 3.0.56: core updates + Uikit admin theme updates
Ivan Gretsky replied to ryan's topic in News & Announcements
Looks bad! Even with no styling, it is now much more functional! -
Good day! Not so long ago panels were introduced providing slick functionality, which I like very much. The contents of these panels are loaded in iframe on almost every page (including in frontend editing popups) and execute the hooks as expected, but as not desired this time) Is there an easy way to turn the quick-tree (or even better all the panels) off? For a specific user or for everybody. Via admin or via hook. Please help!
-
PW 3.0.15: New quick-tree, debug, view panels and more
Ivan Gretsky replied to ryan's topic in News & Announcements
I had a question about turning the panels off. It seems it does not belong to News & Announcements, so moved it to a separate topic. -
Hey, @microcipcip! I actually do not know if it is possible to do with the profile exporter via setting . Though I am sure it should be. Removing node_modules should be easy - you can do it before the export (or temporary prefix the folder with a dot ). Adding .config type files is probably only possible the way you suggest. But as I said I think all those things should be eventually possible to do with the module options, as it is very powerful way to share one's work in PW. Please list the issues you cannot overcome in the module support board or even better on github. Edit: Seems like a .file issue is already present. I am going to add my voice to it. Please do too if you think it deserves it.
- 36 replies
-
- 2
-
- vue-router
- vuex
-
(and 2 more)
Tagged with:
-
Cool stuff, @microcipcip! Please do write a tutorial when you have time. I am sure it will be useful to many of us in the community. Surely it will be for me . It seems like your boilerplate is not in a site profile format. Is there a reason for that? If not, consider using it, as it is a common way to distribute site boilerplate code and could make your work easier to reuse for PW people.
- 36 replies
-
- 3
-
- vue-router
- vuex
-
(and 2 more)
Tagged with:
-
Hey man! We all here will do our best to help you, but you should provide at least some details) Like what profile did you install and started from. It just might be that you do use the default profile, and the the name of the variable for main content should be $content and not $bodycopy. But that is a just a wild guess. Be more specific, provide some details and get the best answers on the web from the most awesome community on the planet. Have fun with ProcessWire!
-
Welcome to the forums, @michaelriordan! It is all there in the error message. Something gets added to the file you are writing you markup in (<!DOCTYPE html> in particular) . It seems like you have started with a profile that uses delayed output. And the contents of _main.php are appended after your code. You can check site/config.php if it contains something like $config->appendTemplateFile = '_main.php'; to make sure. Start with a blank or beginner profile instead. If that did not help please provide more details.
-
Something is starting a lot of entry processes
Ivan Gretsky replied to asbjorn's topic in Getting Started
I advise you post this in ProCache support forum. Ryan's support is something what is even more valuable than the module itself. I am sure you will find the answer there.- 1 reply
-
- 1
-
I less than question php... as long as ProcessWire is written in it .