Welcome, Guest
Username: Password: Remember me
Pleas keep in mind that SPAM will be deleted instantly
  • Page:
  • 1

TOPIC:

Pro Version: Totally confused about subtemplates 6 years 6 months ago #3298

  • GuiGuy
  • GuiGuy's Avatar Topic Author
  • Offline
  • Posts: 30
  • Thank you received: 1
I am slowly being driven mad by trying to implement sub templates, so maybe you can help?

I have two tables "Customers" and "Customer_Types"

Customers is the primary table. In the Customer Table is a field named "Customer_Types_ID". This field is used to build a relationship 1:n with "Customer_Types" PK index field `ID`.

OK, so my JooDB is "Customers"
Now I create a sub template/ table called "CustomerTypes"
In the sub template I see no way to link
`Customer_Types_ID` = `Customer_Types`.`ID`

So, when I insert the subtemplate into say the catalogue template I get lovely looking blanks.

What am I missing here?

Thanks

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

Last edit: by GuiGuy.
  • Page:
  • 1
Moderators: Dirkjoest