Welcome, Guest
Username: Password: Remember me

TOPIC: How I can Import dataset?

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

  • brokerad
  • brokerad's Avatar
  • Offline
  • New Member
  • Posts: 5
  • Karma: 0
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.
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
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
The administrator has disabled public write access.

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

  • brokerad
  • brokerad's Avatar
  • Offline
  • New Member
  • Posts: 5
  • Karma: 0
The ideal solution is to connect with one external DB table in Write and read

the DB is locate into same Server (localhost)
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
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
Last Edit: 01 Feb 2016 20:24 by admin.
The administrator has disabled public write access.
Time to create page: 0.062 seconds

Get Started