Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use {{ base_url_absolute }} and fix path for proxy.php #37

Merged
merged 1 commit into from
Nov 7, 2021

Conversation

aloxe
Copy link
Contributor

@aloxe aloxe commented Nov 6, 2021

I fixed the path to the proxy that was missing "user". Also I preferred to simplify fullcalendar.php and use the twig variable for the base url.

@aloxe aloxe mentioned this pull request Nov 6, 2021
@aloxe
Copy link
Contributor Author

aloxe commented Nov 7, 2021

@wernerjoss wrote:

ok for the path fix :-) but where does base_url_absolute come from ? (I don't see where this is computed ...)

This is one of the available theme variable provided by twig.

@wernerjoss wernerjoss merged commit ba888e1 into wernerjoss:master Nov 7, 2021
@wernerjoss
Copy link
Owner

This is one of the theme variable provided by Twig https://learn.getgrav.org/17/themes/theme-vars#base-url-absolute-variable

ah, ok, I was not aware of this - it simplifys things, of course 😄

@wernerjoss
Copy link
Owner

ok for the path fix :-)
but where does base_url_absolute come from ?
(I don't see where this is computed ...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants