Jump to content

kater

Members
  • Posts

    109
  • Joined

  • Last visited

Posts posted by kater

  1. I'm using Tabulator (5.3 http://tabulator.info/docs/5.3/data) with current PW.

    Maybe someone knows a smarter/faster way to change PW field values of a page via single click (not opening the edit dialog for the specific page) and can point me there?

    Now (very slow):
    (Backend) tabulator cellClick:function() calls js function and mutates cell value (symbol) for instant feedback.
    Js function calls php function which API edits PW page.
    Rebuild Page/Tabulators based on edited field value.

    Thanks!

    Firefox_Screenshot_2022-07-15T08-23-30.jpg

  2. Hi elabx,

    Thanks.
    Maybe you can give me a hint to understand why i need to set of(false) (in template) when not editing (setting values/saving to) the repeater field (via API/Template).
    Error happens just by iterating through the field (base repeater event_setup_list, not even the nested event_setup_list_groups). Does this already invoke editing?

    I can edit the repeater via admin tree section direct access without problem.

    cheers

  3. I'm doing it wrong again. 😞

    I've a nested repeater.
    event_setup_list (repeater) > event_setup_list_groups (repeater) with page references (asm)

    ONLY when i'm iterating (even without doing anything within the first iteration) in ready.php to build an array in a php session:

    foreach (wire('pages')->get($_SESSION['user']['event_select'])->event_setup_list as $key1 => $item1) {
    }

    1) Changing title field in BACKEND of event_setup_list: not saved but no error msg.

    2) Changing item order (Backend) in event_setup_list_groups: Error msg:
    PagesEditor: Fehler beim speichern von Feld "Event Anmeldeliste" — Can’t save page 2787: /admin/repeaters/for-field-388/for-page-2212/1646045250-8328-1/: Call $page->of(false); before getting/setting values that will be modified and saved. [event_setup_list_groups]

    3) I can edit everything just fine from the tree > admin > repeaters > event_setup_list > basepage > testgroup (2787)

     

    ! The repeater-containing basepage has been duplicated but all settings seem correct.
    The repeater is within a fieldset. All PW/Module versions current. PHP 7.4.29

     

    Any hints?
    Thanks!!

     

  4. Hi,

    When using MailInterceptorPanel with an bcc array i get following error:

    Thanks!

    Quote

    ErrorException: Trying to access array offset on value of type null in /html/REGDEV4/site/modules/TracyDebugger/panels/MailInterceptorPanel.php:179
    Stack trace:
    #0 /html/REGDEV4/site/modules/TracyDebugger/panels/MailInterceptorPanel.php(179): Tracy\Bar->Tracy\{closure}(8, 'Trying to acces...', '/html/REGDEV4/s...', 179, Array)
    #1 /html/REGDEV4/site/modules/TracyDebugger/panels/MailInterceptorPanel.php(44): MailInterceptorPanel->formatEmailAddress(Array, NULL)
    #2 /html/REGDEV4/site/assets/cache/FileCompiler/site/modules/TracyDebugger/tracy-2.9.x/src/Tracy/Bar/Bar.php(140): MailInterceptorPanel->getTab()
    #3 /html/REGDEV4/site/assets/cache/FileCompiler/site/modules/TracyDebugger/tracy-2.9.x/src/Tracy/Bar/Bar.php(113): Tracy\Bar->renderPanels('')
    #4 /html/REGDEV4/site/assets/cache/FileCompiler/site/modules/TracyDebugger/tracy-2.9.x/src/Tracy/Bar/Bar.php(87): Tracy\Bar->renderPartial('main')
    #5 /html/REGDEV4/site/modules/TracyDebugger/tracy-2.9.x/src/Tracy/Debugger/DevelopmentStrategy.php(138): Tracy\Bar->render(Object(Tracy\DeferredContent))
    #6 /html/REGDEV4/site/assets/cache/FileCompiler/site/modules/TracyDebugger/tracy-2.9.x/src/Tracy/Debugger/Debugger.php(311): Tracy\DevelopmentStrategy->renderBar()
    #7 [internal function]: Tracy\Debugger::shutdownHandler()
    #8 {main}

     

  5. Thanks kongondo!

    Pretty much did that but by populating the log file.

    I wasnt able to use the API from within the js (by just doing it) for following reason:
    in this install useFunctionsApi was disabled and $page() used.
    *facepalm*

    Just browsing htmx ... awesome. thanks for the hint!

    cheers

  6. I have visitors watching a stream and basically submit their attendance via a tracker.
    Click on button: "I'm here" -> create log-page.
    Click on button: "I'm out" -> add field value to this log-page.

    However, visitors are watching a stream or video an reloading the page would likely stop it and bloat other logs.
    For internal processing it would be nice to just have pw pages available rather than external logs/db.

    Is there a way to call pages api by js event?

    thanks!

  7. Sorry for coming back so late.

    Yes, I'm using most of these modules already and they are all great and useful but built for a purpose. Importing/managing many users or building a registration process (pro forms) is just no easy or fast task in PW.
    Not even considering Mrs. Welcomedesk to handle this ... ;)
    An All-In-One Registration/Management solution, well maintained with as little dependencies as possible .. i think, would add very nicely to the pro module stack.

    @adrian
    I did not figure it out yet too. It certainly is rooted in some problem with the site logic itself which does some redirection stuff. I will try it on a new installation and come back.
    Thanks so far. Really appreciate your help.

  8. I've sites with hundreds/thousand users which need to be setup easily and administered frequently & fast (live event site).
    All doable but would be great as paid, maintained pro module out of the box with a suitable gui.

    - Import / Export users CSV/Excel(!)
    - configurable actions like send different e-mails (templates), batch assign field values, ...
    - better, more efficient list view. lister is nice but rather hard to use for many values / entries.
    - API options for Mailchimp transactional API, ...
    - Adds Token/Forced PW change to Login-Register-Pro

    cheers.

  9. happens with either setting.

    relative shows in the url.

    https://www.../login-register/login-register/login-register/login-register/login-register/login-register/login-register/login-register/login-register/login-register/login-register/login-register/login-register/login-register/login-register/login-register/login-register/?profile=1

     

    thanks

  10. Hi,
    I need to set system field email to unique to allow login via email rather than name (session->login).
    However, it wont save the unique setting.

    ErrorException: Trying to access array offset on value of type int in /html/wire/core/WireDatabasePDOStatement.php:107

    thanks!
    ProcessWire 3.0.164
    LoginRegisterPro 0.0.3

    Solved. Edit: One double I/l E-Mail slipped  through. ... 

  11. Hi,

    I've access-controlled toggles (Superuser) that should control the visibility of Inputfields (repeater downloads) on the edit-page (modal) to editors.
    Is there a way to access the field value of those toggles (downloads_allow) for showif visibility?
    i only (rightly so) get the value if the toggle (downloads_allow) is editable by the editor.
    Is there a way to omit this just like the page selector "check_access=0".
    Maybe it's also possible to extend the "access fields via api even if hidden" option to such dependencies?

    thanks!

    Edit Page:
    - Tab Permissions
    - - Toggle "allow_downloads" (set by Superuser, access-controlled)

    - Tab Downloads
    - - Downloads Repeater (only visible to Editor if allowed)

  12. 4 hours ago, bernhard said:

    Hi @kater

    I've just added support for RockFinder3: https://github.com/BernhardBaumrock/RockTabulator/commit/b41362bbc4ffa29785fdfab6462ebaaabdabef41

    Usage is the same as with the oder rockfinders, though the commit also includes an example 🙂 

    Awesome. Thanks!

    Maybe it's possible to add an example for tabulator download functionality (with topMarkup?) at some point?
    http://tabulator.info/examples/4.0?#download

×
×
  • Create New...