pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3196 posts · 17 topics · 1020 reputation
Badges
Recent posts
-
How to set Cache-Control for images?
· 7 years ago
@manfredsteger, @NEA , I'm not that well versed on infrastructural matters, but as far as I know, and correct me if I'm wrong: Grav only serves pages and can therefor set appropriate cache-control h
-
$page->save() in plugin does not do anything, no errors either
· 7 years ago
@Netzhexe, I've installed your github repo and your event page does indeed not get saved. Which is not surprising because $this->checkUnpublishedDates is false which prevents the code from being e
-
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