Orchard - how to remove a field from a form (content type) - orchardcms

I have created a 'content type' which incorporates a 'content part', which allows the user to upload an image.
Iv then created a 'form' which uses this image loader 'content type' to display on screen, from the front end menu.
However when the user tries to upload an image from the front end a text box displaying owner appears at the bottom. I want to set this to invisible. does anyone know how to do this?
thanks

Go to ContentTypes from dashboard,select your ContentType - click edit and then expand CommonPart - uncheck the Show editor for owner check box as shown in the picture :

Related

How to change label of the Button on DefaultFailurePage.pcf

When im getting application error in DefaultFailurePage.pcf while Policy center page navigation
But i can't to identifying that page button where mentioned in designing in DefaultFailurePage.pcf and referenced page.
Please let me know how to change that button Label and where ?
DefaultFailurePage has ErrorTabBar.pcf.
You can change the button labels directly in PCF file or change the display key for your language, (displaykey.Web.TabBar.Help, displaykey.Web.TabBar.About, displaykey.Web.TabBar.Logout(entity.User.util.CurrentUser), displaykey.Web.TabBar.PartialLogout)

Bitrix News: created property doesn't display in the editing of an element

I created a property in the News infoblock settings.
Checkbox "Active" and "Show on the page of editing of element" is set.
But I don't see a field where I can set this property when I add or edit an element.
Please, don't send me to oficial Bitrix support. I don't need their "we'll respond you after 3 days".
Perhaps you have customized element form. If so - you can add new property to edit form
by clicking 'cogwheel' in right top corner
You need add new property on edit page of Iblock's element
See my screenshots:

Xpage Tabbed panel issue

Actually i am using tabbed panel inside the panel named(tabs).And having menu on clicking that menu link setting viewScope variable .it will passed to " Tab open by default "there i am using code like this
if(viewscope.varaiablename>"")
return viewscope.varaiablename
else
default tab
i am printing the value passed it shows four time printed same value
please explain me how it will work ![enter image description here][1]
You need to use:
if (viewscope.variablename != "")
Did you mean to attach an image also?

Hide CRM form left hand side navigation item

I have my account entity linked to a custom entity called inspections, I only want these inspections to be created for accounts of a certain type. So when it isn't that type I want the left hand navigation to this entity to be hidden away. I've seen some code that says will hide it away, as long as you have the navID of the item.
I've had a crack at hiding it using what i thought could be the ID but it hasn't worked, so I'm wondering if anyone knows how to get this ID, or if there is another way to do this?
The code I'm using to hide the navigation is below:
var navitem = Xrm.Page.ui.navigation.items.get("nav_ts_inspection");
if (navitem != null)
{
navitem.setVisible(false);
}
Load the form
Press F12 to show IE Developer's Toolbar
From here you can use CTRL+F to search for the display name of the item you'd like to hide. This will give you a link that is generated. The Id of this element is what you need to use to show/hide the link.
As an example, you can see results of searching for 'Sub Accounts' on the Account screen for an installation I am working on at the moment. The Id can be seen and is 'navSubAct'
Changes by traversing DOM and manually hide an area is not officially supported.
Luckily if you are on CRM 2011, you can go to
Settings > Customization Or open the solution.
Select the entity > Forms. Inside the Form editor window, open the Form Properties of the entity.
Go to Display Tab and untick "Show navigation items" checkbox.
Finally do not forget to Publish your changes.
Use the relationshipname to hide folder in navigation like this:
If you have folder with the relationship name: ts_inspection
Use this for ID: navts_inspection
So otherwise the same as above, but lose the extra underscore (_) between nav and ts.
var navitem = Xrm.Page.ui.navigation.items.get("navts_inspection");
If you want to hide particular navigation section from the FORM then remove all the links from that section and publish it. That section will not be visible anymore.
If you want to just remove Navigation Pane from FORM, then go to 'Display' tab of form and mark as 'Do Not Show' and then publish it.

vc Resource item display can't be access & is disable

I use VC and I'd like to load a bitmap file on my user Dialogue.
But when I choose the picture item and add it into my Dialogue.
I found that the picture item can't be access by its property.
I can only show the bitmap by adding a bitmap item and I
can not use the picture item. why? Could have anyone else tell me
how to enable the picture item in my Dialogue , so that I can edit
the picture item 's property??
Lovely everybody, I found my soloution, And Now I
can show different Bitmap in my Dialogue without
use any source code.
Here is the Website that I found the problem:
http://www.functionx.com/visualc/applications/displaybitmap.htm
Hope it help

Resources