Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Johanan Marín Newcomer
@Johanan · Joined 2 years ago · 7 posts · 2 topics · 1 reputation
Badges
Recent posts
-
Accesing a variable in a default language
· 1 year ago
Thank you very mu ch for the effort but no... sorry, but I feel I don't explain myself well yet... This is the website... https://noemipasquina.com/ca/agenda As you can see, there is a picture for eac
-
Accesing a variable in a default language
· 1 year ago
No... I didn't explain myself well it seems... let me try again. I have a variable named img_pos in a template so I can use it calling {{ page.header.img_pos }}. What I need is to call the variable of
-
Accesing a variable in a default language
· 1 year ago
Hi all! I'm looking to use a variable as a global variable for that page in all the languages of my website so I don't have to modify each time. Let me explain myself: I use a text variable called img
-
Collection in static function used by Admin blueprint does not contain pages
· 2 years ago
OK. Sorry... And thank you!!
-
Collection in static function used by Admin blueprint does not contain pages
· 2 years ago
Amazing! Thank you! But now I have a doubt. If I have an attribute called lloc in header, should I be able to access to that data with: $page->header()->lloc Grav crashes with the error: An exc
-
Collection in static function used by Admin blueprint does not contain pages
· 2 years ago
This is the entire theme file, in case it helps. And here you will see also the static function municipis() that tries the approach of returning the data without variables. <?php namespace Grav\The
-
Collection in static function used by Admin blueprint does not contain pages
· 2 years ago
Hello! I have made a static function to retrieve some attribute from all the children from a page path, and also another one filtering all pages by type. None work. Neither count($pages) or foreach()