Jump to content

onjegolders

Members
  • Posts

    1,147
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by onjegolders

  1. But not for the pro version, I don't think?
  2. Looks great, would be nice to see a video of it in action (am sure Ryan is preparing one)
  3. Many happy returns Dear Leader!
  4. Is the profiles page unpublished? What call are you using to loop out your navigation?
  5. Good question. Security is not something I have ever had to obsess over so I will leave it to others to reply to that but it does sound like a very interesting project. A general question would be, is there already a tool out there that serves the purpose well? A database driven one, even offline software like Filemaker which could perhaps be integrated. Or there might be a framework out there with security at the forefront. Sorry not that helpful an answer I'm sure but it's an interesting question and though it deserved at least a response
  6. I must be in the minority who like the new Adobe business model. But then again I'm a huge fan of monthly payments. Netflix subscription over Mountains of scratched DVDs etc. Yes you have to fork out £50/month but for anyone using these tools in any way professionally, it's nice to know all the tools are at hand. I have to say the system works very well too, nicely integrated. For me the prospect of paying thousands for tools that became outdated quickly was more of a turn off in the past than the current plan. As to whether the Adobe apps still have an edge over the competition, that's a different question PS: Affinity looks very interesting, the site does a great job too in my opinion.
  7. Just had this error again. Strange one, "there is no thumb called: " (empty), before that I was getting "no width and height" errors. I've tried clearing cache and resaving the field but nothing seems to be working. UPDATE: I think I may have had some whitespace left over from when I deleted a thumbnail row in the input setting part, deleting that has cleared the error.
  8. Sorted. Seems I didn't pay attention to the syntax $session->$mysession = "Whatever"; I'd assumed that second $ was inferred.
  9. Hi guys, Is there any reason why $session variables shouldn't get updated when using jQuery $.post? For some reason, no matter how trivial the example I use, data received from $.post which is successfully updating pages is failing to set $session variables. Am properly in "banging head against wall territory" now
  10. Sorry very quick update. I think it may have something to do with setting file overwrite to true/false Thanks Adrian, I hadn't noticed that but am still on 2.4 on this install. I tried changing fileOverwrite to false and it seems to have sorted it. Strange as it is actually overwriting it?
  11. Hey guys, Not sure if any of you have had this issue before but I have some file upload front-end forms where the client is able to add new files, replace, update etc. Recently they have been having problems where some files when being replaced are failing (they become 0kb) - up until now I've been trying to figure out the pattern to produce this and it seems to be when replacing the existing file with a file with the exact same filename. Can anyone think of a PW or PHP reason why this might cause a problem? If not, I'm guessing it's something within the form code... Thanks.
  12. http://www.freeagent.com Very nice software.
  13. I think it still might be a nice option, just better to check first
  14. Thanks for this Blad. Just concerning 2), I think Ryan has said in the past he is OK with the logo being changed but I'd double check that and obviously leave a nice big reference to Processwire somewhere
  15. Then you'll want to add all the necessary fields to the other template then create a new module in your /site/modules folder, install it in the admin and using what I wrote as a starting point, (editing the field and template names to match your case), you may want to add another function in the module that handles cases where a user gets deleted? It's not as complicated as it sounds but you'll want to try all this on a local install, while you get it working right. We can help you as you go.
  16. Just to confirm - So this is about showing the same value in the admin and not the front-end of your website?
  17. Not sure if you just want to display this information on the frontend? If so, no need for the module, just output as Diogo shows.
  18. Hi awebcreature. Here is something very simple that I've just put together but I haven't tested it and you'll have to apply it to your scenario. There may also be other ways of achieving this but just as an example: <?php class DuplicateField extends WireData implements Module { public static function getModuleInfo() { return array( 'title' => 'Duplicates a field value', 'version' => 101, 'summary' => 'Duplicates a field value from user template to other template', 'singular' => true, 'autoload' => true, ); } public function init() { // we hook into the page save function $this->pages->addHookAfter('save', $this, 'duplicateField'); } public function duplicateField($event) { $page = $event->arguments[0]; // when a page of type user is saved and our field's value has changed if ($page->template == 'user' && $page->isChanged("myfield")){ // get the page that this field will get dupicated $other_page = $wire->pages("template=other_template, name=$page->name"); // if we don't find this page return if (!$other_page->id) { return; } // update this other page $other_page->of(false); // set output formatting to off to update values $other_page->myfield = $page->myfield; $other_page->save(); $this->message("$other_page->url also changed"); } }
  19. If you need to duplicate information in the admin from one template to the other you will need to create a simple module that hooks on page save or page add and updates the other template. Let us know if you need some help getting started.
  20. I think Diogo's suggestion of it being hidden on your homepage as it gives the full effect of the beautiful photograph, then it could show on the inside pages but you can be pleased with your work
  21. Thanks for the compliment Douglas (although it is in the process of being updated)
×
×
  • Create New...