Comments (8)
Hey Gyoza!
This video should help you out:
https://www.youtube.com/watch?v=6iuZ8p-x5bY
In it, I'll show you how to cutomize pages so that you can first publish the views (blades) from the framework and then edit the template or add your own page blades by overriding the PageController. In those blades, you should be able to use former as normal!
So, you can either create pages in the database from the admin panel, or by overriding the PageController to load your own blades if you want that kind of control and don't need the client to be able to edit it from the admin panel.
I hope this video answers your questions! Feel free to respond to this thread with any further questions.
from angel-core.
Awww yea thanks :)
Justin A. says hi. He pointed me at this project:) He says you type loud, in the video, it is proven.
from angel-core.
Sure thing!
Oh man haha I wasn't aware of that! My microphone does sit right on top of my keyboard... :)
from angel-core.
I should clarify one thing I said: the pages still have to exist in the database for the PageController's show() method to work properly, even if you're going to be using your own view/blade instead of the admin panel's HTML section. I may change this so that the database rows aren't required in the future.
from angel-core.
Hey J,
Ran into an issue with former..
works -
{{Former::checkboxes('checkme')
->checkboxes('ffffffffffffffffirst', 'second', 'third', 'fourth')}}
Does not work,
{{Former::open()->rules(array('name' => 'required|max:20|alpha'))}}
no laravel errors in the laravel log as well. Any ideas?
(FYI, adding a Former::close() at the end causes laravel unexpected ; error)
from angel-core.
I've never used Former before, but I can tell you with 100% confidence that Angel does not extend or modify any of Laravel's classes or other classes in the framework. It is simply a set of controllers and models, just plain vanilla Laravel usage. As such, anything that works in Laravel 4.1 will work just fine with Angel.
Perhaps your version of Former isn't compatible with Laravel 4.1? I may be updating Angel to work with Laravel 4.2 in the very near future, there were some issues with 4.2 still when I began development.
from angel-core.
@jacob - Do you think Laravel 4.2 is stable enough to upgrade? I haven't
tried it, but I wonder if there would be many issues.
On Dec 22, 2014 4:04 PM, "Jacob Martin" [email protected] wrote:
I've never used Former before, but I can tell you with 100% confidence
that Angel does not extend or modify any of Laravel's classes or other
classes in the framework. It is simply a set of controllers and models,
just plain vanilla Laravel usage. As such, anything that works in Laravel
4.1 will work just fine with Angel.Perhaps your version of Former isn't compatible with Laravel 4.1?
—
Reply to this email directly or view it on GitHub
JVMartin/angel#3 (comment).
from angel-core.
@Nimoi I'm rewriting one of my applications in 4.2 right now to familiarize myself with all the new traits and differences. It's far more stable now than it was when I started Angel, so I'll probably be updating Angel to use 4.2 in the next release! 🍰
from angel-core.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angel-core.