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

TOPIC:

How I can Import dataset? 01 Feb 2016 09:21 #13794

Hi how I can import one external data table? We like connect the j-cook component to other DB Tables. Ee like develop one joomla user interface for one external component. we can put the DB Table inside the Joomla installation or if is possible we like connect the J-Cook to one external DB.

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

How I can Import dataset? 01 Feb 2016 11:39 #13795

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Can you be more precise please ?
Do you mean external tables, or external database ?
What do you want to do exactly ? Read / Write ?

In case you want to CRUD a table, just create it in the builder as a regular table. Than simply change the name declarations of this table. (in the model)
Coding is now a piece of cake

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

How I can Import dataset? 01 Feb 2016 16:00 #13798

The ideal solution is to connect with one external DB table in Write and read

the DB is locate into same Server (localhost)

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

How I can Import dataset? 01 Feb 2016 20:21 #13799

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
I think you need to create a table class in the /tables folder.
Then the 3rd parameter ($db) of the constructor is containing the db config.


See in the JTable documentation.
Hope it helps. If you can't make it, I will take more time to show an example.
Unfortunately, the tables files are facultative, so Cook do not create them anymore. So you cannot fork it.
Coding is now a piece of cake

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

Last edit: by admin.
  • Page:
  • 1
Time to create page: 0.060 seconds
In the begining i would like to say that j-cook is absolutly fantastic tool! And the person who created it is a genius.
Czyżak (Forum)  

Get Started