Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

[FIXED] Blank Screen after Save in Back End Item Layout 03 Dec 2012 14:29 #5783

Hi

I've created a component with 3 tables:



I've also created back end "collection" and "item" views for these.

When I create a Manufacturer it works fine but then when I then try to create a Model using a foreign key from the Manufacturers table and click save it just goes to a blank screen (index.php?)

Funnily enough when I enter the back end item view for the "Model" table I get an error:
Error loading component: com_demo7073modelmanufacturer, 1

If anyone could help me with this I'd be very grateful!

Please Log in or Create an account to join the conversation.

[FIXED] Blank Screen after Save in Back End Item Layout 03 Dec 2012 15:57 #5789

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Did you tried in 2.0 beta ?
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

[FIXED] Blank Screen after Save in Back End Item Layout 03 Dec 2012 16:03 #5790

Yes tried in both (on the sandbox) ;)

Please Log in or Create an account to join the conversation.

[FIXED] Blank Screen after Save in Back End Item Layout 03 Dec 2012 16:15 #5791

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Yes, I understand.

You cannot use the string 'Model' in a table.
I must forbid it.

Rename and try again.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

[FIXED] Blank Screen after Save in Back End Item Layout 03 Dec 2012 16:21 #5792

Ah ok - I'll change them.

Can I use ManufacturersModels? or is it that there can be no instance of the word model at all (i.e. %%model%%)

Many thanks!

Please Log in or Create an account to join the conversation.

[FIXED] Blank Screen after Save in Back End Item Layout 04 Dec 2012 10:26 #5803

Changed the fields and then changed the labels back to Model/Models and the labels work fine.

Much appreciate the reply :)

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.319 seconds

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started