Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Christiana Member
@christiana83 · Joined 5 years ago · 78 posts · 19 topics · 17 reputation
Badges
Recent posts
-
Migrating pages to flex-pages
· 5 years ago
When upgrading to the new Grav version from 1.6.x...can all existing pages be converted to flex pages or is there a lot of manually work to do? There are over 1000 of modular pages in the project.
-
Set default attributes to markdown images to avoid cls
· 5 years ago
@pamtbaau Yes, but native lazyloading by loading="lazy" is still not working in all browsers, e.g. safari. Additionally the website ist that big and connected to other applications like attlassian jir
-
Set default attributes to markdown images to avoid cls
· 5 years ago
@pamtbaau in addition to say, I started including lazyloading for markdwon images with lazysizes.min.js (https://github.com/aFarkas/lazysizes) So I choose the solution to use event hook onMarkdownInit
-
Filtered pages list
· 5 years ago
@parkersweb for my issues i wrote an own filter by extending an own written admin plugin. that filter is autonomous and independent of the existing grav filter. I wrote an blueprint for my searchform.
-
Set default attributes to markdown images to avoid cls
· 5 years ago
Thanks for your help and a first approach! Yes, I would have to generate this for all pages by default, including the approx. 1000 pages that already exist. Without the editors having to do it. I thou
-
Is uri.query() not working on static pages without php?
· 5 years ago
JavaScript to get all query params as string: urlParams = new URLSearchParams(window.location.search); urlParamsString = urlParams.toString();
-
Is uri.query() not working on static pages without php?
· 5 years ago
Ok. So uri.query() is based on php. I used it to get query params of current page url in twig template and added them to a string. Then I have to do it in another way...perhaps javascript.
-
Is uri.query() not working on static pages without php?
· 5 years ago
@Karmalakas for working with admin panel e.g. you need php. But you can provide an static exported website to your visitors on another server for example. There are several plugins you can use to gene
-
How to filter to specific folder collection and a custom header field
· 5 years ago
It's not possible yet to filter custom page params. https://github.com/getgrav/grav-plugin-admin/issues/2023 I wrote an own filter regardless for my special needs of the admin filter using twig and bl
-
Is uri.query() not working on static pages without php?
· 5 years ago
Hi! I use the theme variable uri.query to add params from current url to an form url string. On local development environment everything works fine. {% set uriParams = uri.query != '' ? '&' ~ uri.