Jump to content

MarcC

Members
  • Posts

    362
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by MarcC

  1. diogo, these are great ideas. Thank you. I really like the pipe-separated version and it would seem to fit great, so I'll give that a go. Thanks again.
  2. Hi everyone, I set up a simple Hanna Code button snippet for a project, like this: [[special_button url='example.com' label='Visit Example.com']] The client is using it actively and have asked for a side-by-side version, where two buttons will be next to one another. In this case, they are requesting this because the URL varies depending on where the website user lives--County A or County B. Any thoughts about how to implement this? Which HTML structure would you prefer for the columns, keeping in mind this is user-editable content? Would you alter the Hanna Code at all? I'm not used to using Hanna Code and layout options together, in a textarea like the Body field, so I thought I'd ask. Thanks!
  3. Was there a field or Profield that could help site editors design pages? I thought I saw something like this a few years ago: Editors can choose from specified types of page layout elements while editing the page (For example--gallery, 1-column text, 3-column text, news items, etc.) Rearrange these elements Duplicate the elements Is there something like this? Thanks in advance.
  4. Terrific. Thanks Robin, both of those seem like excellent options.
  5. I have a bunch of events in the back end of a site which are sorted by date, and wondered if it's also possible to sort them by title within the date selection, for example using a "sort=date,sort=title" selector. In this way, an event called "A Day for Children" would show up before "Zero Hour" if they're on the same day. I tried to make this change in the parent template's Family tab, under "Sort settings for children," however I don't see a way to use multiple sorting criteria. Is this possible somehow? The site is currently running 2.8.62. Thanks!
  6. Hi everybody, I am updating a PW site that has been migrated away from another vendor. The old URLs had a prefix-segment like /page/ in front of blog posts. Here is the rule I created in PW's .htaccess: RewriteRule ^page/blog/(.*)$ blog/$1 [R=301,QSA] Within the .htaccess, this is placed before another, working, rule, and below the directives to enable mod_rewrite. Can anyone see a reason why this would not be doing anything? If I go to example.com/page/blog/blah I still get a 404 page instead of being redirected to example.com/blog/blah. Thanks!
  7. Hi Sergio, yes, it is on the same server. Do you know of any code examples for doing this? I've used the API for mostly basic things, so if there's a skeleton example available that'd be helpful. I'm excited to hear it's possible.
  8. I am in the process of upgrading an older PW website, say www.example.com. At new.example.com I have an upgraded version, but now the client needs to make content changes on the old site, like 15-20 pages added per day. How can I most easily move these pages over from the old site to new.example.com, when other people are already making new pages at new.example.com? Thanks!
  9. I created the following CKEditor plugin to insert some Hanna Code, and it just does not want to show up on the editor toolbar, despite being activated in the field settings along with PWImage, etc. /site/modules/InputFieldCKEditor/plugins/loopvideo/plugin.js: CKEDITOR.plugins.add( 'loopvideo', { icons: 'loopvideo', init: function( editor ) { editor.addCommand( 'insertLoopvideo', { exec: function( editor ) { editor.insertText( '[[loopvideo id="pvLa9DPgJVc" loop="1" volume="100"]]' ); } }); editor.ui.addButton( 'Loop Video', { label: 'Insert Looping Video', command: 'insertLoopvideo', toolbar: 'tools' }); } }); Screenshots of the input configuration for the field "body": Input configuration screenshot 1 Input configuration screenshot 2 I've also verified that I have icons in place for this plugin under loopvideo/icons/ Any ideas of what to check next? Or a way to troubleshoot this? I don't get any JS errors on the page where the Body field's CKEditor is running. Thanks!
  10. I changed the parameters for an image->size() operation on a site I'm running, and due to a loose pulley somewhere in the server, I now have a bunch of broken image icons in the website, where the thumbnail images should be. What's the best way to reset these--to start the resizing & caching operation again? I tried deleting one of the images from its folder in /site/assets/ but that didn't seem to do anything. I also tried resetting ProCache by saving a page. No change. I thought about changing the dimensions by one pixel but that seems kind of lame. Thanks!
  11. Thanks Diogo, I didn't know that was there. So I've enabled /es/. Should I now change my browser language and test to see if I am redirected?
  12. I'm testing ProcessWIre's localization features, trying out fields like TextAreaLanguage and PageTitleLanguage. I've got them installed, assigned, and filled out. Now, how do I, for example, make Spanish-language fields show up on the public site for Spanish-language visitors? It feels like a bit of a dumb question, but I swear I looked at the docs! I thought it might be automatic detection based on a header string or something, but that hasn't worked for me. I don't know exactly what details to look for as this is my first time through. Thanks!
  13. There was a lot of focus on enterprise that crept into revo, so I like the sound of the added simplicity with 3.0. When I picked up a ModX evo site because of a new client, I remember being pretty impressed. I felt a sort of bond between myself and the Ukrainian guy who had apparently coded it; we both seemed annoyed by inefficiency. I still wonder if evo made him feel the same way it made me feel, kind of sad but hoping there would still be some nifty changes down the road for ModX. Just the other day while on a hike I was thinking about making some kind of "Bob's Guides"-type site for ProcessWire, because man, that site really helped a few times when I was working with ModX.
  14. Ah ha ha. Thanks Horst, that makes complete sense. I should clarify that I'm only asking about this because a client was "trying the search tool" and was curious about how it's working. I will explain stop words if it comes up again. And if we really, really need "about" removed, now I know how to! Thanks again.
  15. Thanks, Tom. I tried the same search on a site I built some time ago: http://www.stevezuieback.com/search/?q=About Different server, same results. Kind of weird.
  16. Thanks Tom--yeah, I changed the title to "Abouttesting Us" and a search for "abouttesting" worked great. As soon as I changed it back to "About Us", no more results for "about". The page is visible on the site and is not hidden or unpublished.
  17. Using the default search.inc file, I'm unable to get a result for "About" in a site that has a page called "About Us". Other pages seem to show up just fine via title search. Any ideas? Thanks!
  18. Yeah, my attempt at a shocking little joke there. I feel pretty good about my vintage every time a local high school student tells me they are excited to work at a startup "I'm busy that month eating a sandwich, sorry" What's crazy is that there's quite a bit of demand even for WP hawkers being forecast for years down the road. That market anticipation is what's fueling the web design majors that have been appearing in larger universities. In 2009 shortly after the economic troubles began, my business guy said "in five years you'll have more work than you can handle," and I was pretty skeptical. But as I read somewhere, software tends to expand like a gas. I guess tying your business to something with those properties is not a bad idea. A business with a Django site called recently; after their dev left and the code started showing its age, they were feeling just as screwed as your Woocommerce guys were. They were excited about using a particular Django CMS plugin to solve their admin usability woes, and I was really close to showing them ProcessWire (and about 10% of the way toward getting excited about relatively familiar Python frameworks and jumping into Django) but unfortunately they said they wanted to stick with the current platform at all costs, and look at these big awesome plugins, as they thought this would be a huge efficiency trick. Now they are going to be calling people for days just to get a handle on their glorified brochureware site, which, if run by a plugin, will be like 10x more likely to take them down more rabbit holes...
  19. I agree, Pierre-Luc. It reminds me of the way I felt about people using Microsoft Word for desktop publishing after I learned to use Aldus Pagemaker. Especially when those macro infections really started to go around I noticed that clients don't really appreciate it much when I pretend to faint at the mention of WP and generally play the victim card on CMS issues. So lately I tread really carefully when I need to communicate my CMS angst. But when I communicate with web designers, it feels like more of an opportunity. Nobody wants to be preached to, myself included, but we can and should educate each other as fellow devs & designers.
  20. I like this idea. I usually make time to call or meet with with my local competitors colleagues and it's nice to chat about work-related stuff. Occasionally one of them will be kind enough to say, "that particular client is kind of not great so be careful" and save me a ton of grief. I'd be willing to pay for something like this, because having to make it to 200 posts would be a lot of [looks at own post count] uh...so, when did this happen.
  21. Just an update on this: I met up with the client's team for some training and it went really well. They seemed to enjoy learning ProcessWire, picked it up really fast, and I think everybody understands that it's just a bit of an unusual situation that led to WordPress being replaced in this case. On top of that, the main WordPress user is a really nice guy, was pretty open to learning more, and seemed impressed with ProcessWire. On top of that, apparently he'll be leaving his role soon anyway. I did add some candy to the deal with a few new features that they noticed right away, and they told me they appreciated the way the site is set up. In sum: I really appreciate the tips, everybody.
  22. That's right. However, as things are right now with the low number of posts, I doubt there is really much SEO value to be gained.
  23. Hey everybody, I'm one of the admins on the ProcessWire FB page and I had a question. For those of you who are active on Facebook, would you rather that we turn the group into a closed group instead of a public group? You can see the difference here: screenshot. Anyone can still request to join the group, so it's still pretty open, but you have to join the group to see the posts. The reason I'm asking is: I notice I don't feel like posting there much, because my Facebook friends are notified whenever I post to a public group. So it's kind of a disincentive to post, for me--like I'm calling attention to something that is just more noise in their feed. Let me know what you think!
×
×
  • Create New...