Inserting pdfs and email addresses into the body of an article
7 posts by 3 authors in: Forums > CMS Builder
Last Post: August 25, 2008 (RSS)
By cmsweb - August 25, 2008
1. I've got pdf uploads working in the same way as I've got images uploading in to their own folders. What I really want to do is allow the site administrator to 'insert' a pdf into the copy of the article via the wysiwyg article. When I select some text and click the link icon, the upload box appears but when I try to save the pdf I get the error message "File 'zyz.pdf' isn't allowed (valid file extensions: gif,jpg,png,wmv,mov,swf)." In that particular section I have 2 uploads fields created - 1 called Images with gif, jpg, png, pdf, doc extensions and 1 called Docs with pdf, doc extensions. Do I need a 3rd upload field to handle the wysiwyg link uploads? Or is there another way to get this to happen?
2. We'd like to be able to have the site administrator easily insert an email link in to the body of the article without having to type mailto: infront of the email address in the insert link pop-up box. Is that possbile?
Thanks.
Re: [cmsweb] Inserting pdfs and email addresses into the body of an article
By zip222 - August 25, 2008
You need to authorize the WYSIWYG field to allow PDF files to be uploaded. This can be done by clicking on the 'modify' button in the Section Editor menu.
I am not sure how to handle the second issue.
Re: [jdancisin] Inserting pdfs and email addresses into the body of an article
By cmsweb - August 25, 2008
Hoping someone has an answer for the email url creation - would certainly make things easier for the end users.
Re: [cmsweb] Inserting pdfs and email addresses into the body of an article
By Dave - August 25, 2008
Try just inserting the email without the mailto: prefix.
I just did a test with the wysiwyg editor and when I enter an email and click insert it pops up a message and automatically inserts the mailto: in front of my email.
Let me know if that works for you.
interactivetools.com
Re: [Dave] Inserting pdfs and email addresses into the body of an article
By cmsweb - August 25, 2008
That kinda worked. When I clicked Insert, I received a pop-up window that said something to the effect of 'This looks like an email address. Do you want to have mailto: added in front?'. I clicked yes, saved the update and checked the article. The link is there but it reads as http://mce_host/test@test.com. Do I need to fix a setting somewhere?
thx.
Re: [cmsweb] Inserting pdfs and email addresses into the body of an article
By Dave - August 25, 2008
We don't make the wysiwyg, but we do upgrade it pretty frequently to keep pace with their releases and bug fixes. Hopefully they'll fix it soon. You can see their latest releases here: http://tinymce.moxiecode.com/download.php
And an example page here:
http://tinymce.moxiecode.com/example_full.php?example=true
The only other option would be to get some custom programming done by them (or us) to adjust how it works.
I see a number of fixes in their latest release here: http://tinymce.moxiecode.com/tinymce/changelog.txt But not this one yet unfortunately. I'll post back here if I can think of any other workarounds.
interactivetools.com
Re: [Dave] Inserting pdfs and email addresses into the body of an article
By cmsweb - August 25, 2008