Sunday, May 18, 2014

Re: CAKEPHP Admin with Scaffolding not working properly

Yup,

This is happening literally for me too across 3 controllers.

I have Contestants, Submissions, and another 3rd controller -- -all are only displaying the table of Contestants results....... Submissions doesn't display submissions table --- it just does the h1 heading


On Sat, May 17, 2014 at 9:00 AM, Neb88 <neb.inf@gmail.com> wrote:
Hi,
I've enabled admin scaffolding, by uncommenting the line
*Configure::write('Routing.prefixes', array('admin'));* inside *core.php*
and adding the *public $scaffold = 'admin';* into my *AppController*.

Everything seems to work but different controllers show the same page, only
the Page Title is changing (the one beside the list table, see the image
below).

I've 3 controllers:
admin/Categories
admin/Series
admin/Products

Each of them show the *Products* list!
So the Products admin is the only one that's working properly..

Any idea?

I just noticed that my Categories and Series controllers classes are empty,
but I don't think it should be a problem:

class SeriesController extends SiteController {
}
class CategoriesController extends SiteController {
}

The image below shows the 3 admin pages

<http://cakephp.1045679.n5.nabble.com/file/n5718223/Admin_Pages.png>



--
View this message in context: http://cakephp.1045679.n5.nabble.com/CAKEPHP-Admin-with-Scaffolding-not-working-properly-tp5718223.html
Sent from the CakePHP mailing list archive at Nabble.com.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: