Jump to content

Nicolas

Members
  • Content Count

    72
  • Joined

  • Last visited

  • Days Won

    1

Nicolas last won the day on September 16 2013

Nicolas had the most liked content!

Community Reputation

79 Excellent

About Nicolas

  • Rank
    Distinguished Member

Contact Methods

  • Website URL
    http://www.omnitic.com

Profile Information

  • Gender
    Male
  • Location
    Paris, France

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. @Robin S Hi Robin. thanks for the clue about Tracy debugger and the right hook method. Solved my problem.
  2. Hi, For a project I need to add a custom admin action button. Tanks to @bernhard i was able to add the action in the submit button dropdown. To peform the action i'm adding a hook to the InputfieldSubmit::processInput method, however the function is executed twice for some reasons i can't figure out. What am i doing wrong ? <?php // Add a save action button to resend the registration email $wire->addHookAfter('ProcessPageEdit::getSubmitActions', function(HookEvent $event) { $actions = $event->return; $actions['send_registration'] = [ 'value' => 'send_registration', 'icon' => 'check', 'label' => '%s + Resend registration email', ]; $event->return = $actions; }); // Process custom save button action wire()->addHookAfter('InputfieldSubmit::processInput', null, 'send_registration_email'); function send_registration_email($event) { $input = $event->arguments(0); if('send_registration' === $input->_after_submit_action) { // populate email vars here send_email($input->email, $mail_subject, $mail_body, wireMail()); } // Populate back return value, if you have modified it // $event->return = $attendee; $event->cancelHooks = true; }; function send_email($email, $mail_subject, $mail_body, $mailer) { // Sends the email }
  3. Hi @malvarco and welcome. I've noticed that the hero image is 800 Ko. There's certainly room for improvement here 😉
  4. Thanks for your answers. #2 Totally agree about not storing user card details. I guess that the "easiest" path will be to have a module around a provider like Stripe, ReCharge etc...
  5. @kongondo regarding the payment process, have you planned the ability to pay a fraction of the total cost (make a deposit) and schedule future payment ?
  6. Nice single page website. Any chance to send a pull request for Template Engine Twig module. I think many users will be interested in the Twig 3 compatibility.
  7. Nice site. Thanks for the insights about how it was built and what are the modules involved.
  8. OH MY GOODNESS !! This thing is a beauty 😍 Well done sir.
  9. @dragan Indeed nice catch. @bernhard Thanks for the RockSkinUikit module. Will use it in an upcoming project.
  10. Hi Zeka, I was wondering how easy/difficult it has been to style the back office to black & white theme ? Any hints on how you achieved that ?
  11. +1 for the ingredient template allowing to create a ingredient database.
  12. Hi, From the top of my head this could do it this way : a template with a title and body (recipe) field and a repeater field to hold the ingredients list : a text field to hold the ingredient name a text field to hold the amount of ingredient a select field to hold the amount unit (tsp, l, ml? etc..)
  13. Nicolas

    ED works new site

    Great job ! Well done. Really love the sliding effect and typography.
  14. Great write up Guy, thanks for the post You've mentionned Twig. How did you implement that ? Is there any chance to have more details about the programming architecture?
  15. Nicolas

    So happy :)

    Bravo 👏 !! I'm thinking about using ProcessWire as a foundation for a marketplace. Glad to see ProcessWire works very well for you. Without selling your company's trade secret it would be great to get some insights about how you use ProcessWire.
×
×
  • Create New...