Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Upgrade grav to v1.6.30, and problems

admin

Solved by Peter Fuchs View solution

Started by tacoen 6 years ago · 11 replies · 696 views
6 years ago

I upgrade grav to v1.6.30,

  • add page on admin are blank/black.

  • has —-▸ (typography) Typography on every select form

anyone having this problems?

6 years ago

I just got the same problem. But to me, it only showed on a new project I created with v1.6.30. The old websites that I just upgraded to v1.6.30 are displaying the arrows as expected. Very weird, I'd like to know what's causing it. It seems like it's only a style thing, but still annoying.

6 years ago

Me too - here's a screenshot.

Screen Shot 2020-12-08 at 10.19.42|352x398

Anybody know how to fix this?

6 years ago

I think this issue is related to needing to escape TWIG now. I'm still working through how this works but there are some details here on the Learn site here under Auto-Escaping

last edited 12/08/20 by Ptarmic
6 years ago

If that's the issue why did that come up now and not after 1.6 release? Also, I have another site upgraded to 1.6.30 and the problem does not appear, but on a new project created fresh from 1.6.30 it does.

6 years ago

There are some new fields in the admin panel, I think its related to those.

Screenshot_2020-12-09 Configuration System JAAM Productions Custom eLearning Content Development|690x163

6 years ago

Where do I find those? I can't seem to locate them even searching config files.
I anyway checked all of the settings, not from admin but comparing all of the system config files and everything's the same between my two grav installations, one has the problem and one doesn't, both on 1.6.30

6 years ago

I'm on 1.7 so maybe that's the cause of the difference. Those fields are from system.yaml right at the bottom in the admin panel.

Edit: I think this github issue is also related: https://github.com/getgrav/grav/issues/3091

last edited 12/09/20 by Ptarmic
6 years ago

hi, have you found a solution ? I still have the same display issue in the Admin. I tried to adjust my settings.yaml as suggested but no luck. Thank you.

6 years ago Solution

Hey,
I had the same problem and therefore I created an issue on GitHub : https://github.com/getgrav/grav-plugin-admin/issues/1990.
Meanwhile the bug has been fixed in the repository and the fix will be installed with the next update.

If you do not want to wait you can change line 13 in /user/plugins/admin/themes/grav/templates/forms/fields/pages/pages.html.twig from
<option {% if page_route == value or (field.multiple and page_route in value) %}selected="selected"{% endif %} value="{{ page_route }}">{{ option }}</option>
to
<option {% if page_route == value or (field.multiple and page_route in value) %}selected="selected"{% endif %} value="{{ page_route }}">{{ option|raw }}</option>
and add the raw filter to the option variable again.

👍 1
6 years ago

Guys, thanks for the respond.

@renards thanks for the fix.

But, there is also another problem, i got this modal blanket on many act.

  • add page
  • theme activations

Capture|690x332

what causing this?

6 years ago

@tacoen:
But, there is also another problem, i got this modal blanket on many act.

  • add page
  • theme activations

I found it!

This is a problem with adblock, after entering the site address into the whitelist. this problem no longer exists.

Thanks in advance.

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 57 14 hours ago
Support · by Anna, 3 days ago
2 65 17 hours ago
Support · by Justin Young, 18 hours ago
1 33 18 hours ago
Support · by Duc , 1 week ago
2 68 5 days ago
Support · by Colin Hume, 1 week ago
2 60 6 days ago