This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
michael.gorini9825568
Hello, i'm wondering if there is a way to pass php variables to partials, can someone help me? Thank you.
michael.gorini9825568
ndcisiv said:
Docs explain it pretty well.
I read it but i don't know how it works, in this code {% partial "blog-posts" posts=posts %} posts is a twig variable isn't it? so how can i do that with php variables. Sorry if i missed something but i'm new here
1-3 of 3