-
Posts
175 -
Joined
-
Last visited
-
Days Won
1
Everything posted by neophron
-
Hi guys, I'm involved in a project with two main domains, each split into subdirectories representing countries. And finally there will be also a multi-langual function. So this is the structure: mydomain_first.global (in english, for neutral visitors) mydomain_first.global/at/ mydomain_first.global/bg/ mydomain_first.global/ch-de/ mydomain_first.global/ch-fr/ mydomain_first.global/ch-it/ mydomain_first.global/de/ mydomain_second.global (in english, for neutral visitors) mydomain_second.global/at/ mydomain_second.global/bg/ mydomain_second.global/ch-de/ mydomain_second.global/ch-fr/ mydomain_second.global/ch-it/ mydomain_second.global/de/ Every visitor will be redirected by geolocation to the country of interest. The goal is, to manage all these domains in one PW installation. For now there is a PW installation with the multisite module (https://github.com/somatonic/Multisite/). Аll discussion here are about other domains and subdomains. In our case, we're dealing with subdirectories (a good explanation can be found here: https://neilpatel.com/blog/international-seo/). Sub-directory is a combination of ISO 2-digit country plus 2-digits language codes. The main reason for managing all this in one PW installation is to keep the later support on a low level. Is PW capable to manage this structure?
-
¡Muchas gracias!
-
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.
-
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.
-
Thanks for this. I want to show this error for better search results: WireDateTime: The parsed time was invalid
-
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%.
-
Thanks a lot for your quick response. It works ?
-
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"
-
Damn, I totally forgot about! Thanks for the explanation ?
-
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.
-
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.
-
Webhosting in Germany -Any recommendation for Processwire site
neophron replied to Knubbi's topic in Getting Started
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/ -
[Solved] Backend: Thumbnails in site structure
neophron replied to neophron's topic in General Support
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/- 3 replies
-
- backend
- thumbnails
-
(and 1 more)
Tagged with:
-
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?
- 3 replies
-
- backend
- thumbnails
-
(and 1 more)
Tagged with:
-
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?
-
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.
-
I refreshed the modules after I replaced the module. The error is still there. Check my screenshots.
-
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?
-
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.
-
Hiding a container folder inside Breadcrumbs nav?
neophron replied to PhotoWebMax's topic in API & Templates
Thanks! -
Hiding a container folder inside Breadcrumbs nav?
neophron replied to PhotoWebMax's topic in API & Templates
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>"; -
Thanks a lot. This is of course the better solution for the long run.
-
@ukyo Teşekkürler! This is the solution!
-
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> "; } ?>