Jump to content

MateThemes

Members
  • Content Count

    45
  • Joined

  • Last visited

Community Reputation

13 Good

1 Follower

About MateThemes

  • Rank
    Jr. Member

Contact Methods

  • Website URL
    https://mate-themes.com

Profile Information

  • Location
    Austria

Recent Profile Visitors

432 profile views
  1. Hello! Are there any news on Padloper 2? (release date etc.) I am currently planning a theme marketplace and I want to realize this with Processwire and Padloper 2. Thanks!
  2. Thank you for your help!!! It is good that I can leave everything as it is!
  3. Hello everyone! I have webcam images, that are uploaded every 5 minutes to the server. Currently the webpage is written in plain html but we want to switch to processwire. The current file path is in the root -> cam/someimage.jpg. Now if i am installing processwire, processwire will be in the root and the images could be still in cam/someimages.jpg but how can I access this images on a page? Or does anyone have expiriences with such topics? Thank you in advance!
  4. Hello!!! Thank you very much for your help!!! It works now like a charm!
  5. Hello!!! Thank you for the share. This is what I need!!! What is the best way to get the fields in the template if you want to access them?
  6. As I described in short, I tried it with a custom settings page (with a blank template) under admin. But then no Fields were assigned. I tried it this way because I want to have a native feeling for the settings and the page should appear under the main navigation. Is there any detailed tutorial for my purpose? I didn't find any. I didn't know the module "settings factory" I will give it a try.
  7. Hello everyone! I have searched the forum for quite a long time and I tried some solutions for my topic but nothing seems to work. I need to create a Settings Page and for a native feeling I want to create it under the main navigation on top. The settings page should hold the Main Logo, some styling and other settings. As I said nothing seems to work for me. I tried to create a Page under Admin with Admin Template and ProcessPageEdit but then I can't assign an image field. I don't want to write a module because it is to much work for only 3 settings. I hope someone of the forum could help me out! Have a nice day!
  8. Hello everyone! I have a problem with pagination. I have following code: <div class="uk-section"> <?php $results = $pages->find("template=gallery, limit=10, sort=title"); $pagination = $results->renderPager(); echo $pagination; echo "<ul class='uk-pagination uk-flex-center'>"; foreach($results as $result) { echo "<li><a href='{$result->url}'>{$result->title}</a></li>"; } echo "</ul>"; echo $pagination; ?> </div> Which works fine. And this markup results in following html code: <div class="uk-section"> <ul class='uk-pagination uk-flex-center'> <li> <a href='/galerie-bisheriger-projekte/'>Galerie bisheriger Projekte</a> </li> <li> <a href='/galerie-bisheriger-projekte/galerie-1/'>galerie-1</a> </li> </ul> </div> But instead of "Galerie bisheriger Projekte" and "galerie-1" I want to have a number. And as last question, how can I add a previous and next button? Thanks for your help!
  9. Here is my Patreon! https://www.patreon.com/matethemes If you wanna support the work... Processwire is the greatest CMS I have ever seen.
  10. Hello everyone! I decided to develop a marketplace for Processwire. What do you think about that? It should be a centralized place for modules and profiles! Who wanna to collaborate with me?
  11. I am really looking forward for this ecommerce module. Are there any plans about pricing for the module for now? Thank you!
  12. Hello everyone! So as far as I understand the discussion, it is not possible to make a repeaterfield searchable in a repeater matrix. Is this right? Thank you!
  13. Thank you very much for this starting tutorial! I love to work with Twig. I am switching over from OctoberCMS to Processwire and it is hard to get over from Twig template files to a plain PHP. So I am happy to have a starting point to start working with Twig in my Processwire Projects. Greetings from Austria to Germany
  14. Thank you for your answer. It seems like the problem is, that the field is in a repeater matrix and then in a repeater. The hierarchy is: - repeater_matrix -- aboutusblock_repeater ---- textfield Could that be?
  15. Hello everyone! I am trying to add my repeater matrix fields to the search selector, but unfortunately nothing seems to work for me. I have following search code in my search.php: <?php namespace ProcessWire; // look for a GET variable named 'q' and sanitize it $q = input()->get('q'); // sanitize to text, which removes markup, newlines, too long, etc. $q = sanitizer()->text($q); // did $q have anything in it after sanitizing to text? if($q) { // Make the search query appear in the top-right search box. // Always entity encode any user input that also gets output echo '<input id="search-query" value="' . sanitizer()->entities($q) . '">'; // Sanitize for placement within a selector string. This is important for any // values that you plan to bundle in a selector string like we are doing here. // It quotes them when necessary, and removes characters that might cause issues. $q = sanitizer()->selectorValue($q); // Search the title and body fields for our query text. // Limit the results to 50 pages. The has_parent!=2 excludes irrelevant admin // pages from the search, for when an admin user performs a search. $selector = "title|body~=$q, limit=50, has_parent!=2"; // Find pages that match the selector $matches = pages()->find($selector); } else { $matches = array(); } // unset the variable that we no longer need, since it can contain user input unset($q); ?> <main pw-replace='main'> <?php include('./includes/_pageheadersearch.php'); ?> <div id='content-body' class='uk-section uk-section-large uk-section-large'> <div class='uk-container uk-container-small'> <?php // did we find any matches? if(count($matches)) { // yes we did, render them echo ukAlert(sprintf(_n('Found %d page', 'Found %d pages', $matches->count), $matches->count), "default", "check"); echo ukDescriptionListPages($matches); } else { // we didn't find any echo ukAlert(__('Sorry, no results were found'), "danger", "warning"); } ?> </div> </div> </main> I have tried to add my fields to the selector code (repeater_matrix.aboutsblock_repeaters.mytextfield) . But I didn't get any results. What I am doing wrong? Thanks for your help!
×
×
  • Create New...