Welcome, Guest
Username: Password: Remember me

TOPIC: [FAQ] how to get NEW action button generated?

how to get NEW action button generated? 10 Sep 2014 23:02 #12624

  • omni
  • omni's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: -1
Hello,

Try as I might I can't seem to get the action buttons for new, edit, publish, etc to generate in the admin view.
Starting to feel like I might be stupid! I've added an item layout, client side, same name, regenerate sandbox
but still missing these action buttons.

Cheers,
Omni
The administrator has disabled public write access.

how to get NEW action button generated? 15 Sep 2014 11:10 #12628

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
I have checked your project.
None of the fields of your test project are stored.
For each field, give a name, a label and validate, or press enter.

When all your fields are null, the table is ignored.
When the table is ignored the views will not work with datas. (database less)

So, no forms are possibles.
When no forms are possible, New and Edit can't work.

That's your problem.

Cook should introduce a validator to helps you at the beginning. Could be a good idea to tell the user where the possible problem can happen BEFORE to generate.
Coding is now a piece of cake
The administrator has disabled public write access.

how to get NEW action button generated? 17 Sep 2014 11:09 #12643

  • omni
  • omni's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: -1
Thanks for the reply. I've added field names and did generate again but still no 'new' buttons, or any.
The administrator has disabled public write access.

how to get NEW action button generated? 18 Sep 2014 09:00 #12644

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Wich PTL ? (Project / Table / Layout)
So I can check
Coding is now a piece of cake
The administrator has disabled public write access.

how to get NEW action button generated? 18 Sep 2014 15:57 #12649

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Ok, I have checked your project.

You does not have ANY forms in your project.
How do you want it to send you somewhere ?

In front, the forms are not instancied by default.
A Fly Brick is instancied by default in front
A Form brick by default, in a back-end (item layout)

So,
place a Form brick. (as you did)
And then place some fields in, otherwise, you will get nothing.

That's it.

PS : If you work on a real case study, all those errors, you cannot do, because as the previous error you got is because you didn't named you fields, neither your views.
Now you create empty form. You was at one step to have it working : Only place ONE field in it.

Karma less.
Coding is now a piece of cake
The administrator has disabled public write access.

how to get NEW action button generated? 19 Sep 2014 11:52 #12653

  • omni
  • omni's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: -1
Hi Chef,

Thanks for the reply. The form brick menu item is greyed out for me. How to add a form brick?

J-Cook is obviously a very powerful dev tool, and I would totally be a subscriber, but I can't figure out how to use it.
The administrator has disabled public write access.

how to get NEW action button generated? 22 Sep 2014 11:20 #12656

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
The forms are available only on ITEM layouts.

Thank you for your interrest in Cook Self Service.
Cheers.
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.092 seconds

Get Started