I have a text file which looks like so:
http://www.smoministries.us/_temp/bible-quotes.txt
I goto Create Content. and pick Quotes.
Then I turn off Rich-Text Editing in my Body field (so FCKeditor doesnt add funky things to it).
I put the input format as PHP Input Filter (or even better create and use a custom Input Format called NoFilter which does nothing to the text, aka no Filters chosen).
Then paste my text in that Body field.
Then choose Import tab-separated text option since my file is the tab/new line format you expect.
I then click Preview.
The next page says:
109 quotes will be imported:
* "O give thanks unto the LORD; call upon his name: make known his deeds among the people."
— Psalm 105:1
etc....
Seems like it will import correctly. Attached a pic of that screen.
I then click Save as this looks good.
The next page: just goes back to the view for the node which basically is just 109 qoutes jumbled together. I attached this pic. I dunno if it actually saved how its supposed to...
Anyway I now assume (or hope) quotes are in the system correctly...
and i want to pull 1 random quote out of the ones i imported...
... I look at the Quotes admin page (admin/settings/quotes) and says only 1 Quote imported...
I have another simple Drupal install with less modules, no WYSIWYG editor etc. That seems to work, and says "There are currently 109 published quotations."
Anyway, I am gonna keep looking at it and maybe disabling other modules to see if helps Quotes go through, but open to ideas.
| Comment | File | Size | Author |
|---|---|---|---|
| saved1.JPG | 265.05 KB | armyofda12mnkeys | |
| preview.JPG | 208.53 KB | armyofda12mnkeys |
Comments
Comment #1
armyofda12mnkeys commentedit may have been the initial import was done wrong, and then tried to re-save with new block hoping it would work. Will update if find specific solution. i just turned off WYSIWYG and recreated/reimported new content.
Then just setup the Block for 1 random quote