I am following the docs on creating modules, however, but getting a 404. Cannot load presenter 'Blog', class 'App\Presenters\BlogPresenter' was not found.
Why is the application not finding the BlogPresenter class in the app/BlogModule/presenters directory?
did I miss something?
@KevinWaterson try to set with router
$router = $blog= new RouteList("Blog");
$blog = new Route("blog/<presenter>[/<action>[/<id>]]",
Hey everybody! I'm developing a shopping cart with nette forms for all steps of the checkout. It works great so far, but now it seems I have a problem: The forms are displayed nicely and I populate them via session variables so that a user can add another product while not losing already input data (address).
The problem is that I need to validate the data that is stored in the session against the setup of the form (required fields etc), while the form is actually not submitted!
Is this possible somehow? What would be the best approach? I've looked for a solution, but $form->isValid() does only work if the form has values set (is submitted)
I'm looking for something like $form->isValid($data)