Dave Hollingworth
Dave Hollingworth
@fastmarketo Please can you ask for support for the course inside the Q&A section on the course itself in Udemy? That way other students can benefit from and contribute to...
I'm always on the lookout for new course ideas, so I'll add that to my list! Thanks!
I'm afraid I don't fully understand what you're trying to do, but when you use include in Twig (documentation [here](https://twig.symfony.com/doc/3.x/functions/include.html)), you can pass variables to the included file: `{{ include('template.html',...
Ah ok - I'm not sure of a way you can do that I'm afraid. Perhaps if you ask a question in a Twig forum like [this one](https://stackoverflow.com/questions/tagged/twig) someone might...
Create an additional .htaccess file in each application, i.e. myapp1/.htaccess that contains the following: ``` RewriteEngine On RewriteCond %{REQUEST_URI} !public/ RewriteRule (.*) public/$1 [L] ``` This will rewrite the URL...
I haven't tried it on nginx, but you can add a route that includes a fixed part that includes a namespace in the parameters, e.g. `$router->add('app1/{controller}/{action}',["namespace"=>"app1"]); ` Is that what...
I'm afraid I don't understand what you mean, please can you give me more details?
Decoded, that's this code: `{{ route }}/login/index ` it looks like Twig isn't installed, so the web server isn't interpreting the Twig code. Did you copy the _vendor_ folder to...
You can either require the class file manually using require, or include Composer's autoloader (as we do in public/index.php)
Thank you for the pull request @WKnak - I'll look into it. At the moment though I'm working on a major update that will change the way the framework works,...