Jump to content

zoeck

Members
  • Content Count

    145
  • Joined

  • Last visited

  • Days Won

    1

zoeck last won the day on January 22 2018

zoeck had the most liked content!

Community Reputation

111 Excellent

About zoeck

  • Rank
    Sr. Member
  • Birthday June 12

Profile Information

  • Gender
    Male
  • Location
    Bavaria, Germany

Recent Profile Visitors

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

  1. There's a new Pro Module: https://processwire.com/store/login-register-pro/ The "FrontendUser" is outdated ๐Ÿ˜‰ Last Update 2016...
  2. Just check the user role ๐Ÿ˜‰ https://processwire.com/docs/user-access/roles/ or change the permissions to your post page in the Admin Panel (or both!) https://processwire.com/docs/user-access/permissions/
  3. I need the whole Data for a datatable... Just added a "$allorders->relations->first()", then the following error occurs: Here's the dump of "bd($allorders->relations);" And just a dump of the rockfinder
  4. Thanks bernhard ๐Ÿ‘ i added a pagereference field to my order template and linked all invoices, but now, only the ids of the invoices are displayed - not the field rgnr. If I understand it correctly, I still need the "relations" Just added it like this: $arlink = $rockfinder ->find("parent=/projekte/rechnungen/, template=invoice") ->setName("arlink") ->addColumns(['rgnr']); $allorders = $rockfinder->find("parent=/projekte/auftraege/, template=order,ardatum>={$dateYearStart},ardatum<={$dateYearEnd}")->addColumns(['ardatum', 'arnr', 'title', 'arlink'])->addRelation($arlink); But there are no relations found?
  5. Only Text Fields ๐Ÿ˜‰ The data comes from an Excel file which is updated via cron. The data is only visualized via Processwire. For the query, I currently use 2 Rockfinder. $allorders = $rockfinder->find("parent=/projekte/auftraege/, template=order,ardatum>={$dateYearStart},ardatum<={$dateYearEnd}")->addColumns(['ardatum', 'arnr', 'title']); foreach($allorders->getRows() as $order) { // Output Order Informations $allrg = $rockfinder->find("parent=/projekte/rechnungen/, template=invoice, arnr={$order->arnr}")->addColumns(['rgnr']); foreach($allrg->getRows() as $rg) { // Output Invoices } }
  6. Sure ๐Ÿ™‚ I need something like this: // template order arnr | title -----|--------- 123 | Order 1 234 | Order 2 345 | Order 3 // template invoice rgnr | ordernr -----|--------- 100 | 123 101 | 123 102 | 234 103 | 234 104 | 345 // output should be arnr | title | rgnr -----|---------|---------- 123 | Order 1 | 100, 101 234 | Order 2 | 102, 103 345 | Order 3 | 104
  7. @bernhard: I have been using RockFinder since today and I am thrilled, thanks for this cool module. I can create reports twice as fast as before Now i have a question: I have 2 separate templates, 1x order and 1x invoice There is a field arnr in the order In the invoice there is a field ordernr and rgnr arnr and ordernr containing the same number I would like to list all invoices (field: rgnr) for one order (in one line), but somehow I do not know how to combine the two fields mentioned above Can you tell me if that's even possible?
  8. After I had a closer look at the repeaters, I could add the items to the repeater. It is actually not that difficult, but you need a little workaround: $repeatertemplate = $this->templates->get($this->fields->get("**REPEATERNAME**")->template_id); $rm->addFieldToTemplate("proj_milestone_date",$repeatertemplate); For each repeater a (hidden) template is created, you just have to find the template from the repeater and then add the field via RockMigrations ๐Ÿ™‚ It is also possible to add several fields with "addFieldsToTemplate", setFieldData is also possible.
  9. Is this possible with the "migrate" function? Just Added one Line on the "Upgrade" with the setFieldOptionsString -> working ๐Ÿ˜‰ Thanks! Migrations without repeaters ๐Ÿ˜ž thats uncool... Do you not use repeaters at all?
  10. Are there any problems when you create repeaters and use fields that are created in the same upgrade? There is no error, but my fields were not assigned to the repeater. Here's my Code... The Fields ""repeaterFields" => ["proj_milestone_type", "proj_milestone_date", "proj_milestone_done", "proj_milestone_text"]" are created before the repeater, but in the "same field creation step". 'proj_milestones' => [ 'type' => "Repeater", 'label' => 'Meilensteine', 'tags' => "Projekte", 'repeaterCollapse' => 3, 'repeaterLoading' => 1, "repeaterFields" => ["proj_milestone_type", "proj_milestone_date", "proj_milestone_done", "proj_milestone_text"], "repeaterMaxItems" => 16, "repeaterTitle" => "{proj_milestone_date} {proj_milestone_type}", "repeaterAddLabel" => "Meilenstein hinzufรผgen", "icon" => "calendar", "fieldContexts" => [ "proj_milestone_type" => [ "columnWidth" => 20 ], "proj_milestone_date" => [ "columnWidth" => 20 ], "proj_milestone_done" => [ "columnWidth" => 20 ], "proj_milestone_text" => [ "columnWidth" => 40 ] ] ], And a second problem with an option field: 'proj_milestone_type' => [ 'type' => "Options", 'label' => 'Meilenstein', 'tags' => "Projekte", 'inputfieldClass' => "InputfieldSelect", 'export_options' => ['default' => '1=Bestelleingang\n2=Kickoff\n3=Konstruktion Mechanik'], ], The options were not applied to the field ๐Ÿ˜ž
  11. Itโ€™s not a macro recorder, but do you know the admin actions Module? https://modules.processwire.com/modules/process-admin-actions/
  12. The last posts of Jonathan Dart are from the year 2016... it seems that there are no more updates here
  13. Very nice module! I've been using it for a few days now and I'm getting more and more excited every day. Once you know how to use everything, working with it is really fun, especially when you create an update for a larger project.
  14. You can create a own logout template/page with this content: <?php $session->logout(); $session->redirect('/');
ร—
ร—
  • Create New...