alec Posted March 27, 2014 Share Posted March 27, 2014 Is it possible to display content of .doc .txt file on front end? If I upload .doc file, how can I display content of that file? Link to comment Share on other sites More sharing options...
arjen Posted March 27, 2014 Share Posted March 27, 2014 You are not alone 2 Link to comment Share on other sites More sharing options...
alec Posted March 27, 2014 Author Share Posted March 27, 2014 I know Is there then way to display tinyMce on front end? I have problem with text input. When user add text via form, output is sooo ugly. Link to comment Share on other sites More sharing options...
diogo Posted March 27, 2014 Share Posted March 27, 2014 I think you would have to use something like this http://docspad.com/ Link to comment Share on other sites More sharing options...
diogo Posted March 27, 2014 Share Posted March 27, 2014 Output tinyMCE? what do you mean? The editor itself on the frontend (http://www.tinymce.com/wiki.php/Installation)? Or the content from the backend? 1 Link to comment Share on other sites More sharing options...
alec Posted March 27, 2014 Author Share Posted March 27, 2014 @Diogo Thanks, i think that your link is solution. I have created form with form builder, for classified site. Users can ad their Ads via form. I was use textarea, but it is not good solution, cause with textarea input field text is messed up, no space, no text brakes. I just want some text editor, like this one in forum, where users can clear write their input. And to display exactly how they write. Link to comment Share on other sites More sharing options...
diogo Posted March 27, 2014 Share Posted March 27, 2014 I suspect there must be an option to use tinyMCE on textareas in form builder, but I don't use it so can't help you there. Edit: sorry, not true https://processwire.com/talk/topic/1743-processwire-form-builder/?p=16361 The Form Builder doesn't use Fieldtypes, just Inputfields. All Inputfields are supported by the Form Builder, except for: File, Image, Repeater, Password, PageListSelect, PageListSelectMultiple, PageAutocomplete, TinyMCE. Link to comment Share on other sites More sharing options...
totoff Posted March 27, 2014 Share Posted March 27, 2014 you could also use the fabulous pandoc to perform file format conversion: http://johnmacfarlane.net/pandoc/index.html EDIT: sorry, just now realized that you want to embed the content ... Link to comment Share on other sites More sharing options...
alec Posted March 27, 2014 Author Share Posted March 27, 2014 I will try something, thanks for help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now