Giter Club home page Giter Club logo

laravel4-powerpack's People

Contributors

anahkiasen avatar andrew13 avatar laravelbook avatar mul14 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

laravel4-powerpack's Issues

Error: Call to undefined method Str::studly()

I'm currently receiving this error when using this in combination with the L4 Generators Plugin.

{"error":{"type":"Symfony\Component\Debug\Exception\FatalErrorException","message":"Error: Call to undefined method LaravelBook\Laravel4Powerpack\Str::studly() in W:\xampp\htdocs\terribletrumps\bootstrap\compiled.php line 5299","file":"W:\xampp\htdocs\terribletrumps\bootstrap\compiled.php","line":5299}}

HTML and form elements are encoded

For some reason, all the <, > and quote characters are being rendered to the page using their HTML entities. Is there a way to turn this off?

Example

HTML::to('/', 'Home') becomes...
&lt;a href=&quot;http://site.dev&quot;&gt;Home&lt;/a&gt;

Blade escaping

I have started to have an issue with escaping

{{ HTML::image( 'img/glyphicons-halflings.png' ) }} is appearing on the rendered page as

img/glyphicons-halflings.png

whereas

actually renders the image. (See screenshot below).

12-02-2013 10-46-57

FormBuilder::open() wants an array?

My form open line is currently:

{{ Form::open('login', 'POST') }}

But it's returning this error:

ErrorException: Catchable Fatal Error: Argument 1 passed to Illuminate\Html\FormBuilder::open() must be of the type array, string given, called in /Users/jack/Projects/x/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php on line 138 and defined in /Users/jack/Projects/x/vendor/laravel/framework/src/Illuminate/Html/FormBuilder.php line 77

Everything in the docs seems to be pointing to my Form::open line being correct, but I'm getting this. Ideas?

Why must we use triple brackets w/ Laravel 4

Trying to use powerpack with Laravel 4 (hoping for drop in replacement) but it seems I am going to have to refactor all my forms to change calls as:

{{ Form::open() }}

to

{{{ Form::open() }}}

While it seems a small issue, with large amount of forms I have to refactor, this is a tedious process.

Form::date missing?

Why is there date picker form element missing, such that were in L3 natively?

Str alias

Hi Laravel book

Just noticed that Laravel added an Str Alias into core.
'Str' => 'Illuminate\Support\Str',

Just wonder if this can lead to problems using:
'Str' => 'LaravelBook\Laravel4Powerpack\Facades\StrFacade',

I like this powerpack very much! Helps me port L3 to L4, great work!

// johannes

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.