pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3131 posts · 12 topics · 1012 reputation
Badges
Recent posts
-
Summary always truncates at 300 chars, ignores delimiter and custom int setting
· 6 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
· 6 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
· 6 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
· 6 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
· 6 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
· 6 years ago
@tlsnine, Maybe grav-plugin-database (sqlite) could be a starting point for your solution.
-
Modal dialog in front of modular page
· 6 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
-
How to set language of UI of Admin Panel
· 6 years ago
@montty, There are 2 settings for language(s): Language of the content of the site. You set these settings in section 'configuration/system/languages`. That's what your image displays. The language o
-
Grav website down (HTTP 500) - can't troubleshoot solution
· 6 years ago
@rhys, Might be helpful to others in the community if you could share a bit more details about the solution...
-
Using blog as agenda
· 6 years ago
@Andrass, The Collection:order() function does not seem to provide for a nested 'by'... Collection extends Iterator, which has a method sort(\callable $callback=null, bool $desc=false): \Grav\Common\