-
Posts
83 -
Joined
-
Last visited
Recent Profile Visitors
1,929 profile views
maddmac's Achievements

Full Member (4/6)
9
Reputation
-
maddmac started following Module: Import Pages from CSV file , Dynamic Selects (Commercial Module) , Inputfield Hook and 2 others
-
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?
- 83 replies
-
- commercial
- dropdowns
-
(and 2 more)
Tagged with:
-
Thanks @Jan Romero This method seems to be much easier then I thought it would be
-
@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
-
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
-
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.
-
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.
-
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.
-
module TrelloWire - Turn your pages into Trello cards
maddmac replied to MoritzLost's topic in Modules/Plugins
Thanks again @MoritzLost I'll test this out -
@Zeka Do you know if you can pass form variables from Formbuilder into this hook directly?
-
Thank @Zeka I just figured out a solution but your code is more elegant.
-
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'); } });
-
I would like see the bookmark feature as well. Now that I am using LIsterPro I see the benefits of something like this.
-
Looks like a great addition to FormBuilder. Glad to see it and thanks
-
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'); } });