I have a field which has the following Field type and Widget.
FIELD TYPE WIDGET
Term reference Autocomplete term widget (tagging)
When I display the terms associated with this field, they appear with a hyperlink and dotted underline. Is there a way to display them as simple texts?
You can just change the display format of the field from your content type's "Manage Display" settings tab to "Plain Text" instead of "Link". See the below screenshot:
Related
I'm pretty new to Drupal,
I have created a View with a custom content type which includes a field collection. When i try to load this view block inside a region in front page, It just shows the title (with the link to the actual content) and not the content itself. I need to view the content in the front-page itself
Can you please help me how to do this?
There are two options:
if in view you selected show format as content then you have to add your field collection field in selected display
if in view you selected shoq format as fields then you have to add your field collection field in view fields section
I have a requirement to have two custom record types under parent subtab arrange in order. I used parent-child relationship but the arrangement of the child subtab is something I couldnt customize. 'test one' and 'test two' are my custom record types, and Parent is item fulfillment record.
I want 'test one' to come first and then 'test two'.
I tried adding a new Subtab via customization under translation and this order customization is not available in netsuite. Am i missing anything?
Please help.
Edit the record
Click "customize" then "customize form" in the top right of the form
Navigate to "Lists" then select "Communication"
You can drag and drop your prefered order from this screen
Name then save the custom entry form
You can then manually select this form for the record or set it as the default form
If a field is visible on the form, then it appears somewhere in the Custom Entry Form screen. Which tab it's on depends on the type of field. It could be under Lists, or Fields, or elsewhere. Look for it.
When you find it, use the Field Group dropdown to move the field between the main view and sub tabs, and drag/drop the field to change its top-down display order. The drag handle looks like ⋮⋮.
I have a content type that contains an image field and uses image_image widget. When editing the node I'd like to add an extra text input for each image. This text is not part of the node, I'd use it to generate a translation. I know how to do tweak other parts of the form, but here I'm lost between hook_form_alter() and hook_field_widget_form_alter(). How does one do this?
For now, I use hook_form_alter and an after_build function to twist the image's alt field into what I need to see in the node edit form. Then I move the submitted value to where I want it and copy the image's title field value into its alt field value. I don't mind them being the same. But I'm sad.
You can use Field collection to bundle your image field with an extra text field that goes with it.
In a node creation form, which is a custom content type, I want to add a text, not a text input field, but just a text line, as a remark or an NB, I search for long time in vain.
How can I do that?
Are you using the FieldGroup (http://drupal.org/project/field_group) module? If so, when creating a field-group for a content type's fields, select Vertical Tab as the type of fieldgroup and once you've placed the fields you want to include 'under' that group, save the page. You will then see a gear icon listed under the Operations menu within the row for your newly created field-group. Clicking on this gear icon will give you some additional options, including a Description area where you can write in instructions or whatever you like that will display on the node creation page within that particular tab and at the top of all the fields you have in that tab.
You should be able to add text using the markup form element.
Description: Generate generic markup for display inside forms.
Example from the documentation:
$form['contact_information'] = array('#markup' => variable_get('contact_form_information',
t('You can leave us a message using the contact form below.')),
);
This will work to give you overall instructions for the node creation form:
Create a new block.
Don't give the block a title.
Set block body to whatever you want the instructions for the node form to be.
Under the "Pages" option of the block creation set "Only the listed pages". Then add "node/add/[custom-content-type]" for whatever type of content it is.
Drag the new block to the top of your content section of your active theme.
how do i make that in the creating screen of content type i will be have option to add single/multiply values? so if use have field: type your friend name:
he can choose to type one friend and there is option add more and then another field will open to him so he can add more friends names?
Navigate to:
Administer->Content Management->Content Types
Click Manage Fields on the type you want to change
Next click the configure link beside the field you want to have an "Add More" for
Finally under Global Settings change the "Number of values:" setting to unlimited.
Now when you add a content item of that type there will be a "Add More" or "Add Another Item" link provided.