Jump to content

neophron

Members
  • Posts

    174
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by neophron

  1. Hi, thanks for your help, but right now it doesn't work. I prepared in codepen an example: https://codepen.io/neophron/pen/mdeaoyK I also tested the accordion example directly in codepen (https://getuikit.com/docs/accordion) with your script, but with no result.
  2. Hi guys, I have a page with multiple uk-accordions (https://getuikit.com/docs/accordion). The problem is, that if an user opens an item in one uk-accordion and after that clicks on the next item in a different uk-accordion, the first item stays open. I want to change this in a way, that nevertheless where the user clicks, only one item should be visible. I found a script and now I'm trying to adopt it: $('.uk-accordion > li > a').click(function(e) { // hide all div.uk-accordion-content $('.uk-accordion-content').attr("hidden", true); // remove class .uk-open $('.uk-accordion > li').removeClass('uk-open'); $(this).addClass('uk-open'); // show selected accordion var id = $(this).data('.uk-accordion'); var article = $('article[data-article=' + id + ']'); article.removeAttr('hidden'); }); $('.uk-accordion > li > a').click(function(e) { e.preventDefault(); }); As you see, my problem is, that I'm not familiar with js.
  3. Thanks for this. I want to show this error for better search results: WireDateTime: The parsed time was invalid
  4. Recently I discovered this plugin: https://github.com/BlowbackDesign/TinyPNG I found it on this website: https://tinypng.com I don't know, what and how they are doing, but the size reductions is sometimes more then 50%.
  5. Thanks a lot for your quick response. It works ?
  6. Hi, I'm having trouble with a maybe simple code: I created a repeater (gallery_logos_links) and a repeater matrix (RepeaterMatrix_unternehmen). The repeater (gallery_logos_links) is inside the matrix repeater as a matrix type. The repeater matrix type is: gallery_logos_links and the image filed from the repeater is single_image. This my code: <?php foreach ($page->RepeaterMatrix_unternehmen as $item) { if ($item->type == 'gallery_logos_links') { echo " {foreach($item->repeater_logos_links as $logo)} <img src='{$logo->single_image->url}' alt='{$logo->single_image->description}' width='400'> {endforeach} "; } else if ($item->type == 'some_stuff') { echo"
  7. Damn, I totally forgot about! Thanks for the explanation ?
  8. I know this link, but it doesn't exist right now Sorry, there is a problem We could not locate the item you are trying to view. Error code: 2F176/1 Thanks, I'll check both modules.
  9. Hi, I hope, this is the right place for questions about the Formbuilder (I couldn't find in the ProField support a subsection for the Formbuilder). A client needs for his website a random generator of a code (as winning numbers). This generator should be placed in a simple form (name and email) and a random generated code should be visible there. This code, or winning number, must be stored in the db together with the name and email. And the participant must receive a confirmation email with this code. I know, that the Formbuilder can store and send data to the user. But what about a random generated code? Is this a hook job? I found this module: http://modules.processwire.com/modules/process-field-generator/ but it's not for PW 3.
  10. neophron

    SEO Tools

    Hi guys, after getting a complain message from google about a robots.txt (where everything is ok), I searched for an online tool, where I can test my robots.txt files. I found this website: https://technicalseo.com/tools/ This page offers a bunch of nice tools, just wanted to share it with you.
  11. In any case DON'T take 1und1 (Ionos), Strato and 1blu! Check out this site: https://www.hosterz.de/anbieter/ For small websites Alfahosting could be a good choice, but if you have more domains and databases, the backend is complicated. This company looks interesting: https://www.netcup.de/hosting/
  12. Thanks! I was never looking around in this part of Processwire. This is another example how complex (in a positive way) Processwire is. At first sight simple, but as deeper you go, the more treasures you find. The module you mentioned is probably this: https://modules.processwire.com/modules/page-list-image-label/
  13. Hi there, I have a site with a lot of pages (more than 200, growing), where every page shows only one image. I noticed that in the backend of the Skyscrapers website, every page with a skyscraper has a thumbnail. I suppose, that ListerPro is behind this. Can I achieve this (thumbnails) only with ListerPro or are there other solutions?
  14. Hi Peter, I just found your post: If I activate the options »Prevent search engines from indexing this page« and »Prevent search engines from following links on this page« see maestro will generate <meta name="robots" content="noindex, nofollow">. The no existing of this meta-tag is equal to <meta name="robots" content="index, follow">. Is this correct?
  15. Now I took a different PW installation on a different server, I installed SeoMaestro the classic way, trough modules --> install. I tested till now only the sitemap.xml generation and it works fine.
  16. I refreshed the modules after I replaced the module. The error is still there. Check my screenshots.
  17. I replaced your latest version from github. Now the sitemap generation works fine, but as soon as I'm editing a page, this error shows up in the backend/admin area: WireDatabasePDO: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'field_seomaestro.structuredData_inherit' in 'field list' This error appears only in pages with templates, where the seomeastro field is included. Do you need more informations from my installation?
  18. Hi, I noticed the following problem: Processwire 3.0.123 and seomaestro 0.9.0, the step after the installation, where you can enable the sitemap generation. After hitting »submit« I got this error: Session: Failed to generate the XML sitemap. Make sure that "/www/htdocs/.../pw-3-0-123" is writeable. This happens in two different PW installations. After replacing the module with the 0.6.0 version, everything works fine.
  19. Hi there, five years later… ? Is it possible to hide a page in a breadcrumb depending on the template? Something like this (it's not working): <?php foreach($page->parents() as $item) { if ($item->('template=myTemplate')) continue; echo "<li><a href='$item->url'>$item->title</a></li> "; } echo "<li>$page->title</li>";
  20. Thanks a lot. This is of course the better solution for the long run.
  21. @ukyo Teşekkürler! This is the solution!
  22. The image field is »array of items« with 0=no limit. And this is the code the template: <?php foreach($page->images_slider as $slide_image) { $slide = $slide_image->size(0,700); echo " <li class='uk-width-3-4'> <img class='photo' src='{$slide->url}' alt='{$slide_image->basename}' height='700' /> </li> "; } ?>
  23. Hi, I was searching in the forum about a method how to remove a file extension, like .jpg, but couldn't find anything. There are some php methods out in the wild, but I wanted first to get sure, that Processwire is offering a solution. The background is, that a clients website has a lot of images, packed in different galleries. All image files contain the name, dimensions and other stuff about the image (painting). I want to echo the image name in the image tag. thanks
×
×
  • Create New...