Chris Whissen

  • Content count

  • Joined

  • Last visited

Community Reputation

2 Neutral

About Chris Whissen

  • Rank
    Jr. Member
  • Birthday
  1. Thank you both I'll give it a try this weekend.
  2. I'm not even sure where to start here. I'm trying to find the best way to do this... Basically, I have a page Services. This page has a number of children which represent sections of the Services page. So, the tree is: Home - Services -- Thing1 -- Another2 -- LastOne3 Services has a template that renders each child page as a separate Div - allowing for flexiblity in layout and easy editing. On the home page, I have several links that relate specifically to Thing1, Another2, and LastOne3. If I was hardcoding those links, I would just do href="services.html#Thing1" to link directly to the proper section. How can I do that in ProcessWire? My first thought is to do a two part selection where they select the parent page (i.e. sevices) and then the child page (i.e. Thing1). I'd then have the childpages use their title as a section id, and then pull the two links in separately. Something like: echo href='{$parentlink}#{$childlink}' (That's simplified, just to get point across) The problem is it requires the user to select two things to get to the link right. Is there a way I can allow the user to just select the child page and still output the jump link? As an additional twist, the links on the home page are part of a repeater if that matters. Using ProcessWire 3.0.42. My PHP and ProcessWire skills are still in early stages of development, so please take that into consideration. Thanks in advance for any ideas or help.
  3. @kongondo I'm an idiot and thank you for your time and help. I reread the module a little closer and realized I need the acceptfiletypes twice - once for Ajax options and once for JFUoptions. I only had it once. Added that in and everything is working fine. Apologies for wasting your time, truly appreciate the help.
  4. Yes. I'm doing it like this: 'allowedNonImageMimeTypes' => array('application/pdf', 'application/postscript', 'application/octet-stream', 'application/x-compressed', 'application/x-zip-compressed'), No problem. I'll have something to you in a moment. I personally created the Zip in Windows and the AI in Illustrator, so they shouldn't be fake.
  5. @kongondo thanks - I'm new to alot of this and just starting to figure it out. These forums and the modules have taught me alot! I don't believe any of those apply - the server is running PHP 5.4+ on Linux.
  6. @kongondo love the module, it's helped me get past a hurdle. One issue I'm encountering is uploading more diverse file types - zip and various Adobe types. Is this something that the module can support? If so, any ideas what I'm doing wrong? I've added allowedNonImageMimeTypes under the ajaxoptions('application/pdf', 'application/postscript', 'application/octet-stream', 'application/x-compressed', 'application/x-zip-compressed') and added the extensions to the acceptfiletypes under jfuoptions. The files show up, I get upload progress, and then I get the message: Empty file upload result Nothing shows up on the server. If I upload JPGs or PDFs - either on their own or at the same time as non-working files - they work just fine. I'm on PW 3.0.42.