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

TOPIC:

[FIXED] Link on Foreign Key goes to empty form not Edit 10 Feb 2012 15:43 #1227

Hi there,

I am just getting to grips with this so apologies if I have missed anything and this is not a bug ;)

What I have is two very simple tables, PUBLICATION and ISSUES

PUBLICATION has
publication_name

ISSUES has
issue_name | publication_name (this is a foreign key that shows a drop down list on the ISSUES edit form of publication names).

When I show the issue data in list view, if I show the publication ID as a link, clicking it takes me to the edit form for that publication. This is what I want to happen.

If I show the Publication Name in the issue list view, clicking the name takes me to an empty publication edit view.

I want to show the Publication name and have it link to the edit view for that publication ID.

Looking at the generated links I can see what is going wrong.

The link on the FK displayed using the publication name is:-
sandbox.cms25.j-cook.pro/administrator/i...yout=publication&cid[]=
The link on the FK displayed that uses the publication ID is :-
sandbox.cms25.j-cook.pro/administrator/i...yout=publication&cid[]=1

So you can see that one has a cid and the other does not.

Is there something I missed here or is this a bug?

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

Last edit: by admin.

Re: Link on Foreign Key goes to empty form not Edit 15 Feb 2012 16:45 #1324

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Solved since 1.4.9
Coding is now a piece of cake

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

  • Page:
  • 1
Time to create page: 0.070 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