I have a umbraco installation with a gridedtior. In the grideditor I have a RTE block. In there, if you insert an image it is not deployed with courier. The funny thing is, if I link to a media item with a normal anchor, the media is being deployed.
I guess i'm doing something wrong in my courier.config. Anyone done this before?
Could you post how the html looks in the RTE inside the grid before you try to deploy it? - there are some subtle differences between how the RTE makes a link to an image and how it displays it as an image element, so if I can see the source I can probably track down the problem
That's quite an old version of Courier. We definitely recommend you update to the latest for your umbraco version by using a hotfix from the Archive here
I applied the hotfix. This is not helping.
I tried to add the tinymce to the
<files>
<!-- add new datatype elements for data types that stores files as a path ex: /meda/223/file.png -->
<add key="Upload">Umbraco.UploadField</add>
<add key="TinyMCE3">Umbraco.TinyMCEv3</add>
</files>
Sorry, you ARE running the latest version...my mistake.
Currently Courier does not resolve media in an RTE in a Grid - that's one-too-many levels of nesting for what Courier can resolve. This may be something we look at in the future, but generally we recommend not allowing media in an RTE when used in a Grid - call that a best-practice.
For your current configuration, the workaround is to first deploy the media items, then to deploy the content. It adds a manual step but that way you can be certain your media is correctly deployed prior to any content that references it.
My problem at this time is the entire RTE. I can't even get it working without a grid. So just a plain RTE on a doctype and my media is not deployed.
Is this by design as well?
I will try the workaround, not ideal, but it will work. I assume the media gets stored under the same url in the target site?
It was designed to work with the RTE - so courier should pick up media files and include them in the deploy - nor sure why it doesn't work on your site - as it should just work
And yes, media paths are kept the same between environments so immediate fix for you, could be to copy over the /media/ files manually.
Courier image in grid RTE not deployed
Hi,
I have a umbraco installation with a gridedtior. In the grideditor I have a RTE block. In there, if you insert an image it is not deployed with courier. The funny thing is, if I link to a media item with a normal anchor, the media is being deployed.
I guess i'm doing something wrong in my courier.config. Anyone done this before?
Thanks for any help!
Hi Dennis
Could you post how the html looks in the RTE inside the grid before you try to deploy it? - there are some subtle differences between how the RTE makes a link to an image and how it displays it as an image element, so if I can see the source I can probably track down the problem
/Per
Hi Per,
The html:
So the is not working, the are working.
Some more info. The same thing happens with a tag in a normal RTE without a grid. Source of the html:
Hmm, do you know what version of Courier you are on?
Yes: v2.50.4.183
Now I tried it again and the link issn't deployed anymore. So both are broken now. On what setting is this triggered in the courier.config?
Per, were you able to look into this issue?
@Dennis
That's quite an old version of Courier. We definitely recommend you update to the latest for your umbraco version by using a hotfix from the Archive here
https://our.umbraco.org/projects/umbraco-pro/umbraco-courier-2/
HI Paul,
Thanks, I will try the hotfix. Quite an old version? I got this version last week from Sebastiaan.
Paul, Per,
I applied the hotfix. This is not helping. I tried to add the tinymce to the
Are you able to reproduce this?
@Dennis
Sorry, you ARE running the latest version...my mistake.
Currently Courier does not resolve media in an RTE in a Grid - that's one-too-many levels of nesting for what Courier can resolve. This may be something we look at in the future, but generally we recommend not allowing media in an RTE when used in a Grid - call that a best-practice.
For your current configuration, the workaround is to first deploy the media items, then to deploy the content. It adds a manual step but that way you can be certain your media is correctly deployed prior to any content that references it.
Hi Paul,
My problem at this time is the entire RTE. I can't even get it working without a grid. So just a plain RTE on a doctype and my media is not deployed. Is this by design as well?
I will try the workaround, not ideal, but it will work. I assume the media gets stored under the same url in the target site?
Hi dennis
It was designed to work with the RTE - so courier should pick up media files and include them in the deploy - nor sure why it doesn't work on your site - as it should just work
And yes, media paths are kept the same between environments so immediate fix for you, could be to copy over the /media/ files manually.
/per
is working on a reply...