-
Posts
380 -
Joined
-
Last visited
-
Days Won
1
Everything posted by MarcC
-
How to show a list of children, grouped by category title?
MarcC replied to MarcC's topic in General Support
Thanks Ryan, that's pretty slick. I'll give it a try. -
How to show a list of children, grouped by category title?
MarcC replied to MarcC's topic in General Support
Thanks, Soma! I will have a separate categories page/children so that seems like it will work great. Thank you. -
I have a page with children like this: Music Samples Fugue in D Minor La Cucaracha Rock You Like A Hurricane ...and each child has a category (using a page select field), in this example Classical, Ethnic, and Rock. How would I display a list like this? CLASSICAL Fugue in D Minor ETHNIC La Cucaracha ROCK Rock You Like A Hurricane Thanks!
-
Just popped into my head, maybe it's already been done? I create a new template file, copy all of my HTML into it, and add a bunch of comments like this: <!-- field:page:textarea:TinyMCE --> <!-- field:page:images --> ...and then PW assigns those fields to the template automatically when I tell it to make the new template out of an existing file. Maybe even puts basic PHP in after the directive comment. Crazy idea?
-
Ha, that's exactly what I was thinking of, too. Another idea, depending on interest in other development arenas: Sell an "official" PW iOS app that contains API docs + examples and any other handy stuff. I have a lot of those apps for e.g. PHP, jQuery, Vim, etc. and such a purchase would be a no-brainer, especially knowing that it's supporting the project. Inclusion of some longer tutorials would make it easy to justify a higher cost for such an app.
-
Things I would pay for, in order of likely payment output: Ready-to-go commercial site profiles (setting up separate templates for different sections and whatnot is a bit of a time suck right now) $$$$ This would be so terrific. Here, look, a product database that provides XML feeds and tagging is already set up, too. Hey, there's a PW site with a membership system with a customizable profile for each member! This would be worth tons to people like me. Training materials $$$ Videos $$$ I guess the subject matter would be pretty wide open but a set of PW videos where 1-3, for free, cover setting up a single HTML page into an editable site, and 3-9 cover additional pages and some other features, for a cost...I think lots would be interested. Don't give away the sunroof but it's an awesome car. Books (short as they may be, not looking for the bible of PW here) $$$ At this point I would love something on developing modules for PW, with a few examples. Also an example of CodeIgniter integration, for doing more app-type stuff, this really interests me right now. I can't name a specific example I'd like to see, but as a PHP junior-level type, I'd love to see how PW can help me work with a framework like CI or Symphony. This could be a video too, I'd pay for that. Custom module development $$$ Name your rate, and don't price it so low that you can't sustain it. I think a lot of us will find a way to pay if we need it and really love to see that type of backing available. It's a bit intimidating to ask somebody in your position to bid on a custom development job though (don't want to bug ya), so you'd probably want to put up a page somewhere explaining that yes, you will do it and what your terms are, etc. Commercial support $$ Very helpful for some perhaps, but I don't see myself using it much for now. Maybe if I'm scaling up dramatically or working with a big team and needing some insurance. Add-on modules $ I've been stung several times by paying for modules. Support can end up being very poor or hard to understand, or the new version comes out with a more sustainable codebase but 25% of the features of the old one, or the developer becomes a playwright, etc. So I'm cautious about that stuff but I readily admit it's nice to have the option. I'd like to support you in that. You deserve it.
-
[solved] Trouble accessing /processwire from IP address
MarcC replied to MarcC's topic in General Support
Ah, that was a perfect answer! Thank you. I uncommented this line: RewriteBase /~username And changed it to: RewriteBase /~example/pw/ ...and everything works now. Thanks again. -
I have a site set up like 111.222.33.44/~example/pw and /pw is where Processwire lives. The front page loads fine, but I can't access /processwire or any other virtual subdirectories via rewrite (error 404). I opened .htaccess to mash my keyboard and test for an error, and I did get an error, so it seems the .htaccess file is being read. Any advice?
-
I like that idea--from time to time I find my mouse hunting for "view site"
-
Right on! I think showcase should be near the top though I know it can give a little boost to first-timers.
-
Ah, that would explain why I couldn't find it there. That sucks though. I wonder what a $100/1 month sponsorship fee would do for recognition, though? I mean, provided they got honest at some point I guess.
-
repeatable page elements -- how do you approach it?
MarcC replied to evan's topic in Getting Started
Cool, another TXP user An .inc file (or .inc.php) is the direct analog to a Textpattern form. The main difference being that TXP stores forms (i.e. partials) and page templates in the database, and ProcessWire stores them as files. So for example: <txp:output_form form="sidebar_gallery" /> Would typically be like this in ProcessWire: <?php include('sidebar_gallery.inc'); ?> -
Just saw a PHP framework offering documentation download as a single HTML file: http://flourishlib.com/docs Is there something similar for ProcessWire that can be used locally?
-
Here's an email-to-post script example for the Textpattern CMS. Maybe something like this could be adapted for ProcessWire: http://files.krusedulle.net/moblog.txt
-
Some alternatives: Email-to-site functionality, wherein your site has a script that reads incoming email including attachments and posts it to PW. Integrate blog software and use one of the native iOS apps for blogs to get the information through to ProcessWire.
-
Uploaded images not appearing in PW admin or public site
MarcC replied to MarcC's topic in General Support
Thanks--I just noticed that the URL was being rewritten when I loaded it directly. It turns out an .htaccess file a few folders back had this line: ReDirectMatch 301 /site(.*) http://www.example.com$1 Which was pretty obsolete anyway so I took it out. Problem solved! ;D I have no idea what I should do if I wanted to keep that line, because I'm assuming it was conflicting with PW's "site" folder. -
I'm working on a Dreamhost-hosted PW 2.1 install and I am encountering this issue: I can upload an image OK. I can open the image for editing in e.g. Photoshop from the /site/assets/files/#### folder via SFTP and confirm that it exists. This is true for all resized versions, too. The link shown in the HTML source is correct; i.e., it points to the right file. PW's admin image field shows a "?" indicating that it can't display the image. The public front end also shows a broken image indicator. Here is the owner/permission information: Owner: My user Perms: 777 Checking another thread here at the forum, and following instructions: It seems that Dreamhost has safe_mode turned off (Edit:just confirmed that) but I will confirm this. I also added this line to .htaccess: php_value upload_tmp_dir /home/baggageclaim/marccarson.com/clients/cortechamber/site/assets/cache/ Thanks for any ideas or other assistance!
-
Thanks guys. Ryan, I'll probably do that language swap when I upgrade it to 2.2. Thanks for letting me know about it.
-
Nice job! I enjoyed learning about the building and browsing the tenants (are you using Textile? 13a looks like a syntax issue with a Textile hyperlink). I enjoyed using the CSV module as well; it saves a lot of time, doesn't it? Always nice to see different examples of Skeleton sites, too. Thanks for sharing.
-
Yes, you can design a template or even buy a template if your boss expects miracles overnight. ;-) Manage content in text areas, pictures, yes. Forms less so, but if you wanted an easy out you could integrate something like MachForms for your form management. Can you list the type of forms you need? If it's just a "Contact Us" form or something simple, Ryan has a great example here on the forum. There's also the level of technical prowess that is required. For example, you can't go theme shopping in the same way you can for WordPress. You can shop for plain HTML themes, but you have to take care of all the integration with Processwire by yourself. For example, you have to turn this: <h1>Page Title</h1> into this: <h1><?php echo $page->title; ?></h1> So that Processwire knows "Hey, grab the title of whatever page we're showing here and put it in that spot." Processwire is a great software package, and some of us who have used the major CMS packages see it as a welcome relief, but there is a learning curve. Many of us are here because we outgrew the "beginner-friendly" CMSes that are so common. With Processwire perhaps you won't be clicking buttons so much as typing a lot, occasionally cursing because there's a problem in your PHP, etc. But in the end you feel it saves you time because you can't quite customize as much with another CMS. PHP questions for you: Do you know what "echo" does? Have you ever assigned a variable before? Alternate: Do you learn pretty quickly by looking at other peoples' code? Finally: Are you interested in learning PHP? CMS questions for you: You haven't used a CMS, but do you know what a CMS uses a template for? What are some other sites that work the way you need yours to work? At what point will you decide that this is taking too much of your time to learn? If you have an hour figure in mind, maybe we can guesstimate. ;-)
-
Soma, I always make sure my Textile-using clients have a link to this nearby: http://labs.metanation.com/human-textile-reference/
-
I have a client who is a bit confused by "name" when she creates new pages. Is it better to hide it using CSS or just leave it there since she'll come across it later anyway? Just fishing for ideas from those with more experience. "Name" is in her original DB the name of the contact person for each item.
-
Progress on ProcessWire 2.2 and overview of multi-language support
MarcC replied to ryan's topic in Multi-Language Support
Me too :-D Confusingly it seems that JA is used by NATO for "Japan" but also by ISO for "Japanese." Furthermore, I can't find any other countries with JA as a country code. And Ainu is usually AIN. Sigh, major derail here, sorry. -
Progress on ProcessWire 2.2 and overview of multi-language support
MarcC replied to ryan's topic in Multi-Language Support
WillyC, isn't Japanese ja-JP? The first two letters are the country code, and the second two are the actual language. Here's a slightly-related reference. -
Sorry, very experimental site there. :-P