Coder Social home page Coder Social logo

laravel-smartyview's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

laravel-smartyview's Issues

Probleme with smarty cache in laravel

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.

Using layouts with smarty fails

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? :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.