Jump to content

rjgamer

Members
  • Posts

    82
  • Joined

  • Last visited

Everything posted by rjgamer

  1. I'm not 100% sure at the moment. But I didn't delete the old tables when I installed a backup made by Duplicator (tought it would drop all tables first). I will keep you up to date.
  2. Why is the corresponding table not automatically deleted by ProcessWire after a field is deleted in the admin panel? Now I have numerous "dead" tables of no longer existing fields in the database of my ProcessWire installation. Or is there a configuration that I have missed? Thanks for your support.
  3. @Robin S @ryan maybe you can answer my question?
  4. Hi, I'm using Fieldset (Page) a lot for my sites. But unlikey the field only support fieldset as fieldset type. Is there any support to choose the fieldset type for Fieldset (Page), like it is supported for Fieldset (Group)? Example of the fieldset type selection for Fieldset (Group): Thanks.
  5. @Robin S Can you please provide use the TemplateStub fixes? Issue: https://github.com/mindplay-dk/TemplateStubs/issues/1 Or is there another solution now, to get the template fields auto completed? Thanks.
  6. Wow, thank you mate for your fast response to my feature request!
  7. Hi guys, I recently visited GitHub, researched the source code of ProcessWire and created a pull request for a small typo fix. But what I saw did not make me really happy. ProcessWire has a huge list of mostly small but usefull pull requests which are all open. https://github.com/processwire/processwire/pulls?page=1&q=is%3Apr+is%3Aopen Why is this? If they are not usefull, why are the pull requests not getting closed? Best regards, rjgamer
  8. Found the problem: The autodetection does not detect the current page. Instead it detects and uses the Repeater Matrix page as current page, which does not have a template with allowPageNum enabled. Fix: Add the real page as option to the pager if you need pagination in Repeater Matrix. Check 3rd line: ... echo $items->renderPager([ 'page' => wire('page'), 'listMarkup' => '<nav aria-label="navigation"><ul class="pagination">{out}</ul></nav>', 'itemMarkup' => '<li class="page-item {class}">{out}</li>', 'linkMarkup' => '<a class="page-link" href="{url}">{out}</a>', 'currentLinkMarkup' => '<a class="page-link" href="{url}">{out}</a>', 'currentItemClass' => "active" ]); ... File: partials/feed/items/list.php
  9. Yeah, I dont know why. There is also no error or any redirect. ?
  10. Hi folks, my current pagination implementation does not work. The research via Google and this forum did not result in a success. Some details: The template of the pages has pagination enabled in the admin. URL Segments are not enabled. The buttons are correctly rendered. Clicking on the "Next" or numbered links merely reloads the current page. The link href values are properly being output with the current page url with ?page=1, ?page=2, etc. Manually entering the paginated urls has the same effect of reloading the current page with no new content. Pages are being returned from the ->find function properly and with the proper limit. A few other details: ProcessWire v3.0.140 Multi-language is enabled, 2 languages implemented, only one is use. Implemented as partial of a partial of a "Repeater Matrix"-field. ... echo $items->renderPager([ 'listMarkup' => '<nav aria-label="navigation"><ul class="pagination">{out}</ul></nav>', 'itemMarkup' => '<li class="page-item {class}">{out}</li>', 'linkMarkup' => '<a class="page-link" href="{url}">{out}</a>', 'currentLinkMarkup' => '<a class="page-link" href="{url}">{out}</a>', 'currentItemClass' => "active" ]); ... File: partials/feed/items/list.php <div id="feedItems"> <div class="container"> <?= wireRenderFile('partials/feed/items/list', [ 'items' => $items, ]); ?> </div> </div> File: File: partials/feed/items.php echo wireRenderFile('partials/content-section', [ 'title' => $page->section_title, 'body' => wireRenderFile('partials/feed/items', [ 'items' => $pages->find('limit=2, template=feed-item, feed_item_published<=' . time() . ', sort=-feed_item_published'), ]) ]); File: fields/section/section_feed.php Thanks for help...
  11. You are right. I've tested a lot of solutions in last few hours. It seems to be the fastest, most user-friendly and most flexible way to get it done without any third-party module or core manipulation.
  12. Hi, yeah, I saw it. But I don't like it, that you have to create a "settings" page under home to store the data. This is very iritiating for a dummy user. Is there no solution to create a hidden "settings" page and then map it to the admin page?
  13. Cool. Thanks. I think it is the only way for me and my customers to create a own module.
  14. Learning by doing. Could find it out by myself ? But... What does ATO mean? Any plans for the next final release?
  15. Thanks for your links. I already know these solutions. But they are not "user friendly" for non-technical users. General site settings module is buggy in latest PW dev version and settings factory does not offer a solution based on uikit formatted input forms. The solution written in this post is perfect for my use case, but I want to prevent to create mulitple settings page under home and admin, only to get it accessible trough "setup > settings". Offtopic: Cool zgseh dass oh Schwiizer hie mit mache ?
  16. Does the duplicator also duplicate the database? If yes, how does it work?
  17. Hi folks, is there any "better" solution for global settings today as written in this thread? I've a few input fields like website_title and website_image which I want to be editable trough a admin page (e.g. setup > settings) and accessible in my template (e.g. $settings->website_title) Best regards, rjgamer
  18. Sorry, I think you misunderstood my question. I asked for a solution to find field values of a page, based on a specific field tag and not pages.
  19. Thanks! I already found $page->fields in the docs, but didn't reconise that I could use ->find('tags=custom').
  20. Hi, how do I get the values of a page tagged by specific field tag? Something like $page->getByTag('custom'), if I had tagged multiple fields by a tag called "custom". Thanks, rjgamer
  21. Hi guys, the template files has by default to be stored in this base path: /site/templates/ How can I change the base path in the config to /site/templates/pages/ ? Thanks, rjgamer
  22. Hi folks, I'm new to PW and have to say: I really like it! After 15 years of using WebsiteBaker or similar forks of it, I'm ready to switch to ProcessWire. I'm handling the site-wide settings in a Fieldset-tab in home-page: Can I use the Fieldset name as API key? Because currently on my installation, the name of the fieldset is not accessible as WireData/array and returns null: $home = $pages->get('/'); echo $home->site_settings->site_title; // does not work, throws error because site_settings is null echo $home->site_title; // does work If configurable, I want the similiar API-behaviour of fieldset to access the child fields like with the repeater. Thanks for your support.
  23. Is this still the best approach to handle site-wide custom settings without any modules? Edit: Oh, I see this thread is older than my two daughters ? Sorry for that.
  24. Hi, I'm a web developer only in my free time and don't have a huge budget. Is there any solution to evaluate the ProFields first, before I have to buy them? Like an evaluation license for 30 days or something. Thanks, rjgamer
×
×
  • Create New...