How to export people in Drupal 7? - drupal

I've installed the 'Views Data Export' beta module but unsure how to then export all 'People' as a csv file? Can someone please help?
Thanks

You need to make a new view to export. Rather than selecting content you want to set it to select users. Once you've got it as a view you will be able to export it using the data export module.

Related

The built-in WooCommerce importer won´t let me import products from a CSV file

I´m trying to import a CSV file to WooCommerce, I'm using the very same file resulted from an export, but it keeps telling me that for security reasons, the type of file I'm using can´t be used.
What could I be missing here
Rafael
It was due to the fact that I was using HTML code to show a table of values in the description field

Import "text" strings, to create, automatically, empty pages in MediaWiki

I am using MediaWiki (Sometimes I think that it could be better to use Drupal) to create a wiki.
I have tried to find out a correct api or something similar to import a table (csv, xml, or another format) with text fields.
The idea is to bring a document with "name-pages" and "tags" to create automatically empty pages.
Finally, the users will see that there are new empty pages to fill!.
And every day pass a scheduler (something like Feed Import in Drupal) to bring new pages. I mean, if the text exists, don't do anything; however, it the text is new, create a new wikimedia page!
I don't find the correct api to do this. Somebody knows any way to do this?
Thank you
Regards!

Custom report translation in OpenERP

Basically all the reports are changed language as per the customer language in OpenERP 7.0. But I have customized a new accounting report as same as default accounting(invoice) report.
While printing my custom report that is not translating based on customer language. Please help to solve this. I am trying this more than two days and not yet any solution.
Note: I have also used setLang function in my report.
Most probably the best solution is to add the i18n folder to your custom addon. In there you add the appropriate .po file and the trick is done.
Remember to add:
folder called i18n
In there
file module_name.pot
file language.po (example it.po)
Salam !
just make [[ setLang('code_lang*') ]] up report
example for french country fr_FR
I hop that help you

Drupal 7 Node Import from CSV

I'm trying to import some content from a CSV into Drupal 7. I've tried the Feeds module but it doesn't allow me to match fields to my content type—as far as I can tell—which is a problem.
Previously—in Drupal 6—I have used Node Import but this isn't supported in Drupal 7. Any suggestions?
The feeds module will work, you just need to do a title work.
Create a new importer at admin/structure/feeds/create
Change your Parser settings to use CSV
Check the CSV Parser settings once saved and make sure the correct delimiter is selected
Select "Node Processor" as your processor in your Processor type
Verify your Processor settings. Select your content type. It is important to set a user for for the node author. There is currently a bug that will cause an error if the author is set to anonymous.
Using the column names in your CSV map your columns to your Drupal 7 fields.
Finally, go to /import and run your feed import.
That should do it for you.
Migrate is very robust and can do all kinds of importation.
For very simple things feed is certainly enough.

Where in code do I add taxonomy_save_vocabulary for drupal module

I know that in order to programmatically add my own taxonomy to a node I need to use the taxonomy_save_vocabulary function and pass it an array defining my vocabulary. But I need to know where does this code usually go in the module. I'm assuming the install file?
Thanks!
D
The install file is for initial set up of your module - setting up database tables and clearing up for uninstall, basically. So yes, if you're adding a taxonomy just once, and especially if it's indispensible to your module, this would be a good place to do it.
More ideas about this here:
http://sachachua.com/wp/2009/04/drupal-staging-and-deployment-tips-its-all-code/

Resources