Hi, I have just indicated that the document about scaffolding was deprecated yesterday. The view file should be placed like: /app/views/contacts/scaffold.index.thtml
fcojaviermu wrote: > undefine $scaffold variable and you'll get an empty controller. > > On Aug 16, 12:56 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: >> yeah I know it's in the manual but I can't get it to >> work.http://manual.cakephp.org/chapter/scaffolding >> >> controller: >> <pre> >> <?php >> class ContactsController extends AppController { >> var $name = 'Contacts'; >> var $scaffold;} >> >> ?> >> </pre> >> >> Custom scaffold located in >> app/views/contacts/scaffold/index.scaffold.thtml and the file is >> empty. >> >> I was expecting /contacts/index to return an empty page possibly the >> layout and nothing else. Instead I still got the scaffolded view. >> >> Assistance is appreciated. > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
