Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Josh Member
@skipper · Joined 6 years ago · 26 posts · 10 topics · 1 reputation
Badges
Recent posts
-
Deprecated Pimple container on M1 Mac
· 5 years ago
I recently moved my grav website to a M1 Mac and I'm getting PHP errors now when I run it locally. Here are the errors: Deprecated: Return type of Pimple\Container::offsetExists($id) should either be
-
Tag Cloud plugin won't filter
· 5 years ago
Well, I'm not sure how the Tag Cloud results page is supposed to work or look like, but I got it working by modifying the taxonomy example from the docs. I got the tag value from the uri and used that
-
Tag Cloud plugin won't filter
· 5 years ago
@pamtbaau, thanks. I can change the base_url to something other than the homepage, but I'm still getting a blank page... no results. Nothing filtered. I tried changing the template I'm using and that
-
Tag Cloud plugin won't filter
· 5 years ago
I can't seem to get the Tag Cloud plugin to work. It correctly generates a tag cloud in my sidebar, but when I click one of those tags it just goes to the homepage. I'm expecting a page that lists (fi
-
How to create alternative text for images?
· 5 years ago
Yes, I got alt text working without a metafile. I added two fields to my blueprint, a file selector for the image, and text for the alt text. Then I could render the two together like you outlined: {%
-
How to create alternative text for images?
· 5 years ago
@pamtbaau, yes it would be nice if metafiles weren't needed for this. I'm inserting images in the twig template: {% set first_image = page.media.images|first %} {{ first_image.cropResize(600, 300).htm
-
How to create alternative text for images?
· 5 years ago
Through the media selector, usually through the admin. That's the most user friendly. It's accessible through the .md file.
-
How to create alternative text for images?
· 5 years ago
I'm trying to figure out the best way to add alt text to my images in grav. From the documentation it says to create a metafile for each image and stick the text in there: Your images, in essence, ha
-
Can I store modular content in something other than the page content?
· 5 years ago
Thanks for steering me, and sorry for the confusing question. I think I figured it out. I think my problem was that page.find('/read').children was rendering pages AND modular pages. Doing a check for
-
Can I store modular content in something other than the page content?
· 5 years ago
Is there anyway to store modular content is something other than 'content' in the yaml file? I want to fill a sidebar with modular content, but from the docs it becomes part of the page content and th