An input format is an ordered collection of filters. Any text that is being displayed to the browser should be run through the filters in an input format first.

learn more… | top users | synonyms

0
votes
1answer
22 views

how to assign different Text formats for each Long Text fields?

In my node creating form i have two Long Text fields, they are: Article Lists And i have created two Text Formats they are: Article Lists Now, is there any Drupal way to assign: Article ...
0
votes
1answer
33 views

How to convert xml into array in php? [closed]

I want to convert the XML structure below into a PHP array. <BillingApplyRq> <FatoryId>xxxxxx</FatoryId> <TotalNum>2</TotalNum> <Records> ...
0
votes
1answer
21 views

text field with 3 input values and 2 of them disabled/uneditable with a default value

So, I'm trying to add a phone number field to user accounts. I want the user to be able to see 3 input fields for the phone number, where the first two fields would be the country code and extension, ...
1
vote
0answers
12 views

Input Filter for only Blocks

i want to set input filter for blocks to only allow plain text, but on nodes I want to only allow full html how do i do this?
0
votes
0answers
19 views

CCK fields have no CSS classes in Feeds import, but on node_save they appear

I have a working Feeds Importer that fetches in some content from another website. It is attached to a Users profile and each user can specify there own URL for the feed and it updates part of their ...
2
votes
2answers
29 views

Disabling Wysyig profile profile for particular content type

I am using CKeditor with wysiwyg profile . I want to disable this Wysyig profile for a particular content type. cant find a better way. please help me out with any module if its there or any ...
0
votes
2answers
33 views

Drupal places a <br> after text automatically?

I have the below code, however when I place it within Drupal 6, Drupal places a after the text 'Coordinator', see second code insert for the firebug info. I am not sure where this is coming from? ...
0
votes
1answer
42 views

TinyMCE not appearing on custom form

I am creating a custom form and have run into a problem. I'm using the WYSIWYG module and for some reason the text areas on this custom form don't show as rich text editors (tinymce shows on other ...
0
votes
0answers
62 views

How to convert bold to strong, italic to emphasis on pasted text?

I'm using Paste Format to clean up all text pasted into CKEditor (setup with WYSIWYG API), and it does a great job at this. Both the text format for users, and the text format that pasteformat uses ...
3
votes
1answer
22 views

Is there a module that creates an input filter to convert text to the ASCII character-set?

I have a textarea on a content type that needs to be converted ASCII character-set. Is there an available module that adds a input filter for this? This field needs to be fed to another platform with ...
0
votes
0answers
23 views

Google Prettify Not Working

I'm trying to get a setup similar to the one described in Markdown and Google Prettify working but I'm having some trouble with the Google Prettify module. I did have the same problem as that poster ...
1
vote
1answer
35 views

Adding missing Input Formats after Minimal Install

After a minimal install (v7.22) I've only got the 'plain text' input format and am missing the 'filtered HTML' and 'full HTML' formats. Is there a way to have just the missing formats installed or do ...
1
vote
3answers
101 views

What can I use to layout the content type form input when creating content?

I have created a content type with about 15 fields. I'd like to improve the layout of the form for creating content of this content type. Currently all the input fields are listed one after the ...
0
votes
1answer
71 views

WYSIWYG editor not displaying buttons and plugins

I'm new to drupal and have not found an answer on SO yet. I've updated to drupal 6.28, not ready to update to D7 yet, and the WYSIWYG and TinyMCE are not displaying. Also I can't click/unclick ...
0
votes
2answers
78 views

Use mytheme_preprocess_block() to display HTML (icon fonts) in block titles

Unfortunately, HTML commands in block titles are not being rendered. I would like to be able to add icon font symbols to my block titles by adding comands like <i ...
1
vote
1answer
57 views

How to install a text filter for plain_text input format

The users at my Drupal 7 website discuss a card game in plain_text comments and I'd like to format the hearts and diamonds characters by red color. Based on the Examples module recommended to me here ...
-1
votes
2answers
66 views

Access input format based on user role

I have the Developer user role which should only access the developer_html input format. I am trying to grant the necessary permission with user_role_grant_permissions(). I got this piece of code ...
1
vote
1answer
30 views

How to order input fields?

For displaying a content, I can modify the fields order using display and field weights. However, in a node/add/content-type page the input fields doesn't obey the weight given to the display. How ...
1
vote
2answers
88 views

Unable to use a hyphen in a Drupal 7 text field

I've got a simple field of type "text", widget = "text field" (Drupal 7). I am able to use special characters like &(%, but when I try to type a hyphen, there is no result. I can use a rich text ...
3
votes
1answer
160 views

How do I programmatically change the body text format on the page content type to full HTML?

I have a custom install profile and I must programmatically change the body text format on the page content type to full HTML. However, I didn't manage to find how to do it. How can I do it?
1
vote
0answers
93 views

How to show html <input> marks to Views Custom text - field?

I need to put < input > - html tag to my Views Custom text field, but it wont show up? Somehow these codes will be disabled? What I need to do? I tried to find solutions from web, but I didnt ...
2
votes
1answer
25 views

Can I control Input Type by Field?

I have a node type with multiple text fields. The majority of these are designed to fit very specific templates, and have fixed height and width, and are generally quite small. The full CKE interface ...
0
votes
2answers
21 views

How do I set the text format used in a message (from the Message module)?

I'm using Message on a site that has both the Filtered HTML and Full HTML text formats. By default, Message appears to use Filtered HTML, but I would like to use Full HTML instead. However, I ...
1
vote
0answers
40 views

How to set a text format to a views fields

If you add a content:body field to a view, you got several formatter options: default, plain text, trimmed, summary or trimmed. But is there a way to apply regular text filters? I stumbled upon this ...
0
votes
0answers
15 views

Adding Input to Logged in User Interface Customize Look

With Drupal 7, can I add the ability for the logged in user to update and save a few form fields that then populate a list below the form? They could then edit / delete entries? Is there a module ...
1
vote
1answer
75 views

Adding text to a field before save (Drupal 7)

I run into a situation where I need to wrap text inputted into a field before it is saved. I'm not sure the best way to do this, seems pretty straightforward but I'd like to find the "recommended ...
0
votes
2answers
81 views

Colorbox module has no effect

I'd like to use the colorbox module to show the images in my nodes which are comming from flickr. I'm using the flickr input filter which works fine. Now I'd like to get a colorbox to show one image ...
0
votes
1answer
45 views

How to get the standard text format widget for a custom field type?

I've created a custom field that loads content from a given URL. The content is rendered with the given input format. That works fine. Currently, I just gabe a list of available text input using ...
0
votes
2answers
179 views

Prevent Drupal 7 from auto-caching pages in all translations

After clearing the cache, Drupal generates cached versions of every node/page that gets visited. Which is fine. However – if I visit the German version of a node/page, not only the german version ...
0
votes
1answer
60 views

Should store input format in the database? [closed]

When using the WYSIWYG editor, should I store not only the text but also the format ("Full HTML"/"Filtered HTML"/...) in the DB?
0
votes
1answer
166 views

Unable to set placeholder on password input

function customization_form_user_register_form_alter(&$form, &$form_state, $form_id) { $form['account']['pass']['#attributes']['placeholder'] = t('Password'); } I am trying to set ...
0
votes
4answers
121 views

Restrict access to text formats for certain role

For every user with role company manager i have made tab My company(in user profile) where user can see node_edit of their company(node). And i need to set default format to plain-text and hide ...
0
votes
1answer
218 views

TinyMCE on Drupal 7 adding class to <p> instead of <span>

I have a custom class that I want to be able to add to parts of a sentence using a <span> tag. It's a title field, so I don't want it to be wrapped in a <p> tag. However, TinyMCE insists on ...
1
vote
2answers
93 views

What hook runs on all filtered input text of all filter types?

This is one of those, "Looked everywhere in the API for a hook, can't find it" questions. There must be a hook like I'm looking for, but none of my searches have found anything. I'm looking for a ...
0
votes
0answers
132 views

Full Html Text format (and wysiwyg) show only for administrator role

I use Wysiwyg module with CKeditor since months and all worked well. Wysiwyg module is linekd only wit my input-format "Full html" and this is granted to use to my role "Editor". it worked very good. ...
-1
votes
1answer
41 views

Missing 'Input format'

On my inherited Drupal 6 site when I go to edit or add a news story 'Input format' is available for the Teaser, but not for the Body. I would like it for both or if it can only for one, have it on the ...
2
votes
2answers
410 views

Inline image not showing

I have a problem after my successful migration from D6 to D7 where all inline images are not showing. Inline images are the images that are inserted in node body. Modules being used: Insert Custom ...
0
votes
0answers
26 views

Blank Body When previewing Pages

I want to create a new page/blog/etc, and there is nothing wrong. A body area where I can type content is okay, CK Editor modules are okay, and I can insert images, links and everything... But when ...
1
vote
1answer
371 views

Compelety remove Input format from comment form

I used following code to create a module to remove input format from comment forms. but it doesn't work. is there anything I'm missing or another way to do this ? <?php function ...
0
votes
1answer
562 views

Make node/field text input format available to Views

The standard Content list in Drupal 7 (displayed with the Find content menu item) gives me a table of nodes in the system with various attributes, such as the type. I want to add the text type (e.g. ...
2
votes
0answers
109 views

Text comparison rules on node:body:value with input filters

My text comparison rule works like a charm if the user selects 'Plain text'. If they use 'Filtered HTML' it doesn't find a match even though the pattern does exist in the raw and filtered versions of ...
0
votes
1answer
32 views

What would be a comprehensive but safe set of html tags to use with the HTML Filter but compatible Markdown?

I want to use the Markdown filter on my pages, but using the HTML filter messes it up. However I still want to use it. Does anyone have an idea what other tags should be allowed beside these and what ...
1
vote
1answer
284 views

Strange disappearing <p> problem with Drupal 7

In CKEditor, source view, I see <p> tags around my paragraphs. That's great, makes sense. However when I view the node, the <p> tags are gone, replaced with <br> tags, thus killing the ...
1
vote
0answers
150 views

Is there a good way to convert “smart quotes” and curly apostrophes to entities?

I'm building a new Drupal site, and the content authors and editors ared dyed-in-the-wool Microsoft Word users. I've got WYSIWYG set up to force all pasting to be treated as "Paste from Word", so ...
2
votes
1answer
103 views

URL tags not converted to <a> HTML tags

I have been using CKEditor, but didn't like the table editing capabilities so attempted to move to TinyMCE. Having done this, all links now appear as plain text in the following format : ...
2
votes
5answers
909 views

Filtered html ignores extra line breaks

I'm using the Filtered HTML input format without a WYSIWYG editor. When editing text, if I put some text onto a new line by hitting return, when I save its fine. However if I add another line (so ...
5
votes
1answer
107 views

Blacklisting specific tags from an input format instead of whitelisting

I need a filter for the "Full HTML" input format that allows me to strip specific tags. I want to allow all HTML tags, except the ones specified in the input format options. I am using Drupal 7.
0
votes
1answer
71 views

How do you replace text surrounded by a custom delimeter with <span> around it?

Overview I want to have action asterisks in my posts. Basically, asterisks surrounding certain words. Examples: *gasp* or *giggle* Simple enough. Now I could type that exactly into the editor but it ...
0
votes
2answers
140 views

Inserting Block with Custom Input Filter Module via Shortcode Causing http 500 error

I have a custom input filter module, and I am trying to figure out why it crashes when I attempt to insert a block into a post via a shortcode. The method works perfectly when I am inserting a string, ...
2
votes
1answer
218 views

WYSIWG Improvements in drupalgardens way: How to place input filter selector in CKEditor?

I would like to know how to achieve two improvements in WYSIWYG in the same way drupalgardens does (see image below): The first one is to place Input filters selector as a dropdown selector within ...