For some context, I’ve got an article content type with a custom ‘card’ viewmode configured to display teaser-esque article summaries throughout the site. Mostly these ‘cards’ are used on the search page to show results, however we’ve got different view blocks setup to show things like ‘featured’ articles and ‘latest’ articles – some of which are embedded onto the homepage.
The search results require different fields to be hidden/visible, whereas everywhere else on the site these cards are to show the same fields. Im using different twig files to distinguish the search results from the rest. For example, within search results the
node--view--search-articles.html.twig template is being used, and the
node--article--card.html.twig file is being used everywhere else.
The main issue is that when I run a search, then navigate to the homepage for some reason the
node--view--search-articles.html.twig file is being called, even though we’re not currently on the search page. BUT, this is also only the case for certain results within the same view block, not all of them. For example, within the same view block one of the view result would use the correct template, but the one right next to it would be using the search result template.
How is it possible that on the homepage we have instances of different suggestions being called for results of the same view? Im convinced this is cache related, because clearing cache fixes the issue, but obviously thats not a solution.
I can fix this by using other methods to hide the fields, such as css, but I’d like to understand whats happening here first or what would be the best solution.
✓ Extra quality
ExtraProxies brings the best proxy quality for you with our private and reliable proxies
✓ Extra anonymity
Top level of anonymity and 100% safe proxies – this is what you get with every proxy package
✓ Extra speed
1,ooo mb/s proxy servers speed – we are way better than others – just enjoy our proxies!
USA proxy location
We offer premium quality USA private proxies – the most essential proxies you can ever want from USA
Our proxies have TOP level of anonymity + Elite quality, so you are always safe and secure with your proxies
Use your proxies as much as you want – we have no limits for data transfer and bandwidth, unlimited usage!
Superb fast proxy servers with 1,000 mb/s speed – sit back and enjoy your lightning fast private proxies!
99,9% servers uptime
Alive and working proxies all the time – we are taking care of our servers so you can use them without any problems
No usage restrictions
You have freedom to use your proxies with every software, browser or website you want without restrictions
Perfect for SEO
We are 100% friendly with all SEO tasks as well as internet marketing – feel the power with our proxies
Buy more proxies and get better price – we offer various proxy packages with great deals and discounts
We are working 24/7 to bring the best proxy experience for you – we are glad to help and assist you!