Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Michael Garcia Member

@Michael · Joined 8 years ago · 13 posts · 6 topics · 1 reputation

Badges

✏️ First Post 💬 Conversation Starter

Recent posts

  • How to get the slug url using the LangSwitcher plugin? · 7 years ago

    Hi, I've seen that's several people are having that same issue using LangSwitcher. I can't get the slug url of my other language with the plugin. Even if I set the redirect_default_route: true Is the

  • Get blog fields value on any template · 7 years ago

    I created fields on my blueprint blog file. The idea is that I need the datas of those fields at the first load of my website. I wanted the user to contribute them once. I can't manage to access those

  • How to get home url in a javascript file · 8 years ago

    Hi @pamtbaau, thanks for your answer. No this is not what I want to do. I want to write my baseUrl and my homeUrl vars directly inside my javascript file. So my footer only looks like this : <scri

  • How to get home url in a javascript file · 8 years ago

    Hi, I would like to use a variable set with twig but into a javascript file. for now this is how I do it : <script> var baseUrl = "{{ url('theme://') }}"; var homeUrl = "{{ home_url }}"

  • Issue getting next post url · 8 years ago

    Thank you for your answer. I was missing something important : my single page template didn't call the blog-item.html.twig part. As soon as I added it, I was able to get urls of next and previous post

  • Issue getting next post url · 8 years ago

    Hi, I have a blog page and children of this page which are posts of my blog feed. On my blog page I manage to call and display all the posts. When I'm on a specific post, I would like to get the nex

  • List field inside a list field · 8 years ago

    Ok... So I just fixed it : I forgot to add the "." in my child list. Thank you

  • List field inside a list field · 8 years ago

    Hi, i'm editing my .yaml file from a template and I would like to add a list inside another one. I think my .yaml is good because it's working on my back office. My issue is that when I save the pag

  • Display image url from file custom field · 8 years ago

    Thank you for your help and explanations @dimitrilongo and @pamtbaau, I choosed to use the filepicker after uploaded my images in the page media area and it works pretty good !

  • Display image url from file custom field · 8 years ago

    I do store my images in another folder than the .md file. In an "assets" folder I created in my theme. Is it a bad way to process ? Also I enabled the debugger but it doesn't show up in my front, I ha