LibreOffice or OpenOffice import in cjw_newsletter
You need to be logged in to post messages in the forums. New users may register here.
|
Patrick Maynard
Member since: 14 October 2010
Posts: 8
|
Monday 30 January 2012 11:26:22 am
Hello !
Sometimes we need to create a newsletter in a more advanced editor than ezoe, with LibreOffice Writer for example, with table, cells, columns, colors, photos, etc...
I make newsletter in LibreOffice writer, then I copy-paste html code between <literal class="html"> and </literal>. This allow to keep styles, colors, etc...
I import photos manually also.
I tried to import a LibreOffice document into cjw_newsletter, but it creates an article, and not a cjw_newsletter document (cjw_newsletter_edition).
The advantage I've seen was the photos automatically going in Media Section.
Is there a way to import LibreOffice or OpenOffice document into cjw_newsletter ?
|
|
|
Felix Woldt
Member since: 09 January 2008
Posts: 75
|
Monday 30 January 2012 4:11:06 pm
Hi,
import new object with odf import is set in odf.ini.append.php
[ODFImportSettings]
# Default class for import
DefaultImportClass=article
#DefaultImportClass=circular_letter
# Default class for making an image
DefaultImportImageClass=image
RegisteredClassArray[]=article
RegisteredClassArray[]=folder
RegisteredClassArray[]=image
RegisteredClassArray[]=documentation_page
ImportedImagesMediaNodeName=Imported images
PlaceImagesInMedia=false
But if you create a new dummy nl edition, and than export it and than edit and than import with odf it should work.
(The links for odf import + export we should add in the backend, in the websitetoolbar the links are already there)
Cheers Felix
|
|
|
Patrick Maynard
Member since: 14 October 2010
Posts: 8
|
Tuesday 14 February 2012 2:17:36 pm
Thank you I'll try this
|
|
You need to be logged in to post messages in the forums. New users may register here.