rosdyana
Joined 4 years ago
Joined 4 years ago
I don't remember the error message I received but ran into a similar problem once editing posts with the API. That turned out to be because of the HTML included in the posts. I had to make sure the users editing posts had full HTML permission. (This was a tool I made for employees only so that was ok)
Another possibility, are you adding attachments that aren't an allowed file type in your community?
Anything that might cause an error when trying to post directly on the community will likely also cause an error when doing the same with the API.
It's not possible to directly edit or add to a Khoros component. You can add your link to your overridden component or create a separate custom component with your link and add that to the Post Page under the editor component. Then you would have to move it where you want with CSS.
For example, in your overridden component you could do something like this:
<@delegate />
<a href="#" id="my-link">Your link here!</a>
<style>
#my-link {
position: absolute;
right: 90px;
bottom: 65px;
font-size: 24px;
}
</style>