-
Posts
677 -
Joined
-
Last visited
-
Days Won
2
Everything posted by MatthewSchenker
-
Greetings, I have played with various template engines, and I agree that Twig is better than others. I've also tried Smarty. There was a time when I believed I had to do one of these because "there are people who don't want to use PHP." But these days, I don't believe this any more. Instead, I believe that using a CMS like ProcessWire makes it possible for "regular" people to deal with PHP. One of my main attractions to ProcessWire is that there is an attitude that template engines are not necessary. Maybe it's just me, but no matter how good a template engine is, it's just another thing to learn. And because there are several template engines, choosing one runs you the risk of creating code that is not as "universal" as PHP. I understand that in some agencies there are designers who don't want to deal with PHP. But the best of all worlds -- it seems to me -- is to use a CMF like ProcessWire (or a framework like Laravel and CodeIgniter), whose syntax is clean and expressive, thereby making a template engine unnecessary. Thanks, Matthew
- 74 replies
-
- 1
-
- template engine
- twig
-
(and 8 more)
Tagged with:
-
Import Pages from CSV: FieldtypeDate problem
MatthewSchenker replied to doolak's topic in Modules/Plugins
Greetings, Thanks doolak for the tip. I find dates are a chore to get right -- not in ProcessWire but just overall because of how people use dates. I am doing a project now for a TV station with hundreds of shows, each with an "air date." The client provided a spreadsheet with a date column. But the dates are entered over the years in very inconsistent ways, so import won't work. I had thought of using a few rounds of search and replace to normalize the dates, but it isn't possible. Again, this is not specific to ProcessWire. How are other people handling these sorts of cases? Thanks, Matthew -
Thanks Dave for sharing this. It's definitely along the lines of what I would like to see with spam protection. It seems like an elegant solution (until spammers find a way around it). The only issue I see with this: what happens if the user has cookies turned off on their browser? Thanks, Matthew
-
Greetings, Looks very interesting! Will give it a closer look very soon! Thanks for sharing! Matthew
-
Greetings, As always, seems like those of us here in ProcessWire world have similar views on things. if one needs to do such extra checks, I'm in favor of making it easy but clearly a test of being a human. What we do depends on the site, of course. But I think we can be creative with this and make it work. I agree with yellowled that there is no foolproof system anyway. Thanks, Matthew
-
Hey Droogs, Are you looking for a way to build your elements with ProcessWire and then link to a shopping cart for checkout/payments? There have been some discussions about this here. I've been playing with FoxyCart and like it, but there is a cost --> http://www.foxycart.com/ Thanks, Matthew
-
Hey Joss, I hate CAPTCHA. Just wanted to get that out of the way. I would love if some enterprising individual developed a new idea that took hold. Personally, I like the idea of just using something intuitive within the context of the form. More creative, and actually makes it fun if you do it right. Thanks, Matthew
-
Yes... Ouch!! I see this too. Very baddiwad. Alex: what other options did you consider to handle the pretty polly? You didn't think you would get away without at least one Nadsat reference did you? Thanks, Matthew
-
Greetings, To netcarver: I'm open to either! Tell me your ideas! At the moment, I have all work files on my iMac, and I do automatic backups to a Time Capsule, as well as nightly backups to a separate networked drive. I like the idea of physical separation of drives. The one thing I question (wonder) about RAID: even though the drives are separate, they are in the same enclosure. If there was some weird occurrence, aren't the two drives at risk because they are in the same enclosure? Thanks, Matthew
-
Greetings Again, While we're on the subject of what's on your desktop... Let's talk storage/backup now. I'm thinking about getting a RAID system (Thunderbolt), both as a working drive for my project files, and to do backups via RAID 1 mirroring. Can anyone recommend a RAID 1 system? Thanks, Matthew
-
Greetings, Yes -- it was Tandy sold by Radio Shack! I remember the TRS-80 fondly: http://processwire.com/talk/topic/2254-syntax-and-coders-with-history/?p=21050 Thanks, Matthew
- 74 replies
-
- template engine
- twig
-
(and 8 more)
Tagged with:
-
Greetings, Interesting discussion... Thanks Teppo for the link to the RFC. Seems this is not settled, which I suppose is good. So it seems we can and perhaps should continue using full echo syntax. I kind of feel like the main character in "Fiddler on the Roof," when he's considering different options and says, "On one hand... But on the other hand... But on the other other hand..." Thanks, Matthew
- 74 replies
-
- template engine
- twig
-
(and 8 more)
Tagged with:
-
Greetings everyone, Sounds like the short tag/short echo tag did create a bit of temporary confusion -- easily cleared up. Personally, I wish all short tags were acceptable. It seems so much more linear to use <? ... ?> for code. But obviously we had to stop using this for other reasons. Regarding short echo tags: I just got used to doing <?php echo for everything. But discussions like this are a good way to help move away from that! Thanks again, Matthew
- 74 replies
-
- template engine
- twig
-
(and 8 more)
Tagged with:
-
Greetings, I posted some instructions for using Galleria: http://processwire.com/talk/topic/2533-first-site-first-problem/?p=24929 If you have other question, just jump in and ask some more. And your questions are not dumb! If you are asking it, it's very likely that someone else is also asking the same thing. Thanks, Matthew
-
Hey Everyone, I was weaned off short tags some time ago after working with some developers who threaten to blacklist you if you use them. So maybe they aren't as bad as I have been led to believe? Thanks, Matthew
- 74 replies
-
- template engine
- twig
-
(and 8 more)
Tagged with:
-
Hi Ryan, I have been using the Datetime field to do "creative" date presentation. Just to confirm, below is an example where I have a Datetime field called "created_date," and I call out the individual month, day, and year elements with strtotime. With the changes you describe, will this this still work: <div id="news_date_box"> <span class="month"><?php echo date("M", strtotime("$page->created_date")); ?></span> <span class="day"><?php echo date("d", strtotime("$page->created_date")); ?></span> <span class="year"><?php echo date("Y", strtotime("$page->created_date")); ?></span> </div> Just want to make sure! Thanks, Matthew
-
ExpressionEngine new pricing structure and how ProcessWire could benefit
MatthewSchenker replied to panictree's topic in Pub
This is a great point, and it reveals some core differences between ProcessWire and other systems. I like to put it this way: the closer a CMS comes to not being a CMS, while still being a CMS, the better it is. Hope that makes sense. Thanks, Matthew -
Greetings, If you keep this up, you will hit your 2000 milestone at an even faster rate. All jokes aside, thank you very much for all your help. I'm sure I am not the only one who really appreciates your deep knowledge and constant patience. Thanks again, Matthew
-
Rebuild my old portfolio site (2011) with PW
MatthewSchenker replied to thomassausen's topic in Showcase
Greetings Thomas, Very nice new portfolio site! As Joss said, very fresh and clean. Also, clear and attractive palette choices. What kind of trouble were you having with the slider? Thanks, Matthew -
How to create an generic editable footer in my template for users
MatthewSchenker replied to henriette's topic in Tutorials
Hey Everyone, Thanks for thr links Soma. I have seen some of this (you cited a good one earlier in this discussion). I just wanted to put the general concept out to there -- discuss and show off possibilities and bounce around particular variations. It's pretty amazing how with ProcessWirw we can cook up such "control panel" features so intuitively. Thanks, Matthew -
How to create an generic editable footer in my template for users
MatthewSchenker replied to henriette's topic in Tutorials
Greetings everyone, This is a terrific technique. I am playing with a kind of expansion of the idea and wanted to bounce it around here for discussion. I want to have a single form called "header_footer" with two fieldset tabs: "header" and "footer." Then users could manager both parts in one form. In my various site pages, I would call the header and footer fields in their right places on the page. I'm thinking the way to go is to create "header.inc" and "footer.inc" files that pull the relevant fields from the "header_footer" page with the $pages method. These ".inc" files are called in the usual way in all site pages. Of course, it's not a bjg deal to ask users to handle two forms for the header and footer. But I'm looking at this as a general concept that could go beyond just the header and footer. For example, I imagine this becoming a way to create a single "control_panel" form where users can set all "universal" information in one place. Thanks, Matthew -
Greetings, panictree: wow, that article is really insightful. It's a great discussion point, especially as Web development advances and has ever greater potential. Thanks for sharing! Matthew
-
Feature request: Page ID attribute
MatthewSchenker replied to mindplay.dk's topic in Wishlist & Roadmap
Hello, How about taking away the admin rights of anyone who moves a page in that manner? Just kidding, sort of... But it would solve the problem. Thanks, Matthew -
Greetings, Yes, as others have said, the rules apply to how credit card data can be stored. But that's enough! Anyone who reads the potential penalties for failing to implement this the right way should be properly frightened enough to offload the sensitive stuff to a third party for that portion of the work. With that said, I want to use ProcessWire for as much of the e-commerce process as possible. I only want to offload the least number of steps. It would be terrific to learn more about how different people are successfully handling the whole e-commerce process in ProcessWire. Thanks, Matthew
-
Greetings, I am also building a couple of e-commerce sites. In the perfect world, I would prefer a 100% ProcessWire e-commerce solution. However, with all the regulations and security issues surrounding e-commerce, I think it's best to use a service like Shopify or FoxyCart for the sensitive stuff. The goal, I believe, is to use ProcessWire for all the product information and site development, then offload credit-card transactions when they come into play. Essentially, I think the discussion is around a system that can pick up where ProcessWire leaves off. Very curious about other opinions. Thanks, Matthew