Question

I developed an application in Joomla using extensions. I used fabrik for data entry, data fetching and CSV extraction. The problem is in fabrik, the data that I am getting is in CSV format not Excel format. And now my requirement is: I want to make a page completely on my own from scratch that fetches data from a database that has already been entered through fabrik and displayed on the page.

I have no no idea how to make my own page that connects to a database to fetch values. Do I need to create a module only with .php, .xml, and index.html files? Or do I need to create a controller also? Where should I save my files?

Please help me in knowing:

  • What files I need to make.
  • Where I should place these files.

For the content of files, I will check on internet.

One question is will I have to design complete model view controller just to fetch and export already saved data . I just want one link on my existing website that will export already saved data to excel.please help ..For php i got much help by stack overflow but for joomla not much. Please

Was it helpful?

Solution

Ok, here it goes.

Check your requirement. I think you need to create a component and also you need to be familiar with PHP and SQL. But this you can learn as you proceed to write your component. A component is based on MVC design pattern. You can, however, write a simple enough component with just V and C.

To create a component use this:

http://cocoate.com/jdev/component/step-2

Install the below mentioned component and then modify the view per you requirement. You can learn all these in a day or two. After that, you would be ready to reuse the same code for your new component. http://cocoate.com/sites/cocoate.com/files/com_coco_real_estate-0.0.2.zip

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top