-
Posts
1,550 -
Joined
-
Last visited
-
Days Won
16
Everything posted by Ivan Gretsky
-
PW 3.0.12: Support for extended (UTF8) page names/URLs
Ivan Gretsky replied to ryan's topic in News & Announcements
You guys have to do it through Google translate. I'll give you something straight from the target audience of this update. ПроцессВаир теперь поддерживает кириллические урлы! С сегодняшнего дня сайты в зоне .рф можно полноценно создавать на этой замечательной системе. Благодарим Райана за заботу. Ура, товарищи! -
This is all too far from the original post, which is about marketing) But PW API is so great you just can't stop talking about it everywhere. When I am reading something in paper format, the "everything is a page" concept keeps distracting me from the contents .
-
Since my last post we got 8 more likes! Should I keep posting here till we outrun Wordpress ? Come on! Gimme a hundred!
-
Thank you justb3a for a wonderfull module of yours! It is indeed a nice tool to use instead of a Repeater or PageTable when they are an overkill. I got similar issue as this. I understand your answer below, but I wish I could not use multilangual fields, even if I have Language Support and 2 languages installed. Is it possible? My sites are often unilingual, but I do create additional language for admin to be able to work in default English admin interface, as all support you can get is in English (or should I say American to honor the creator of PW). I found no other way to do this (is there any?)
-
Yahoo! Seems like our little campaign was successfull! Not without some changes in the alternativeto.net's inner workings (I do not know where that cyn.in went and how Joomla lost 2 voices), but anyway! Something to count as success at the end of the year. Edit: Interesting, have we got any trafic increase from there?
- 25 replies
-
- 11
-
-
PW 3.0.9: New long-click and save actions
Ivan Gretsky replied to ryan's topic in News & Announcements
JqueryUI has it too: https://jqueryui.com/button/#splitbutton -
wireshell - an extendable ProcessWire command line interface
Ivan Gretsky replied to marcus's topic in API & Templates
One more simple question. Sorry if it has been answered before. I am using MySQL with root user and no password. Is there a way to not use a password during installation via wireshell? -
wireshell - an extendable ProcessWire command line interface
Ivan Gretsky replied to marcus's topic in API & Templates
Thank you very much, Bea! The develop version of the script does show the more verbose message [RuntimeException] Error loading sha `master`, curl request failed (status code: 0, url: https://raw.githubusercontent.com/ryancramerdesign/ProcessWire/master/wire/core/ProcessWire.php). cURL error: SSL certificate problem: unable to get local issuer certificate ...and your solution does fix the problem like a charm) Not sure what it all means though . Need to research all that SSL thing. -
wireshell - an extendable ProcessWire command line interface
Ivan Gretsky replied to marcus's topic in API & Templates
1) Thanks for trying to solve my problem! As I wrote, I got php_curl enabled. It is listed in phpinfo() output. I am able to execute another commands like wireshell status or wireshell t:l on my local PW 2.x installations. 2) I get error Error: Call to undefined function Wireshell\Helpers\wire() (line 69 of C:\Composer\vendor\wireshell\wireshell\src\Helpers\PwConnector.php) trying to run those command on PW 3.0.8. I do not know, if it is known, so decided to mention it. -
wireshell - an extendable ProcessWire command line interface
Ivan Gretsky replied to marcus's topic in API & Templates
I am on windows so no CLI cURL available. Could this be the problem? I have it through php extension though. Should I install cURL to check the connection? Edit: I used git bash, which has in-built cURL and ran curl -I https://raw.githubusercontent.com/ryancramerdesign/ProcessWire/master/wire/core/ProcessWire.php as you suggested. I got 200 OK status. Running wireshell new there still returns the same error. -
wireshell - an extendable ProcessWire command line interface
Ivan Gretsky replied to marcus's topic in API & Templates
I managed to install wireshell via composer, but am stuck trying to run "new" command. I am getting this: What can it be? Edit: Could not find any documentation or examples of "new" command other than inline help. Is there any? -
Use symlinks in Processwire installation
Ivan Gretsky replied to rkraemer's topic in General Support
@justb3a: It is very interesting! Could you please write a bit about the way you use symlinks in your installation and how it is integrated in your dev/deploy processes? -
That is something nearly every developer can make use of. Thanks adrian and tpr! Could you please suggest a proper way to debug process modules stuff with it? On the tracy page I have read about outputting stuff to fiebug...
-
I know about that. But I could not get it to work properly) And when I thought I am doing everything right, it just hang. I think Atom still sucks for loading big files, which tags file is sertainly an example of.
-
@Pretobrazza: Hey! Joomla and Seblod - the same route that led me here) Actually I do not think that proper choice of an IDE matters that much for PW development. The main switch has to be made in the head. You should start reading code to cook PW right. But a proper IDE can help you to read the code faster) That is why I was asking about fast navigation to class and method definition and about the method list in the sidebar. All IDEs like NetBeans and PHPStorm scan you project and are able to help you go to significant points in code in just a couple of clicks. For example you can ctrl+click on a method call in NetBeans and you will be "teleported" to its definition. As PW is written in object oriented style with inheritance and stuff, it helps a lot. Simple text editors are not so smart, at least out of the box. I like to deal with frontend code and backend code in the same editor. IDEs are usually slower and do not have all the cool features as new breed text editors, like ST, Atom or Brackets for html/css/js/git/gulp/grunt... That is the essense of this discussion, as I understand it. How to get all the cool stuff in one product, and preferably for free. I am using NetBeans (as it is free in comparaison to PHPStorm, which is more popular) and Notepad++. I am looking into Atom as it can happen to be "something in between". ...And just yesterday I learned about this thing from kongondo. It can actually help you write code in simple text editor, as you can search for stuff there.
-
What I need to switch to Atom for PW development is: Goto class/method definition: Function list in the sidebar. Did you manage to find plugins for those?
-
I guess you are trying to build something like this. It is an example blog profile for PW built by ryan. Here is the source code for that page - a place to copy-and-paste from or get inspired with. If it does not help, feel free to write back. By the way, you don't need those extra fields just for sorting purpose as you will see in the code provided. One date field holds all the data needed to make that tree.
-
Welcome to the forums, 3Dots! It seems like you got everything right. In PW you almost always deal with the API which creates pages, not with the database directly. This is the best post ever about the form api: https://processwire.com/talk/topic/2089-create-simple-forms-using-api/... ...Ahh, no need to write any further - horst got it all! Edit: But I'll add a link worth exploring: http://store.di.net/collections/software/products/processwire-form-builder. It is an easy form creation module from ryan himself. With it you can create pages from form submissions in no time.
-
Creating custom template user using API
Ivan Gretsky replied to Ivan Gretsky's topic in API & Templates
Yep, that's clear to me now. Thanks to PW I know some OOP. But I was confused by User constructor accepting template as parameter, but not accepting parent. -
Creating custom template user using API
Ivan Gretsky replied to Ivan Gretsky's topic in API & Templates
...ok just do it as with a regular Page $u = new User(); $u->template = "custom-user-template"; $u->parent = "custom-user-parent"; $u->save(); Sometimes you need to spoil your forum karma to get your head working as it should) -
I am using this wonderfull feature to create users with different templates and under different parents. Now I need to do it via API. Looking at the source code it seems like I can easilly create a user with alternative template. But is there a way to specify parent page? Certainly I can get still just create the users as pages like here, but that does not read as well and does not allow me to use addRole().
-
? @lynnfredricks's thoughts on ProcessWire on @ProductHunt https://t.co/H8p7swY3Fr It is like Seblod but way easier) https://t.co/WsMk8UzIz2
-
There is a lot of places this have been discussed in the forums. If you want to know what others are using you can check something like: https://processwire.com/talk/topic/1576-css-template-framework/ https://processwire.com/talk/topic/5948-dead-simple-grid/ ...or about anything here. On that materialize thing... Can't tell for sure, but it looks quite similar to bootstrap and is probably some kind of derivative. If use Sass anyway, I prefer Susy 2 as it is almost completely customiable.
-
I registered with my normal twitter account and voted +1. I do not know how they use those valuable bits of private info about me, but not sure they can do something worse than twitter itself)