Jump to content

maddmac

Members
  • Posts

    100
  • Joined

  • Last visited

Posts posted by maddmac

  1. On 11/4/2023 at 6:28 AM, bernhard said:

    Sure! RockPageBuilder works with any framework or without any framework. All the parts that have to work everywhere are custom built, for example the UI on hover (which uses RockFrontend's ALFRED) and also the drag and drop sortable feature.

    Check out this section in the installation video: https://www.youtube.com/watch?v=ulImisUs7zQ&t=362s

    I took a look at this video, but I am still a little unclear regarding the replacing the framework, if I were to add Bootstrap for example could I use my own blocks and still have front end editing features? Also what if we have custom repeater elements, could those be used as custom blocks?

  2. Is there a method to log when a user's password is changed. For example I would like to log the following 

    • Password changed time/date by which which user
    • Account for a user role changed, what changed and by what user

    I realize user logins and attempted logins are made but can the above be added in the same log.

     

     

  3. @adrianAdrian, great tool that I continue to use. Is there an option in the setup config to prevent duplicate records from importing via CSV? My titles are unique and would rather not automatically remove records that are duplicates. if the Import would detect a duplicate title and ignore duplicate entries instead of adding new records. 

  4. I have gotten the module @mtwebit to work to import records which is great, but have a couple questions. What is the point of the global config? I don't seem to be able to use a global config only the file description. Also when the page is created my page save hook is not firing.  What hook can I used for pages created with the import?

  5. @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

     

     

  6. 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

  7. 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');
      } 
    });

     

  8. On 8/23/2020 at 4:23 AM, ryan said:

    @HMCB Do you mean like the bookmarks feature in Lister? It doesn't have anything built in like that at present. However, the search queries are all query-string based (unlike Lister), so you can save the search queries on your own by copying the URL from the browser address bar, or using your browser bookmarks. 

    I would like see the bookmark feature as well. Now that I am using LIsterPro I see the benefits of something like this. 

    • Like 1
  9. 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...