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

ytake-laravel-smarty.php config file has no effect #69

Open
officialkirill opened this issue Jun 7, 2020 · 1 comment
Open

ytake-laravel-smarty.php config file has no effect #69

officialkirill opened this issue Jun 7, 2020 · 1 comment

Comments

@officialkirill
Copy link

officialkirill commented Jun 7, 2020

Hi!
Using Laravel 7.14.1 with Laravel.Smarty 4.0.0.
Changing the 'template_path' variable in ytake-laravel-smarty.php has no effect on loading view files from that path.
I had to change the path from config/view.php for it work. Is this expected behavior?

Same goes for the compile/cache path.

@officialkirill officialkirill changed the title ytake-laravel-smarty.php config file 'template_path' has no effect ytake-laravel-smarty.php config file has no effect Jun 7, 2020
@cdarken
Copy link

cdarken commented Jul 23, 2021

@officialkirill are you sure about the compile and cache paths? those seem to work for me, because they're managed by Smarty.
The template path is another issue, because the template is found by FileViewFinder that doesn't know to look into that directory.
So putting the path in config/view.php is a workaround for this.

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

No branches or pull requests

2 participants