-
Posts
2,109 -
Joined
-
Last visited
-
Days Won
51
Everything posted by wbmnfktr
-
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?
-
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 };
-
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/
-
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)
-
Ask a lawyer, please. This exact question can be answered in different ways. Even lawyers may answer this totally different.
-
To display the web site in English and Chinese
wbmnfktr replied to SIERRA's topic in Multi-Language Support
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. -
To display the web site in English and Chinese
wbmnfktr replied to SIERRA's topic in Multi-Language Support
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. -
To display the web site in English and Chinese
wbmnfktr replied to SIERRA's topic in Multi-Language Support
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/ -
To display the web site in English and Chinese
wbmnfktr replied to SIERRA's topic in Multi-Language Support
How do the URLs look? Are there /en/ and /cn/ in them? Is the page available in all languages under settings? -
Hope it works as expected.
-
A proper way to write cookies... JavaScript. An easy way to write and manage cookies... https://github.com/js-cookie/js-cookie
-
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.
-
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.
-
I'm out of ideas by now. Everything else would be guessing. I'd double check everything. Templates, fields, pages, referenced pages, queries.
-
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?
-
Double check that the page is published and not hidden or unpublished or restricted in any kind.
-
Is the referenced page viewable for guests?
-
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.
-
Maybe this is a good starting point:
-
What's on your checklist for the end of a Web design project?
wbmnfktr replied to johnstephens's topic in Dev Talk
After a project is finished... I don't do anything with my last working copies. One law of nature is... As soon as a project is finished and live the client finds bugs or wants things changed. Despite this: Cleaning up / merging / archive everything in... Asana Trello Bitbucket Github ... Creating local copies of everything that's somewhere in the cloud Archiving every piece into folders and ZIPs Backing up everything to various places Creating a calendar entry for a follow up call with the client - 2 to 4 weeks after release -
Exclude tag classes and attrubutes from selector results
wbmnfktr replied to verdeandrea's topic in General Support
I can confirm the result and behaviour on a local PW 3.0.98 but never saw that anywhere before. As @dragan already mentioned: my site's content is most of the time in german, while classes are in english as well. -
Perfect. Sometimes it's not in ProcessWire's hands.
- 4 replies
-
- 3
-
- solved
- silent failure
-
(and 2 more)
Tagged with:
-
If it was my setup I would try this: Checking the Dev Console for JS errors or anything that points to a direction Looking for entries in the PW logs Let's say the console is empty and althoug the PW logs don't show anything I would go the hard way: Refresh all modules Clear up compiled filed Log out and log in again Clearing browser cache Using another browser (all other browsers) Disabling modules Disabling hooks in init/ready/wherever
- 4 replies
-
- solved
- silent failure
-
(and 2 more)
Tagged with:
-
It's always nice to have a good read.
- 8 replies
-
- 1
-
- self improvement
- mooc
-
(and 2 more)
Tagged with:
-
It depends on the products you work with. Clothing can be super work-intensive but by now all products and data I had to work with were easy to implement in JSON-LD as everything exists in that special ProcessWire page. So we can say: medium to lots-of-work in this case. I use whatever is possible. I had sites/products were no real ratings existed so we left them out. Faking reviews or ratings should be avoided. Google will find out about those sneaky tricks. They did in the past, the will in the future. The star ratings are a fantasic CTR booster. Combined with some more on-page work in title and description you can boost the results even more. When there are real reviews for a product then test it. Take one product, add the review(s) and check the results every 2 days for at least 6 weeks. A little side-note: changing existing pages and adding JSON-LD can bring your results down for a short period of time. At least did we notice these changes with some projects. Since then we update only small chunks of product pages at a time. Within 4 weeks those sites sometimes drop 3 to 10 places but come back much stronger and stay. Google Business and Reviews ... I guess you think of Search Console by Google. There are tools in it that help Google and your site with Rich data. Google Business can help you with things like Local SEO, Social SEO and citations. If you or your client can see a good amount of Branded queries you shouldn't only consider Google Business you have to take care of that.
- 34 replies
-
- 1
-
- structured
- data
-
(and 2 more)
Tagged with: