Invalid container in Orchard CMS - orchardcms

I am new to Orchard CMS and i am developing a module.
I have a content part which is attached to another part. It's a blog post and few details like a post number (a running number for the current year). I can get to the create screen but after creation it says Invalid container. As a result the post is not created.
Any help / suggestion is welcome.

Related

MERN - Successfully POSTs a blog post to the DB but when I refresh the page it gives 404

I am a beginner and followed a youtube video for creating a blog using MERN.
I am trying to configure it, but the problem is once a user clicks 'write' and adds a blog post to the homepage it will say 'not found' even though it successfully updates the DB, after replacing the window so I then have to back to the homepage and click on the post which is the exact same link the window is trying to replace, then for example once I refresh the post it gives me 404...
Is this a deployment issue? As I am currently only testing it on a free version of render, or is this a complete different problem? I will link the page now and it's just for testing purposes so it's not responsive on mobile or anything.
Thank you.
Website

Orchard CMS Manage Content page not showing details

In C# code, I created a custom content type (a RSVP type for replies). When items are created, they do indeed show up in the content item listing on the admin page.
But as you can see below , none of the details are listed like they are for other types like Page. How can I get details like Name (the name of the person RSVP'ing) to show up. I created tokens for use in workflows but that hasn't had any effect in these regards. Thanks!

Blog posts to separate pages?

How can I have blogs on my expression engine site post directly to a new page with a url? Right now my blogs are static and taking up entire pages (up to 10 blogs on a page) Is there a way to automate this so that every blog that is posted automatically is set up on it's own page with a unique url?
There are a bunch of ways to do this. EE has good documentation and this is pretty well covered. I think you also get something like this pre-built for you in the default install.
In a nutshell tho what you probably want is an entry template.
So let's say you have a template now called "blog" and the template called "index" that you are now using for your multiple blog listing.
In your "blog" template group you want to create a new template called say, "entry". Then you want to build a link from each entry in the index to the individual entry page. The path would be something like /blog/entry/{url_title}.
There's more to it than that but that but that should be enough to get you started. If you have more questions you can ask another question and show us what you have tried.

Retrieving files from blog media entries

The tool I'm building needs pull data from IBM Connections Ideation Blogs. I therefore use the Connections API with basic authentication to read Blog Entries. This goes well until the description contains images. When I ask the API to provide media resources for the blog, it does not show any entries of the /BLOGS_UPLOADED_IMAGES location - the one containing images uploaded through the blog's richtext editor. The user I use in my API call is the same user who created blog entries and uploaded pictures.
However the API call DOES contain images I publish using the API and a POST request to the blog's media entry collection. This is where the next problem appears. Those Atom entries for images contain various links, one of them with a ref="enclosure", of which the API documentation (link) tells me to "Use the web address in the href attribute to obtain the binary content of the file". However, my calls to this adress are always answered with 404 response code.
Another url in the Atom entry (this time of the element) is described by the same documentation (see link above) as: "Provides access the document's media. The following operation is supported: GET: Use the web address to obtain the media." When I make a call to this url, as always with basic authentication credentials attached, the response contains the html of the login form of Connections, so API authentication does not seem to be supported on this url. This is only the case for non-public communities, which require authentication, of course, if the picture is publicly availabe all works just fine.
Am I missing something out? Is there another way to retrieve the actual image from a blog's media entry through the API? Are manually uploaded pictures never contained in the media entries result or is this a bug?
It now magically works using the link with ref="enclosure" from the atom entry. I might have gotten something wrong with authentication I guess (although I'm not actually realizing what I'm doing different now than I did before).
Problem remaining: Pictures uploaded through the rich-text editor in the folder /BLOGS_UPLOADED_IMAGES do not appear in the media feed of the blog.

How can we enable user's thumbnails on their drupal content?

I am going on making a Drupal site matches with my requirement. A requirement describes that on each node, such as Blog or Forum, except publisher's name and published date below the node's title, should show the user's thumbnail (similar to avatar in Facebook or Twitter) too.
I thing there is an existing module for this requirement. but I couldn't find it.
Could you tell me how to do this? some guideline or link to an example? it would be nice if you can tell me the module that is able to do this thing.
you wany to enable picture support: http://drupal.org/node/22271
and in addition, you probaly want to change the theme to call
theme('user_picture', $account);
where you want to display the picture (where $account is the account object of the user that is posting the node/comment)
the corresponding template file is user-picture.tpl.php

Resources