complanar Member
@complanar · Joined 4 weeks ago · 13 posts · 3 topics · 3 reputation
Badges
Recent posts
-
How to clone a flex object in twig
· 2 days ago
Workes very well now, thank you again. Especially the |date_modify filter was an eye opener – somehow I missed this one until now. I'am still looking for a better solution, maybe I will try your sugge
-
How to clone a flex object in twig
· 4 days ago
Thank you very much for that detailed reply. I will have a look into it (could take a few days, as I am busy with some other things) and see, if it solves the problem. I already thought of creating "v
-
How to clone a flex object in twig
· 5 days ago
Thank you very much. I will have a look into it. From what I can tell by a quick look at the code at the Eventlist plugin by @bitstarr , recurring events are displayed in a separate list and not multi
-
How to clone a flex object in twig
· 6 days ago
I just tried https://github.com/paulcmal/grav-plugin-twig-clone . This way the flex object can be cloned, but nevertheless the instances share their properties (maybe because they still have the same
-
How to clone a flex object in twig
· 6 days ago
I have a simple list of events implemented as flex objects. Some of them are recurring events, so the have to be displayed multiple times at the page, even as the only exist once in the storage. How c
-
How to get the content of a flex object unescaped
· 2 weeks ago
I wanted to have a list of events implemented as flex objects to be output as html page and as *.ics file for providing a human readable web page and a machine readable calendar file. *.ics files are
-
How to get the content of a flex object unescaped
· 3 weeks ago
Weird nevertheless, that a direct raw filter {{ object.title|raw }} does not work, though.
-
How to get the content of a flex object unescaped
· 3 weeks ago
Sometimes it can be so simple. I just had to wrap the whole content of list-export-ical.ics.twig in {% autoescape false %} … {% endautoescape %} as described in https://twig.symfony.com/doc/3.x/api.ht
-
How to get the content of a flex object unescaped
· 3 weeks ago
Tracked it down a little further. {{ object.title|raw }} yields the correct results when called inside the page template (which lists all objects), but when used inside of a partial template and input
-
How to restrict access of admin users to certain subpages
· 3 weeks ago
Thank you very much for that clarification. I did not find that by a web search.