Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Taxonomy - active tag button
· 11 years ago
Ofcourse you are right, sometimes a shortcut leads to nowhere, on the other hand, the knowledge must derive from smarter than us, so do not be surprised when sometimes I'll ask you about something aga
-
Taxonomy - active tag button
· 11 years ago
Well it's not exactly the same, but it's similar. If you want to be a successful web developer you will need to learn to break down and understand simple logical code and then adapt it to your needs.
-
Taxonomy - active tag button
· 11 years ago
The same logic on the blog item causes an error: An exception has been thrown during the rendering of a template ("array_key_exists(): The first argument should be either a string or an integer") in "
-
Taxonomy - active tag button
· 11 years ago
Well that was the one you had hightlighted in your screenshot! The same logic would need to be adapted for the displaying of the tags in the blog item.
-
Taxonomy - active tag button
· 11 years ago
Unfortunately, I still can't force this to work on a blog_item.html.twig template Marek
-
Taxonomy - active tag button
· 11 years ago
uri.param(taxonomy) should work
-
Taxonomy - active tag button
· 11 years ago
Hi, thank you, this logic works fine for tag on the sidebar but unfortunately not for blog_item.html.twig, It would be nice to see which tag has just been elected Thanks, Marek
-
Taxonomy - active tag button
· 11 years ago
It is possible, you would need to provide a partials/taxonomylist.html.twig file in your theme's templates/ folder, then add some logic to it. Basically as it loops over the taxonomy items, you chec
-
Taxonomy - active tag button
· 11 years ago
Active_tag_class I want to highlight the active TAG button (sample = journal) on the sidebar and search results, theme antimatter. Marek
-
Taxonomy - active tag button
· 11 years ago
Can you give me a screenshot because it matters what theme your running and which 'tag' button you are talking about.