Create a drupal page with a data table - drupal

What I want to do:
Setup data schema and import .csv data into drupal
create a drupal page that shows the data in the table
Is there any existing module can complete similar task?
PS: I am using drupal 7.x version.
Thanks in advance.

First create a content type as per your schema.
Then use the Feeds module (http://drupal.org/project/feeds) to import the data from the CSV.
Use Views (http://drupal.org/project/views) to create data-table.

Related

CSV file data in wordpress

I have a .csv file containing list of companies. I want to upload that .csv file so it will update the database, and in WordPress I want to see that data and edit it too.
I tried Custom Post type (ecpt plugin) and created the post type and created the meta-boxes each for one field, but I cannot show those values in the post fields. Can anyone tell me where I am wrong?
Thanks
After you create a custom post type, you need to enter your data.
And you need to make sure your template is coded to display that data.
As far as uploading a CSV, unless ECPT has that capability, you'll to use something like phpmyadmin to import the CSV into the database.

Creating sub-content based on csv file in parent (plone dexterity)

I have created two content types in Plone 4.3 via Dexterity and created a Plone Product on the file system.
The types are
Supplier
item
Items can only exist in inside Supplier, and I can manually create new items without
I'd like to be able to create a bunch of items if I upload a CSV file while creating a supplier. Any way dexterity supports this (trigger, custom view...)?
You'd have to handle that in a custom view. There is no pre-existing code to handle that.
For simple cases, just read the uploaded file with the csv module and use the rows to create items in the Supplier container:
from plone.dexterity.utils import createContentInContainer
import csv
reader = csv.reader(uploadedfile)
for row in reader:
createContentInContainer(supplier, 'your.package.item', title=row[0], ...)
For more complex operations, you could build a transmogrifier pipeline with the transmogrify.dexterity to convert CSV-data to dexterity objects, but that is probably overkill here.

How to import products to UberCart 3 using CSV data?

I am using D7 and UC3, and I try to import many products at a time using CSV data via Feeds module. The problem is that Feeds hasn't Product information fields (like SKU, price etc.) in target column, so that I can't upload all that necessary data. So, is there any way to access those fields from product information via Feeds (or otherwise). Thanks in advance!
That's the data I can't upload via Feeds:
download the zip file and extract to your module folder from below url:
https://drupal.org/node/1802908
for help go through:
http://drupal.org/node/1797778
Problem solved. Found a module for D7 that adds all the UberCart attributes in the list:
http://drupal.org/node/1187096

how can i import member in civicrm Drupal

Hi, I have a csv file with all member information. I want to import this file in civicrm. Although i have seen an import option in the civicrm menu, that option is not working for me. I have many other fields which are not present in the import option.
How can i import a csv file in civicrm?
A good way to start is by exporting into a csv and then you can see what the Primary fields are. Do a search then select a contact and on the 'Actions' dropdown box select 'Export Contacts'. A wizard will guide you. Select Primary Fields for you first attempt. Open the exported CSV file in Excel and see about 75 Primary fields. If you need something more you can add custom fields to CiviCRM.
When you want to import your own CSV you will need to map your fields to CiviCRM fields.
Try it on the CiviCRM demo site http://drupal.demo.civicrm.org/

Custom Action when specific node-type content is created in drupal 6?

I have a requirement where the admin will upload an excel file to the site. Once the file is uploaded the data has to be imported to a table. And data from the table will be synchronized to nodes if they are present else new node is created. My question is i can do the synchronization using hook_cron but i have to import the data of excel file to a specific table on creation of node. How can i fire a custom action on a specific node type of node creation in drupal 6?
You can use hook_nodeapi with the $op of insert.
You will get a reference of the node, where you can test the node type and do what you need to do.

Resources