Questions tagged [input-formats]

Drupal handles text using filters and input formats.

Filter by
Sorted by
Tagged with
4
votes
2answers
932 views

Help with #text_format and field widgets

I'm struggling with #type 'text_format' for a widget form field as this field gets expanded two separate elements, one holding the orignal element and the other the format selector. The orignal ...
8
votes
4answers
4k views

How to redirect an exposed filter query to a views results page that lives in another panel page?

My setup: Drupal 7.2, Panels 7.x-3.0-alpha3, Views 7.x-3.0-beta3, Chaos tool suite 7.x-1.0-beta1 Say I want to create a fruits directory website. In views I have a content pane "fruits" with exposed ...
3
votes
2answers
4k views

Views taxonomy exposed filter, show tree/hierarchy in drop down menu

I have an exposed taxonomy filter that allows the user the filter by term. The vocabulary is 2 tiers, however in the exposed filter menu the hierarchy appears flat. Is there a method/module to show ...
0
votes
1answer
136 views

Glossary input filter saving to node_revisions

I have been using the Glossary module and it has been working great. I add "ADSL" into a node and if a glossary definition exists, on render it converts it to "<acronym title="Asymmetric Digital ...
2
votes
1answer
603 views

A good markdown that supports syntax highlighting like SE sites? [closed]

I'm looking for a Markdown module or something similar to Stack Exchange sites Markdown. It would be great if it provides syntax highlighting for some languages. Do you have any suggestions?
0
votes
1answer
1k views

Determining What Text Editor to Use By Default Based on Site Location in Drupal 7?

Okay, so this is something I've been wrestling with for a while. We have several different types of users on our site. For example: Bloggers, Writers (for actual articles), editors, and ordinary users ...
6
votes
2answers
4k views

Should the plain text filter convert line breaks into p and div elements?

I have a plain text field in a content type. When I hit return between paragraphs the line breaks are there and show inside of firebug when I inspect the code. However, the body on the view page doesn'...
17
votes
7answers
6k views

Change the input format for 3000+ nodes

I have a lot of nodes that need to get their input format changed - I could do that by hand, but then I won't be done before Christmas 2014. Where is Drupal storing that information? How can I ...
5
votes
6answers
9k views

How to disable “Plain text” for a specific role?

I see that from admin/config/content/formats/plain_text I can not disable it for a individual role. How can I do this? UPDATE: I can change the attributes of the format and rename it, however I see ...
2
votes
2answers
1k views

Drupal filters are not cacheable

I have a Drupal 7 site with many custom filters. Everything works correctly, but not quick. It looks as though the filter cache system does not work properly because the cache_filter table is always ...
2
votes
2answers
734 views

How can I provide a filter with context/nid of node invoking?

I'm currently working on a custom module that has a filter that requires the node object for the output. Originally the filter was simply pulling in the NID from arg(1) and using that to load in the ...
3
votes
2answers
808 views

How to automatically highlight syntax of code displayed on page?

I'm developing a website to publish my codes from different programing languages. I want to highlight syntax of codes with different colors. But, doing it manually is time consuming. Is there any ...

1
3 4 5 6
7