Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Error Upgrading to Grav 1.1.2 in admin panel
· 10 years ago
Looks like it was a caching issue. I've just cleared the cache in the admin panel and it updated without any problems
-
Error Upgrading to Grav 1.1.2 in admin panel
· 10 years ago
I think yo might of caught GPM during the updating process. I just tested and it upgraded fine.
-
Error Upgrading to Grav 1.1.2 in admin panel
· 10 years ago
Hi, I've upgraded grav a couple of times and upgraded a couple of plugins today just fine. I tried to update grav to 1.1.2 and got this error: grav.CRITICAL: Argument 1 passed to Grav\Plugin\Admin\Gp
-
TWIG: Crop Image of Collection
· 10 years ago
sorry for my late reply. wsanter's answer FTW :)
-
TWIG: Crop Image of Collection
· 10 years ago
Also, try dumping those variables to the debug bar to check if product is actually something, and same for product.media.images and prdimage
-
TWIG: Crop Image of Collection
· 10 years ago
Looks like there are missing the single quotes around product.header.image {% set prdimage = product.media.images['product.header.image'] %} https://learn.getgrav.org/content/media#url
-
TWIG: Crop Image of Collection
· 10 years ago
I have a page collection that provides an image in the collection header (has been uploaded through the admin panel directly to the page). I want to cropResize() this image but I do not get it to work
-
Custom loop with data limit
· 10 years ago
Something like this should work: {% for p in taxonomy.findTaxonomy({'category':'featured'}) %} {% if loop.index <= 5 %} {{ p.title }} {% endif %} {% endfor %}
-
Custom loop with data limit
· 10 years ago
I want a custom loop with data limit, anyone can help me like {% for p in taxonomy.findTaxonomy({'category':'featured'}) %} {{ p.title }} {% endfor %} Thanks
-
Override Taxonomy Type Fields
· 10 years ago
You would need to use this new replace command in order to properly replace an existing blueprint field. However, you might need to remove the field first, because that field is for header.taxonomy an