Jump to content

kaz

Members
  • Posts

    225
  • Joined

  • Last visited

Everything posted by kaz

  1. When I do code changes, they are not displayed in the browser. Only when I change a content in the editor (for example a heading), save, clear the cache, the code changes will be displayed. Is this normal? A wrong cache setting in the development?
  2. I have implemented the module, it works fine. The data comes from a page with global settings. What I don't understand, the marker has a link to the Global Settings page. But I don't want a link in the marker, I just want the marker with name and address. In the description I found how to add an address, but unfortunately not how to remove the link. $options = array('markerIcon' => 'star', 'markerColour' => 'blue'); echo $map->render($pages->get('1025'), 'location', $options); Can the link be prevented in the options?
  3. I have created a template with a PHP file, with fields, everything are included. The template is in the editor, pages, settings, template not visible. What could be the reason for this? PS: It's a template for a lister; in the lister I was able to add it.
  4. @wbmnfktr Wow, that actually worked, I was able to install it ?
  5. Maybe something is blocked at the provider when the module is installed? As soon as I copy the module into the folder the admin is completely dead. Can I change the Namespace before installation ? How does it work?
  6. @wbmnfktr PW 3.0.165, PHP 7.4, PageTableExtended 2.3.3 Beta Debug-Mode is already activated. But: I can't install the module. The moment the PageTableExtended folder is dropped, the administration is dead. Therefore I can't check it via Debug.
  7. Good idea, but this did not help, the error remains.
  8. I copied the module folder to /site/modules: /site/modules/PageTableExtended-master Downloaded from: processwire.com/modules/fieldtype-page-table-extended/ When I go to "modules" and "search for new modules" I get an: Server Error We're sorry! The server encountered an internal error and was unable to complete your request. Please try again later. error 500 After that, an access to Modules is no longer possible in Admin. So I delete the folder, and everything is okay. What could be the reason for this?
  9. such a 'little thing', and it works. Thanks a lot!
  10. I have a repeater image field: <img src='$repeater->field->url'> In the browser it appears like this: <img src='image.jpg->url'> Why the "->url" is not interpreted? Actually the path should be placed <img src='site/assets/files/123/image.jpg'> !?
  11. There is nothing in the backend to Tracy. There are only two entries in the modules directory: Tracy Debugger + Process Tracy Adminer. I have viewed both, but find no option for a debugger. The help unfortunately also gives no information about the use, no 'go on'.
  12. I have installed Tracy, but I don't understand how to use it? The options are massive. I assume that if there are any errors, Tracy will show them in the front or back end? But, no errors displayed. Then maybe it's not a code error!? Maybe the 'Images' field does not can handle multiple photos? Maybe I need a ProFields repeater for this? I don't use any additional scripts, except the CSS framework, which could cause the error, which is not shown. The slider is already in Materialize: materializecss.com/media.html#slider
  13. No, that unfortunately does not work either. The result looks this way: <section class="slider"> <ul class="slides"> <li> <img src="" alt=""> </li> <li> <img src="" alt=""> </li> <li> <img src="" alt=""> </li> <li> <img src="" alt=""> </li> <li> <img src="" alt=""> </li> <li> <img src="" alt=""> </li> <li> <img src="" alt=""> </li> <li> <img src="" alt=""> </li> <li> <img src="" alt=""> </li> </ul> </section> Uploaded were 2 photos, 10 list items returned blank. The name of the field is correct. When I start the photo single it is not displayed either. <img src="<?php echo $heroimage->url; ?>" alt="<?php echo $heroimage->description; ?>"> Is it perhaps because the field is a multiple field and I am uploading multiple files (Maximum allowed number of files: 5)? That's why I took foreach, so that the list items build up based on the number of photos. I need it for the Materialize CSS Slider, it's built up in a simple list, one list item per photo.
  14. Sorry, I wake up an old post, but it fits exactly my question: I don't upload multiple photos with the editor, I upload them with an image field (heroimage). Will this work then too? I have adjusted the code so, but unfortunately the output is missing: <section class="slider"> <ul class="slides"> <?php if($page->heroimage->count): ?> <li> <?php foreach($page->heroimage as $image): ?> <img src="<?php echo $page->image->url; ?>" alt="<?php echo $page->image->description; ?>"> <?php endforeach; ?> </li> <?php endif; ?> </ul> </section> The output is without error message, but unfortunately also without list: <section class="slider"> <ul class="slides"> </ul> </section>
  15. @Pixrael this code replaces the if query in one line? Edit: It has no nested brackets ?
  16. I was searching for hours, I have not seen it – thanks!
  17. I have a template with fields for a settings page. Because the pages that should access the fields from the template 'settings' use a different template 'base', I access them via ID: <?php echo $pages->get('1025')->FIELD; ?> But now I need an if version for some fields. Unfortunately not so easy, because I have nested brackets that lead to an error message. <?php if ($page->get('1025')->FIELD): ?> <?php echo $pages->get('1025')->FIELD; ?> <?php endif; ?> I have tried it with square brackets, but i can't get it work. <?php if ($page->get['1025']->FIELD): ?> How does a if query from a field from another template (ID) looks like?
  18. Is the module not developed further? I have the same error which was reported back in 2017: Module is not installable because not all required dependencies are currently met. PHP 7.4.14 >= 5.6MarkupPwpswpGallery PHP 5.6 is hardly supported anymore for many providers. It makes no sense (!?) to use tricks to start the installation. A question to the developer, what is the future of MarkupProcesswirePhotoswipe? Will the PHP problem be fixed upon backend installation?
  19. awesome, it works! Thanks for your continued patience!
  20. Thanks @Zeka I don't understand the code, in what context is the size line above the div tag? Where does this line belong? I am a newbie, I don't understand the connections so far, belongs the line also in the template?
  21. I can't get that background images work. An example of two situations in default template: Once the image as a simple image - that works: <img src="<?php echo $page->myimage->httpUrl; ?>" alt="<?php echo $page->myimage->description; ?>"> And then the image as background image - unfortunately that doesn't work: <div style="background: #999 url('<?php echo $page->myimage->httpUrl; ?>') no-repeat center"></div> The path of the images is correct, the source code is fine, no matter if I use 'url' or the full path 'httpUrl'. How to build a background image from a defined image field, for example myimage?
  22. I have placed the code as indicated by the developer. I couldn't find a bug. But I'm not a master programmer, so it was probably my fault.
  23. I have installed for the first time the "Markup Simple Navigation". It works, the UL is given, as well as the LI with labels parent has_children: <nav class="nav-main"> Array<ul> <li class="level-1 current"><a href="/">Home</a></li> <li class="level-1 has_children"><a href="/service/">Service</a> <ul> <li class="level-2"><a href="/service/general-service/">General Service</a></li> </ul> </li> </ul>1 </nav> But I don't understand why the word "Array" is placed before, and a "1" after the UL. ProcessWire 3.0.165 Blank Installation MarkupSimpleNavigation 1.3.6
  24. kaz

    Client Login

    Why I can't ask a question for a module in the Modules/Plugins board? Where could that be better? I can't understand, that a search for a module is better placed in the General Board than in the Modules Board ;) No problem, push it …
  25. kaz

    Client Login

    Thanks for your help, with your experience it's easier to find a solution.
×
×
  • Create New...