Jump to content

maddmac

Members
  • Posts

    80
  • Joined

  • Last visited

Recent Profile Visitors

1,776 profile views

maddmac's Achievements

Full Member

Full Member (4/6)

9

Reputation

  1. I know this is a few years old, will this work with formbuilder forms? Correction, I see @kongondo just updated this. I would like to use with a formbuilder form if possible. Anything on this @kongondo?
  2. Thanks @Jan Romero This method seems to be much easier then I thought it would be
  3. @bernhard no problem. I have a list of child pages that I want to associate with a page. For example I have a particular author that I want to programmatically associate book titles (pages) with an author what would be the best way of doing this programmatically without manually associating pages by the book title name? I can easily create a comma separated list of the books per Author name. Douglas Adams (author-page) These are all books (pages) The Hitchhiker's Guide to the Galaxy Life, the Universe and Everything (Hitchhiker's Guide to the Galaxy, #3) Book title 3 Book title 4
  4. Is there a method to programmatically select pages from a PageSelect based on the name of the page and associate them? I want to pass an array of page names or a comma separated list. These page names would be looped through and then added as multi page select for a specific field. These are existing pages not new pages. It's too cumbersome to manually select multiple pages
  5. I found this and updated, but the result is the same, it doesn't add the new tag or page. It says its going to be added but doesn't.
  6. Great module, question @LostKobrakai regarding add new tags on the fly. When I enter a tag name and press TAB nothing happens, should it add a new page automatically? Is there something I need to change in the config for this to happen? I can add existing tags no problem.
  7. Is there a method to save import settings for future imports? it would be great for non tech-savvy users to be able to minimize issues when importing data for repeated import tasks.
  8. @Zeka Do you know if you can pass form variables from Formbuilder into this hook directly?
  9. Thank @Zeka I just figured out a solution but your code is more elegant.
  10. Can you pass a URL parameter to a hook? If so what does that look like? This certainly isn't working or do I need use a before hook $wire->addHookAfter('InputfieldPage::getSelectablePages', function($event) { if($event->object->name == 'myselect') { if(isset($_GET['temp'])) { $temp= $_GET['temp']; } else{ $temp = ''; } $event->return = $event->pages->find('template=$temp'); } });
  11. I would like see the bookmark feature as well. Now that I am using LIsterPro I see the benefits of something like this.
  12. Looks like a great addition to FormBuilder. Glad to see it and thanks
  13. Is is possible to pass JavaScript to a Hook? Looking to pass a value from a form select into a hook prior to the form being submitted. I realize the hook can be added when the form is processed but this is for a page lookup $wire->addHookAfter('InputfieldPage::getSelectablePages', function($event) { if($event->object->name == 'your_field_name') { $event->return = $event->pages->find('your selector here'); } });
×
×
  • Create New...