-
Posts
436 -
Joined
-
Last visited
-
Days Won
2
Everything posted by zoeck
-
Module FrontendUser: login, logout and register users / members
zoeck replied to pwFoo's topic in Modules/Plugins
There's a new Pro Module: https://processwire.com/store/login-register-pro/ The "FrontendUser" is outdated ? Last Update 2016... -
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/
-
RockFinder3 - Combine the power of ProcessWire selectors and SQL
zoeck replied to bernhard's topic in Modules/Plugins
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 -
RockFinder3 - Combine the power of ProcessWire selectors and SQL
zoeck replied to bernhard's topic in Modules/Plugins
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? -
RockFinder3 - Combine the power of ProcessWire selectors and SQL
zoeck replied to bernhard's topic in Modules/Plugins
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 } } -
RockFinder3 - Combine the power of ProcessWire selectors and SQL
zoeck replied to bernhard's topic in Modules/Plugins
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 -
RockFinder3 - Combine the power of ProcessWire selectors and SQL
zoeck replied to bernhard's topic in Modules/Plugins
@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? -
RockMigrations1 - Easy migrations from dev/staging to live server
zoeck replied to bernhard's topic in Modules/Plugins
Works without problems, thanks ? -
RockMigrations1 - Easy migrations from dev/staging to live server
zoeck replied to bernhard's topic in Modules/Plugins
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. -
RockMigrations1 - Easy migrations from dev/staging to live server
zoeck replied to bernhard's topic in Modules/Plugins
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? -
RockMigrations1 - Easy migrations from dev/staging to live server
zoeck replied to bernhard's topic in Modules/Plugins
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 ? -
It’s not a macro recorder, but do you know the admin actions Module? https://modules.processwire.com/modules/process-admin-actions/
-
The last posts of Jonathan Dart are from the year 2016... it seems that there are no more updates here
-
RockMigrations1 - Easy migrations from dev/staging to live server
zoeck replied to bernhard's topic in Modules/Plugins
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. -
You can create a own logout template/page with this content: <?php $session->logout(); $session->redirect('/');
-
These are two completely different modules Formbuilder: Forms that can be filled out and sent via the frontend (save to page, send an email etc.) Login register: Users can register and will receive a corresponding e-mail. Users can edit a (customizable) profile themselves in the frontend. There is a forgotten password function
-
-
Just Go to the Downloads Page: https://processwire.com/download/core/ theres the current Master and dev Version (3.0.155)
-
it’s a normal processwire selector: https://processwire.com/docs/selectors/ your field name is show_in_menu, correct? simply use: 'selector' => 'show_in_menu=1',
-
You can add a new checkbox field „Show in menu“. And then use the selector for this field ?
-
I think this can already be used, since it actually only affects the front-end. And the front-end is created by the developer anyway ?
-
This is my standard setup: FormBuilder FrontEndEditLightbox MarkupSimpleNavigation MarkupSitemapXML ProcessWireUpgrade TracyDebugger AdminOnSteroids ProFields Process Dashboard SeoMaestro
-
It always depends on what you want to do with the system. If you only want to create single pages with text and a blog, then Wordpress might be the right choice. However, if you want to create customized pages with specific functions, tailored to a customer or a project, Wordpress gets very complicated. This is where Processwire can make the most of its advantages: - easily extendable - the edit surfaces are almost perfectly adapted to the pages - high-level flexibility But to use Processwire, you need to know HTML and PHP. But if you want to use Wordpress not only with ready-made themes and modules, you need the same knowledge. In my opinion Processwire is even easier.
-
There‘s the Same question here ?
-
Officially, the Formbuilder module cannot edit pages. But there are already discussions in the internal forum about how to implement it (hooks etc. - but not OOTB!), but i never tested this Addons and i dont know if this addons work!