Git Product home page Git Product logo

twigview's People

Contributors

akhawaja avatar danmatthews avatar markhuot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

twigview's Issues

exception...

hi,

I put the directory TwigView in bundles

i use Laravel 3.2.10.7

got this error on install:

Message:

Invalid argument supplied for foreach()

Location:

/home/www/_laravel/bundles/TwigView/view.php on line 71

Stack Trace:
#0 /home/www/_laravel/laravel/laravel.php(40): Laravel\Error::native(2, 'Invalid argumen...', '/home/www/_lara...', 71)
#1 /home/www/_laravel/bundles/TwigView/view.php(71): Laravel{closure}(2, 'Invalid argumen...', '/home/www/_lara...', 71, Array)
#2 /home/www/_laravel/laravel/view.php(570): TwigView\View->render()
#3 /home/www/_laravel/laravel/response.php(246): Laravel\View->__toString()
#4 /home/www/_laravel/laravel/laravel.php(178): Laravel\Response->render()
#5 /home/www/_laravel/public/index.php(34): require('/home/www/_lara...')
#6 {main}

i put a config/twig.php but, what write inside this config file ?

i do this:

'/storage/cache/', 'debug' => true, 'autorelaod' => true, ``` ); but it doesn't work... thanks for your help

Laravel macros

I'm just discovering Twig and I'm having troubles converting my views. Per example I registered some macros with HTML::macros but none of them seem to work. None of the Laravel helpers are usable as well (even if TwigView provides replacements). Simple PHP blocks aren't even parsed.
How is it all supposed to go on ? How do one proceed to use Laravel inside the Twig views ?

Twig_Function not found

Followed the setup instructions exactly and receive the following message:

Unhandled Exception

Message:

Class 'Twig_Function' not found
Location:

/projects/raffle/bundles/twigview/Twig/Function/Function.php on line 20

Requires updating

It doesn't appear to work with the current version of Laravel as the Laravel view class underwent refactoring recently.

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.