-
Posts
677 -
Joined
-
Last visited
-
Days Won
2
Everything posted by MatthewSchenker
-
Greetings Everyone. I have also been playing around with data tables as the basis for a custom admin area. I have used JQuery DataTables, which kongondo refers to in his post above. Managing data tables in ProcssWire, with the flexibility of ProcessWire's page and search capabilities makes this really exciting. Links: A dev example of 533 records with 58 fields managed with ProcessWire and Datatables: http://50.22.43.61/~wnpt/tennessee-crossroads-listings/ DataTables: http://www.datatables.net/ Note: At the moment, my example runs slowly! Thans, Matthew
-
CONGRATULATIONS!!! From one father to another... You have some important matters to attend to right now, so don't worry too much about the forum! Let us know how we can help. Again, congratulations! Matthew
-
Hey Andrew, Thanks for posting this useful link. I have this bookmarked. Thanks again, Matthew
-
Oh, right. I forgot about that! Thanks, Matthew
-
Hello, Wow, thank you for posting this. I have only watched about half of this so far, but wanted to pause to say that already this presentation is one of the best I have ever seen on the real experiences of the business of being a developer/designer. The part I relate to most (so far) is the "Client Goes Rogue" (~13:00). OK, returning to see the rest now... Thanks, Matthew EDIT: for some reason, the forum software won't let me post the word "w a t c h."
-
Greetings, This kind of need arises often, and one solution is to build a data table from your ProcssWire material, and add user access controls. Using JQuery DataTables, this is fairly easy. I posted a working example: http://processwire.com/talk/topic/3128-need-guidance-for-ui-modules-sortable-data/?p=31412 Starting from that base, you can build many ways to arrange, filter, and style the data. It can form the base of an admin panel. ProcessWire makes it really easy and clean to implement this kind of thing. Let me know if you need more specific information. Thanks, Matthew
-
Greetings, Yes, sorry -- I hope pwired is not to upset about this! But I do think the issues are closely tied together. Or maybe we should start a new "How Do You Use CSS FrameWorks?" discussion. Regarding PHP frameworks: for myself, I can't help but think that somewhere in the near future there is going to be a joining up of all the framework developments, and we might go full circle in a way on some of these issues. If you look at the new directions of the latest PHP frameworks, it's all about creating "looser" systems. For example, Laravel makes heavy use of Symfony components. And Composer is allowing various frameworks to pick and choose libraries as needed. Then there are all those wonderful standalone PHP libraries for a whole range of actions. I wonder whether one day soon we may move away from specific frameworks and just have "suggested packages" of PHP libraries that comprise your own framework? You would still be using best practices and not re-inventing the wheel, but you would not be using a specific framework either. Sorry, now we are even further astray... Thanks, Matthew
-
Greetings, Wanze: I also would be interested in your solution! I have been making great progress creating front-end interfaces with ProcessWire and forms, but I am always interested in how others implement this. I am especially interested in seeing how you get repeaters working this way. Thanks. Matthew
-
Hello Everyone, Like a lot of you, I have considered CSS frameworks. I've experimented with Botstrap, Foundation, and Skeleton. My favorite is Foundation, but at this point, I seem to always end up NOT relying on any of them because every project is too different from any other, and I feel like my own library of styles I built up just keeps working for me. But I feel like it is probably time for me to jump on one of these systems. As someone mentioned earlier, PHP frameworks is a whole other story. With that, I do think we should use established frameworks since it gets into important security considerations and can mean a much bigger effect in performance. Getting back to CSS frameworks, I just found a new one (at least to me): http://responsive.gs/ Thanks, Matthew
-
Greetings Everyone, I'm working on a couple of sites that need some imaginative gallery ideas. I started browsing around to see some examples of creativity and discovered a new Lightbox concept from Todd Motto. Just thought I'd post about it here and see what people think. Here's the link: http://toddmotto.com/introducing-superbox-the-reimagined-lightbox-gallery/ Thanks, Matthew
-
How to set text line/character limits in templates?
MatthewSchenker replied to photoman355's topic in General Support
Greeting photoman355, This is not built into ProcessWire by default. However, there are a couple of nice ways to add it. I'm using a module in my sites that counts the entered characters, and disallows more than the set number of characters. Here are the links: Forum discussion: http://processwire.com/talk/topic/2343-char-counter-for-texttextarea-fields/ Module page: http://modules.processwire.com/modules/textarea-counter/ In the forum discussion, you will see both the module created by boundaryfunctions, and another concept by Soma. One of these will work for you! Thanks, Matthew -
Hello, I just tried it out. I opened a session in Firefox, then "joined" my own session via Safari. You can immediately see where the other "member" is pointing on the screen. However, it seems MarcC is correct that you can't share the inspector. I opened FireBug and began making some changes. When I looked in my Safari "member," those changes did not appear, nor did it show that my other member was even using FireBug. This seems like a very promising idea. At the moment, it only seems effective when making live changes on your server and "pointing" to things. If they can integrate FireBug changes, it would be a huge step! Thanks, Matthew
-
Hey Diogo, Thanks for sharing this! It's the first time I'm hearing about it, but this looks like a great idea. Will definitely try Tow Truck on a site soon. Thanks again, Matthew
-
Guard as my new preprocessor/concat/minify watch tool
MatthewSchenker replied to owzim's topic in Dev Talk
Hello, I'll take a look at this. For some reason, I have never really been able to get into SASS or LESS, and I tend to keep building CSS as CSS. But I always feel I am missing something, as everyone else seems to be using a pre-processor. Maybe something like Guard will motivate me? I suppose if I wait long enough, at least some of the pre-processor actions will become part of the CSS spec! Thanks, Matthew- 17 replies
-
- 1
-
- preprocessors
- concatenation
-
(and 2 more)
Tagged with:
-
Hello, Thanks kongondo! I was copying a two-tab example into a three-tab example. Fixed in the post above. Thanks again, Matthew
-
Major brute force attack against WordPress underway
MatthewSchenker replied to fmgujju's topic in Pub
Greetings, Seems that Joomla sites are now also affected by this: http://securitywatch.pcmag.com/none/310350-wordpress-joomla-sites-under-brute-force-password-attack Thanks, Matthew -
Greetings, It's also easy to create tabs with a simple JQuery snippet. I put together a Fiddle, which I use on a lot of my sites: http://jsfiddle.net/matthewschenker/avP9W/ Just insert your own ProcessWire references, similar to what you see in the basic structure below: <ul id="simple-tabs"> <li><a id="tab1">Form 1</a></li> <li><a id="tab2">Form 2</a></li> <li><a id="tab3">Form 3</a></li> </ul> <div class="simple-tabs-container" id="tab1C"> <h2><?php $page->form1_name; ?></h2> [YOUR FORM1 ELEMENTS HERE] </div> <div class="simple-tabs-container" id="tab2C"> <h2><?php $page->form2_name; ?></h2> [YOUR FORM2 ELEMENTS HERE] </div> <div class="simple-tabs-container" id="tab3C"> <h2><?php $page->form3_name; ?></h2> [YOUR FORM3 ELEMENTS HERE] </div> Just call the JQuery script directly below the code shown above, then style it with your own CSS. Thanks, Matthew
-
Hey Macrura, Nicely done! Big, open, airy presentation. And the people are a center of attention, which is terrific. Just need to add some more concerts to the "Concerts" page! I'm jealous of the quality of your photos! How often have I asked my clients to provide photos like that for me to work with. Thanks for sharing, Matthew
-
Hey Everyone, Yeah, I agree that the style is a bit over-the-top with this one. However, the site is actually gaining in popularity from what I gathered. Of course, they can take more chances since they are associated with the Whitney! I would not design a site like this myself. However, my focus is on the various interactive/community elements this site contains. I'm glad to see organizations building their own unique, creative social networking elements and not only serving as another cog in the Facebook gearbox. And I think it's a good example of what can be done with ProcessWire. Thanks, Matthew
-
Managing large sets of pages
MatthewSchenker replied to Michal Gancarski's topic in Themes and Profiles
Greetings, I had the same question when working on a recent project with over 500 pages (TV show listings) and growing. I am still working on this site, but my solution is JQuery DataTables. It is really simple to render your ProcessWire pages in the table, and to add sorting on any field. With just a couple more steps, you can pre-filter results to only show certain pages. DataTables combined with ProcessWire's excellent traversal methods give you the beginnings of a very nice custom front-end interface for your clients. I posted an example of how I am using it here: http://processwire.com/talk/topic/3128-need-guidance-for-ui-modules-sortable-data/?p=31412 JQuery DataTables is terrific for lots of other uses. Take a look at it here: http://www.datatables.net/index There are other data table plugins, but I found DataTables to be the simplest to use, with the best documentation. If you need to see more code, let me know. Thanks. Matthew -
New PW Project - notification and approving page changes?
MatthewSchenker replied to FuturShoc's topic in General Support
Greetings, Glad to see this discussion, because I need this for a couple of projects as well. I've been playing with a couple of ways to do this, which I describe below in plain (non-code) language. There are two parts here, each with their own solutions. As Ryan explained, these ideas require creating and editing pages via the API: 1. Approval to Publish I am currently handling this is by adding a simple "published" checkbox that is only visible to people with certain rights. When searching for pages to display, I only find those that are approved (checkbox = "1"). 2. Approval to Edit For this, I think ceberlin and I are fairly close. First, we need to use the API to create an edit page for our content. Inside that edit page, there are two forms: the "live" form, which contains the currently published material; and an "edit" form, whose fields simply repeat those in the "live" form. Initially, the values in each form are identical. When someone without enough rights changes the "edit" form and hits "submit," the page then contains different information in the "edit" form and the "live" form. But the "live" form continues to be the currently published material. When someone with higher rights visits the edit page, and submits changes in the "edit" form, the changes overwrite the "live" form and that is what now appears in the live site. In this case, the page is saved using the values in the "edit" form using the normal page-creation/page-editing routines of the API. How does this sound? Thanks, Matthew EDIT: A couple of things I forgot to mention above... First, the "edit" form should be the way that everyone submits changes, no matter what your approval rights are. The difference is, people without approval rights would only see a "Submit Draft" button (only changes the "edit" form), but people with higher approval rights see a "Submit Draft" and a "Publish Changes" button. Next, we need to handle the initial pre-population of the "edit" form. There would be logic in the edit page to detect if the "live" and "edit" forms have the same data, or if they have different data. If they are different, we don't want the "edit" form to be overwritten. That way, proposed changes are preserved until approval is made. When the "Publish Changes" button is clicked, it would overrwite both the "live" and "edit" form fields. If the "Submit Draft" button is clicked, only the "edit" form is changed. This allows edits to be "discussed" until approval is made. -
Gretings, The style might seem jarring in ways -- a risky concept -- but for kids it works well. What I like most, and what I am trying to do in a few new sites, is create interactive and sharing elements that go beyond the Facebook model. I think ProcessWire is perfect for this. Thanks, Matthew
-
Greetings, Hmmm.... Seems like this discussion is slowly turning from "Favorite Programming Music" to "Favorite Way to Caffeinate Yourself"! Thanks, Matthew
-
Greetings, I have wondered about the same thing. Coming from a CodeIgniter background (and more recently Yii). I often make comparisons between ProcessWire and frameworks. The way I see it -- ProcessWire is a framework like Yii, but with several CMS elements added on to make common development tasks faster and easier. Beyond the crucial CMS elements, it's up to you how you actually want the system to behave and look. The syntax for querying the database and creating views is very "expressive" (as they like to say in the Laravel community), and the depth and combinations of your queries is wide open. ProcessWire is really amazing. With that said, I do see some elements in CodeIgniter (and Yii) that could be adopted by ProcessWire. I raised similar questions here: http://processwire.com/talk/topic/2393-processwire-framework/ Thanks, Matthew
- 6 replies
-
- 1
-
- processwire
- pw
-
(and 2 more)
Tagged with:
-
Greetings, Excellent work Thomas! Fun and welcoming site, which fits the subject matter. It loads lightning fast for me (desktop). The "Videos" section is nice and clear, and the "Shop" section is easy to navigate. My one small criticism... The horizontal split between the "article-text" DIV and the "aktuelles-pic" image on each "News" item makes it just a bit confusing to navigate specific entries. Thanks for sharing! Matthew