pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3185 posts · 17 topics · 1019 reputation
Badges
Recent posts
-
How to create a link from the site icon to the base URL (in Masonry theme)
· 7 years ago
@veggit, I'm using php 7.2 with Grav 1.7.0-rc.3 and base_url is working well... Please forgive me for not trying to keep a 4 year old theme, with an old version of Grav up and running...
-
How to create a link from the site icon to the base URL (in Masonry theme)
· 7 years ago
@veggit, base.url ??? Never heard of... neither does Grav.... base_url might be a better variable... Using base.url and base_url in one code line... Maybe it's time for coffee or a nap... ;-)
-
How to create a link from the site icon to the base URL (in Masonry theme)
· 7 years ago
@veggit, Installed skeleton Mediator and installed theme Masonry. The icon and the 'Home' in breadcrumbs work as expected when using the href="{{base_url}}" as designed. In your adapted code, you use
-
Summary always truncates at 300 chars, ignores delimiter and custom int setting
· 7 years ago
@veggit, Sorry, made a dumb mistake... Snippet should use 'post' instead of 'page': {% if post.summary != post.content %} {{ post.summary|raw }} {% else %} {{ post.content|raw }} {% endif %}
-
Summary always truncates at 300 chars, ignores delimiter and custom int setting
· 7 years ago
@veggit, To retrofit the 'page.summary()' into Medator you could try to replace: <p>{{ post.content | striptags | truncate(200) }}</p> with the following taken from Quarks 'partials/blog-l
-
Summary always truncates at 300 chars, ignores delimiter and custom int setting
· 7 years ago
@veggit, Some investigation on Mediator: Looked at the github repo of Mediator and searched for '.summary(' but nothing was found... That means that the function 'summary()' isn't used at all. Downlo
-
Summary always truncates at 300 chars, ignores delimiter and custom int setting
· 7 years ago
@veggit, If I interpret the source-code of Page and my tests correctly: format: short It seems that when the delimiter is present and format is 'short', the delimiter has precedence over size. In oth
-
Modal dialog in front of modular page
· 7 years ago
@pmoreno, I have had a look at the website you shared in our DM. The problem seems to be related to a media query when the screen-width becomes >= 1025px. On smaller screens it works OK. Hove a loo
-
Index and Search .txt or .csv files only
· 7 years ago
@tlsnine, Maybe grav-plugin-database (sqlite) could be a starting point for your solution.
-
Modal dialog in front of modular page
· 7 years ago
@pmoreno, A kind request.. Please be kind to the readers: Make a question as understandable as possible. Add self explanatory samples/images. I have no idea what the image represents. Format your co