Changing Title field placeholder text - Drupal - drupal

On my content type form I am trying to change the placeholder text from "Title" to "Subject". My field setting is as below:
This change gets updated correctly but the form title still shows as "Title" :
Unsure why it's not reflecting. Cleared cache and tried on incognito windows. no luck. Any help on how this can be fixed pls?

Make sure you are setting on the correct content type and don't forget to hit Save button at the bottom of the Manage form display page.
If you have done all the above and still not solved the problem then somewhere in your code has overwritten the placeholder configuration of that field. In that case you need to find and remove it.

Related

Basic Page content wont display Drupal 8

I recently started using Drupal 8. I am able to add a basic page, but whenever I try to view it, the body text pertaining to the page does not display, only the page title is visible. Does anybody have any ideas as to why I am experiencing this problem. Thanks in advance.
Attached is a screenshot of where I am expecting to see the body text for the page. The title of the post is visible, but not the body
May be you have disabled the body field display from content type settings. Go to the page 'your site address/admin/structure/types/manage/page/display' and check the body field is disabled or not. If disabled please enable it for showing the content on front end.

Drupal HTML filter issue

My requirement is very simple.
I want to add some html in a static page body.
I created a content type called Page.
I am adding HTML text into the body.
HTML is saved in database correctly.
But when I saw the same in front end it is showing HTML.
I am new to Drupal, But have 6 years of experience in php.
Please give me a solution.
It is problem with your text format settings. You can select different text format every time you make content and you can set up default one for every content type. Make sure you using text format which you set up for proper content display:
Assuming you are using "Full HTML" text format go on:
admin/config/content/formats
Click configure and make sure you turn off option display HTML as plain text:
Hope this helps.
I think you need to specify text format type.
Could you find text format area in content edit page?
If you want to display as html page, you need to specify "Full HTML" in text format area.

Keep formatting when posting content from a textarea to wordpress

I'm using USP-Pro to let users post to a Wordpress blog. I have a textarea input in which they should put the main post content - the one that appears in the Wordpress admin editor. I'd like to keep the text formatting once they submit the form so I'm using CKEditor for that textarea.
CKEDITOR.replace('usp-content');
Checking the textarea with Firebug while I input the text shows that there actually is some HTML code inside, but when the form is submitted, in the editor I just see the raw text, without any formatting, which is pretty annoying because I lose all the spaces, the new lines and so on.
EDIT:
After various attempts I discovered that the problem is in the Wordpress function wp_strip_all_tags, inside the file wp-includes/formatting.php. I tried to comment it and it actually posted the content correctly with all the html in place.
Of course I can't just comment the whole function. How can I tell Wordpress to not use it when submitting such posts?

Text in body (Basic Page) not displayed

I'm having trouble displaying the body text when creating a Basic Page. I've somehow deleted the body field at some point and then tried to add existing field again.
Now that I've added Body field again and typing in some text in the body for a Basic Page, it won't appear on my page. I can see my text in body_value in myphpadmin in field_data_body and my page is only displaying the title.
I've tried several things. Cleared cache, reapplied all template files (page.tlp.php etc.)
Im using Drupal 7.
Any help appreciated

<input> tag gets stripped when editing a page in Plone WYSIWYG editor

Despite being listed in /portal_transforms/safe_html under valid_tags with a value of "1" when I try to add an <input> it is stripped from the saved version of my page.
I have tried adding 'input' to the HTML Filter settings, under custom, but the change does not get saved.
'input' is not listed under nasty or stripped tags.
Why is it being removed?
First try disabling safe_html altogether:
http://collective-docs.readthedocs.org/en/latest/forms/wysiwyg.html#disabling-safe-html-transformation
If that doesn't help then you have an issue with the TinyMCE editor. Usually this means that you are out of the luck and only using "Edit without visual editor" link below the text area allows you enter your HTML code.

Resources