Jump to content

wbmnfktr

Members
  • Posts

    1,969
  • Joined

  • Last visited

  • Days Won

    45

Everything posted by wbmnfktr

  1. Not mine but... .. lots of inspiration here: https://www.lapa.ninja/category/portfolio/ http://www.hixle.co/?s=portfolio .. some free templates here: https://html5up.net/ https://www.styleshout.com/ .. some premium stuff here: https://themeforest.net/category/site-templates
  2. There was a similar thead a few days back but sadly without a solution: I never tried to run a PW instance on an IP address in a subfolder. Maybe there .htaccess issues or something like that.
  3. Extend that solution with a check for facebook.com / twitter.com / whatever.tld and you can apply social icons as well.
  4. Is there anything showing up in the dev console? Any JS or 404 errors? Is this a local (WAMP, XAMP, MAMP, Laragon) or remote/server setup?
  5. Woah! I knew that today will work but... woah! That makes dev-life a lot easier.
  6. Nice addition. I personally would like to see that "not secure" badge all the time. Even way more in your face.
  7. Newsletter-Tools... the reason why I prefer Mailchimp, CampaignMonitor, and similar solutions: I don't have to invest in servers, several IP addresses and maintenance. I don't have to take care of blacklists, spam-prevention-configurations, routings and all that technical stuff. Mailchimp & Co. do this for me. They want my money and they want me to be happy with their service. Self-hosted solutions never worked for me, the companies I worked for, clients and most people I know who do newsletter-marketing. Just my opinion. It may work really well for you.
  8. For a long time I used to use the recommended Google way by just placing their snippets. Then some clients wanted to have their sites faster. Less requests. Less files. As fast and as clean as possible. I moved over to hosting fonts on their servers. But... this only works in some cases. Sometimes you can't use this method as you are not allowed to do so or don't get the files you need. If possible I add the fonts to the server. Do I take care of updated or removed versions? Not that much to be honest. Recently I just stopped using webfonts at all for smaller projects (or landing pages, micro sites). If there is absolutely no need for a special font I use system fonts. html { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; } It works pretty well so far. You won't get an FWA award for those sites but who cares.
  9. In Setup / Languages / LANGUAGE you can look for Site Translation Files. You can get a list of all files that can be translated. Once you created the file index, you look for the LoginRegister.module and can start translating it. You get an interface with all things you can translate.
  10. Ok... I don't have the exact same ProcessWire setup like you but sorting and filtering my page field's entries works with the example above. Is there a detail we miss at this point?
  11. Can you please try this: <?php // get all pages in page field $resultsAll = $page->my_page_field; // filter $resultsByCategory = $resultsAll->filter('category=1474'); // sort $resultsSorted = $resultsByCategory->sort('sort'); foreach($resultsSorted as $result) { // whatever };
  12. A nice thread on Twitter about companies that block users from the EU because of GDPR: Source: https://t3n.de/news/dsgvo-erste-us-unternehmen-1078319/
  13. Another day, another level in DSGVO-Madness (in Germany) https://www.golem.de/news/eu-datenschutz-kontrollbehoerden-koennen-dsgvo-kaum-durchsetzen-1805-134304.html (EN Version) https://t3n.de/news/dsgvo-angela-merkel-aenderungen-1078083/ (EN Version)
  14. Ask a lawyer, please. This exact question can be answered in different ways. Even lawyers may answer this totally different.
  15. So not at the same time. The user has to decide/switch to its favourite language. To get this done please read the article I linked above. You may although want to create a new ProcessWire instance with the Multi-Language Profile. In that profile you will find almost everything you want and need. This will help you to understand how ProcessWire handles everything.
  16. So you want the homepage to be displayed in both languages at the same time? Please refer to this article about multi-language fields. There are lot of examples that will guide you through the handling of multi-language fields/sites/setups. https://processwire.com/api/multi-language-support/multi-language-fields/ As far as I understand your goal you want to achieve and the settings I see it looks pretty well so far.
  17. Just played around with one of my fun-sites and saw something that might clear your problem. Unless your homepage (id=1) doesn't have a "country-code url" multilanguage doesn't work properly on other side. Homepage: Other site: Default: http://nerd.to/processwire/snippets/ German: http://nerd.to/de/processwire/snippets/
  18. How do the URLs look? Are there /en/ and /cn/ in them? Is the page available in all languages under settings?
  19. A proper way to write cookies... JavaScript. An easy way to write and manage cookies... https://github.com/js-cookie/js-cookie
  20. I don't know but I guess there are ways to check it via API. If it's the same field as in other templates and if there are no permissions set for that field there must be another problem. Right now without knowing anything about templates, fields, references, or queries I'm out.
  21. I wouldn't write those cart items to ProcessWire in first place. I'd store everything in a cookie so I can work with the data everywhere on the page. When the user is done - either in the cart itself or on a checkout page - I would render a list with all the items and relevant details and actions. The last step - sending the details to whoever - can be done via mail or FormBuilder or a custom form. Just as @Ivan Gretsky already mentioned. At that very moment when everything is done or about to be completed you could also save a dump of your cookie/cart/mail to ProcessWire.
  22. I'm out of ideas by now. Everything else would be guessing. I'd double check everything. Templates, fields, pages, referenced pages, queries.
×
×
  • Create New...