Jump to content

wbmnfktr

Members
  • Posts

    1,921
  • Joined

  • Last visited

  • Days Won

    44

Everything posted by wbmnfktr

  1. Nice addition. I personally would like to see that "not secure" badge all the time. Even way more in your face.
  2. 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.
  3. 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.
  4. 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.
  5. 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?
  6. 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 };
  7. 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/
  8. 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)
  9. Ask a lawyer, please. This exact question can be answered in different ways. Even lawyers may answer this totally different.
  10. 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.
  11. 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.
  12. 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/
  13. How do the URLs look? Are there /en/ and /cn/ in them? Is the page available in all languages under settings?
  14. A proper way to write cookies... JavaScript. An easy way to write and manage cookies... https://github.com/js-cookie/js-cookie
  15. 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.
  16. 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.
  17. I'm out of ideas by now. Everything else would be guessing. I'd double check everything. Templates, fields, pages, referenced pages, queries.
  18. How do you want to handle the whole shopping-cart-experience? Are you using Angular (or similar frameworks and tools) or do you want to handle everything with and within ProcessWire and PHP? Do you already have all the necessary business logic? Have you outlined a data model?
  19. Double check that the page is published and not hidden or unpublished or restricted in any kind.
  20. Is the referenced page viewable for guests?
  21. Can you provide examples/code that will help us to understand the problem and/or result. How many repeaters do you use? How do you call/query them? How do you want them sorted? I just tested it with 6 repeater items in a single page and get the results I expected.
×
×
  • Create New...