I installed and enabled custom node write module by using Drush module download & enable command. After successful installation cleared cache and tested this module by executing "drush nw" and found no contents exported into excel file.

This module needs correction to export all contents into Excel.

Comments

ajaybmishra25 created an issue. See original summary.

ajaybmishra’s picture

After debugging the code for this module against "drush nw" command, I found that, the developer has put check condition for drush arguments as shown in screen because of this script is not executed to export contents.

If we execute command as "drush nw article" by passing article as an argument, then script works fine with Article type contents exported into excel file.

So as per my debugging, module author must update module description correctly, find attached module current description. Working command is "drush nw XXXX" where XXXX is content type machine name.

sunil singh’s picture

StatusFileSize
new23.45 KB
new165.57 KB

Hi Ajay,

Module is working fine, and exporting data into excel file, please follow below steps.

Step 1. Download the module(custom_node_write).
Step 2. Install the module.
Step 3. Check the excel file into your module folder.(excel file must be empty.)
Step 4. Flush cache.
Step 5. Run below drush command.

(a.) drush help nw (this command will show examples of node export, export data of all content types or specific content types or two content types, refer to attach screenshot for clarification.)
(b.) drush nw course (here course is content type.)
Step 6. Check excel file(data has been exported into file, refer attached screenshot: custom_node_export_excel.jpg)

Note: if you run this command on localhost, follow below command format.
drush nw courses --uri=http://localhost/asquare
Here, courses - content type
--url - for localhost url(ex:--uri=http://localhost/asquare)

sunil singh’s picture

Status: Active » Needs review
rajeevchoudhary’s picture

I have reviewed, Its working fine.

sunil singh’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.