hughbris Veteran
Regular
Grav Forum Moderators
@hughbris · Joined 9 years ago · 580 posts · 13 topics · 127 reputation
Badges
Recent posts
-
Displaying images from pages/images
· 9 years ago
Hi, I'm pretty sure that here you are trying to display a (Medium) object rather than text you can see. If you add .html() to that, it should output something like an <img> tag. If you want to s
-
Grav and adding XMLRPC
· 9 years ago
You're essentially talking about a content editing API. I am familiar with those in Wordpress and Drupal and I agree it's a great feature for creating clients like mobile apps. I am pretty sure this n
-
Receptar Theme Slider
· 9 years ago
If you haven't found anyone yet, I'm keen to find out more detail about your requirements (not completely clear yet) and give you an estimate. I was about to start some hacking on the lightslider plug
-
Twig error after update with concat tilde
· 9 years ago
It does seem like a bug in parsing and quite possibly in Grav, so please log an issue with instructions to reproduce if you can. Could you try [home_url-tilde-blah]({{(home_url ~ "/blah")}}) (extra pa
-
Themes without Twig?
· 9 years ago
Didn't pay much attention to the "direct PHP" part actually. Yeah, I wonder why too now. I was thinking of other templating systems when I gave my answer.
-
Themes without Twig?
· 9 years ago
I am pretty sure Twig is integral to Grav core operation at present, but tracking this in case someone can provide useful comment about how hard it would be to swap in other templating engines. I like
-
Including HTML on selective pages
· 9 years ago
No, I'm afraid if they extend the same base template, I am not sure. I rarely have this problem in Grav, but have you checked cache and Twig cache settings? I usually have them turned off in developme
-
Formatting date ranges
· 9 years ago
c) I noticed in Hugh’s example, the input field is set to textand classes are added to which the selector is attached. I have tried this approach too, but I get the same result regarding the datepicke
-
Including HTML on selective pages
· 9 years ago
You are correct that a Twig file is the best way to implement this. You want to create a "partial" template. Look at the way partial templates like navigation, footer, and header are stored and called
-
Formatting date ranges
· 9 years ago
Updated that Gist to add a couple of functions required it depends on, and correctly closed the JQuery callback wrapper.