Orchard not saving custom type items - orchardcms

I've created a new content type, product.
And a products List.
When I save a new Product item, and select Products from the list, Orchard tells me that the product have been saved correctly, but oddly the [Add to] combo box turns back to None, and the Product isn't really saved anywhere.
If I list the items for the Product type, I see nothing.
If I go to the Products page on the site, the content is empty.
What do I do wrong?
thanks

Sorry, I didn't add the Common content part. Now all works well.

Related

Netsuite custom field does not display data in search results

I'm new to Netsuite, so please bear with me. I have created a saved item search that is working fine with one exception; one of the result columns I have chosen is not displaying data in the returned rows. This is a custom field created by our old Netsuite Administrator and it does display data on an item record, just not in search results. I've done some searching and thought I found the problem when I read another post that said that "Global Search" and "Show In List" needed to be checked on the custom field. I did that, but the search results still do not display any data for that column.
The field is a custom item field of the type decimal number. Store value, show in list and global search is checked. The field is applied to inventory items, non-inventory items, kit/package and assembly/bill of materials. What am I missing? TIA
I suspect the field has field level access permissions. Go to the field definition and click the 'Access' tab. The 'Default Level or Searching/Reporting' should be at least 'Run'.
Global Search on a field makes it so if you enter a value in the Global Search bar that matches the field's value for an item then that item will be shown as a possible match. It has nothing to do with your issue. Neither does Show in List.

Try to add product to opencart featured module but products are not appearing

I have created a product. After creating it I want to add this product to featured module so that it will appear in home page. But product is not showing in dropdown of product list. Here is the screenshot.
You should click here otherwise the AJAX will not run.
Featured module is autocomplete drop-down product listing. When you click on product text box then after it will show you list of available products. You will also able type name of product so it will show you result of available products.
Note: If it still not showing result then you will check Ajax response in console browser.

Can't add product to category, category missing - opencart

I'm using Opencart 2.0.1.1. I've added a new category with a filter, this is working great.
Now I want to add a product to that category, I've added the product, but in the Links tab I can't assign the product to the right category, because it is missing.
The newly created category is not showing. What could be the problem? Am I missing something?
The drop down list you see in the category field under links tab is only a helper list. It shows the first 5 alphabetically.
Type the first few letters of your category name and it will appear.

Orchard CMS. Nested items on summary page

I'm new to Orchard CMS and has a question about how to implement displaying nested items in search results.
Let's say I have a content type Box which describes box of books. And I have Book content type. Book content items can be contained in box.
I need to build a page that displays all books grouped by boxes i.e. List of boxes and list of books for them. All in one page.
Not sure what is the best way to implement this.
Thanks
I would recommend looking into the content picker field. You can attach this to your Box type and then each time you create a box you can select all the books you want to add to your box. You will need to have created all the relevant books before creating your box. You can have a setting on the content picker field so that it only displays certain content types, I suppose in your case it would be the Book content type
David Hayden has a nice introduction to the content picker field, available here: http://www.davidhayden.me/blog/content-picker-has-content-type-filtering-in-orchard-cms

Adding column item as a link in sharepoint

How do I add an item in a column as a link in a list in Sharepoint Server 2010?
What is the type of column which is showing link to another document?
Let me see if i understand you correctly.
You have seen the browse for document link in publishing sites, and you want this functionality in your standard list.
Unfortuately you cannot do this, the standard data types are:
http://office.microsoft.com/en-us/windows-sharepoint-services-help/create-a-site-column-HA010157769.aspx
So you are left with just plain old Hyperlink, which doesn't have the browse for document box.
If you try to create a site column with the datatype Publishing Hyperlink, and add it to your list, you should get an error message when you try to browse
"Cannot complete action"
You can add Calculated Value column in the list, and specify the formula for the column which will redirect you to the desired location.
You can do this with jQuery by parsing the link from the title with link or edit button. But also, if you want a non client side solution, there is a good article here http://www.sharepoint911.com/blogs/jennifer/Lists/Posts/Post.aspx?ID=70 on how to add a column and using a workflow fill that column with a "quick link" that the user can provide to people wanting to link to there document. It is a general approach that I think you can see could be adapted to various needs.
For a head start on a jQuery solution check out http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/ebda8a32-a6cc-49fa-b7e4-81f762b26266/
In order to link document with list item, you can create "Hyperlink with formatting and constraints for publishing" site column and add it to any list.
If you need to browse and upload multiple files per list item, you can use 3rd party add-ons like Sparqube Document column.

Resources