skmedia / laravel-smartyview Goto Github PK
View Code? Open in Web Editor NEWSmarty Template Engine for Laravel
Smarty Template Engine for Laravel
Please add for future delimiter configuration for future.
When i use layouts with smarty bundle like this:
class Base_Controller extends Controller {
public $layout = 'layouts.default';
$this->layout->nest('content', 'profile.edit');
i got the following error:
View [layouts.default] doesn't exist.
The folder and template exists.
app/views/layouts/default.tpl
If i rename my template file with blade extension .blade.php it works like a charm.
Can you update? :)
When you process a form and you get error message from instance Validation, some errors message dosen't change because the smarty cache no detecte changement.
I tried everything on the display of error messages of "individual" validation, I also create a macro form but still the same.
The error smarty cache does not come as macros because I tested a simple condition on an array of error messages returned by variable (instead of using the native variable $ errors of Laravel because it is unusable smarty).
By clearing the cache in the configuration bundle is to be treated properly.
Not sure if this is a constraint of your system or Laravel, but it might be nice to mention in your basic docs, in any case...
-FT
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.