Pedro M Regular
@pmoreno · Joined 6 years ago · 412 posts · 108 topics · 102 reputation
Badges
Recent posts
-
Illegal offset type in isset or empty in taxonomylist
· 5 years ago
Hi @kit Thank you for your contribution, but with your suggestion I do not get the desired result. First, for the code you propose to work, the variable 'new_base_url' must be declared (as in Quark Th
-
Illegal offset type in isset or empty in taxonomylist
· 5 years ago
Hello When I activate the taxonomylist plugin, the result that the page shows me is the following: An exception has been thrown during the rendering of a template ("Illegal offset type in isset or emp
-
theme_config.XXX.enabled or theme_config.XXX == true works in different way
· 5 years ago
Hello I thought that it could be done the same as when we want to execute some code depending on whether a plugin is activated or not (config.plugins.XXX.enabled). Thanks for your help
-
theme_config.XXX.enabled or theme_config.XXX == true works in different way
· 5 years ago
Hi I have in blueprints.yaml in my theme the following: latestposts: type: toggle label: Enable Latest Post in Sidebar highlight: 1 default: 1 options: 1: PLUGIN_
-
Create collection independent of query params in url
· 5 years ago
Hello If I considered your solution and I've managed the solution with {% for p in page.evaluate({'@taxonomy.category':'minipost'}).slice(0,3) %} Now I have managed to do what I needed, and that is t
-
Create collection independent of query params in url
· 5 years ago
Maybe I didn't explain myself well in the last post. What I need is that the three posts highlighted in the left sidebar are always the same (identified with the taxonomy of 'miniposts'). What happens
-
Create collection independent of query params in url
· 5 years ago
Hi again Related to my post Link to post by author... If I now click on the author's link, the minispost block, based on a collection of pages by taxonomy, changes the links to the posts and only show
-
Link to posts by author
· 5 years ago
Hi again. I've just find the solution The correct code is: <a href="{{ base_url }}/author{{ config.system.param_sep }}{{ author }}" itemprop="keywords" class="author">{{ tag }}<span class="na
-
Link to posts by author
· 5 years ago
Hi I have the following: {% set author = page.header.author %} {% if author %} <a href="{{ base_url }}/tag{{ config.system.param_sep }}{{ author }}" itemprop="keywords" class="author">{{ tag
-
Link to posts by author
· 5 years ago
Hello there I have in blog_item.html.twig the following code to show the author of post: {% if page.header.author %} <a href="{{ page.url }}" class="author"><span class="name" rel="author"&