[support] HTML Filters

Metzler, David metzlerd at evergreen.edu
Mon Jan 10 17:36:51 UTC 2011


For the newbies and others:  Creating a new input format does require
editing each node, but often the problem with new sites is just that you
want a few more HTML tags that aren't in the default filter
configuration.  Remember that you can always add a few tags to the
default input (Filtered HTML) format by confuring the html filter for
the current default.  p is one that I often add to sites, and sometime
a. Changing that configuration does not require editing each node. 
 
Dave

________________________________

From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Alison
Sent: Friday, January 07, 2011 6:22 PM
To: support at drupal.org
Subject: Re: [support] HTML Filters



Thanks Carl and others. I think this may be the problem:-

"Keep in mind that input formats are node-specific at the time the node
is saved. Changing the default format will not affect saved nodes.

Been trying to fix the problem after I had saved the page, with now
understandable results - changing the parameters after the event. Had
considered the node may have been cached. So cleared that. Tried
everything other than redesign the page or starting again. Definitely a
trap for new players. Thanks again.

Alison 





At 12:48 PM 8/01/2011, you wrote:


	Using Full HTML is also a security risk for cross site scripting
and cross site request forgeries.
	
	Keep in mind that input formats are node-specific at the time
the node is saved. Changing the default format will not affect saved
nodes.
	
	The editor may also affect submitted data.
	
	Sent from my iPhone
	
	On Jan 7, 2011, at 17:14, Bill Fitzgerald <bill at funnymonkey.com>
wrote:
	
	

		I would recommend - strongly - against enabling the PHP
input format. This opens up some enormous security risks, and from what
you are describing this is overkill for your use case.
		
		If you aren't using it already, I would recommend using
the WYSIWYG API for your site: http://drupal.org/project/wysiwyg
		
		Edit your node, and make sure that you have chosen the
correct input format.
		
		It's also possible that your WYSIWYG editor is
clobbering your html; when you edit the node, turn off the editor and
make sure that your original markup is still intact.
		
		This page has more info on configuring input formats:
http://drupal.org/handbook/modules/filter
		
		Please feel free to ping back with any additional
questions.
		
		Cheers,
		
		Bill
		
		On 1/7/11 4:28 PM, Joel Willers wrote: 
		

			You can make a special filter that might help
you out.  Otherwise, set it to PHP (you have to have PHP enabled in the
modules area).
			 
			Hope that helps!
			 
			Joel Willers  |  IT Developer
			Innova Ideas & Services  |  A SIGLER COMPANY
			 
			From: support-bounces at drupal.org
[mailto:support-bounces at drupal.org] On Behalf Of rebu2008-dru at yahoo.com
			Sent: Friday, January 07, 2011 5:59 PM
			To: support at drupal.org
			Subject: Re: [support] HTML Filters
			 
			I'm new to Drupal as well, but I just guessing
that its the CSS in the theme that you are using. Can you navigate to
the page in your browser and then view the source? In Firefox, it is in
the menu as 'View' > 'Page Source'. You should be able to see your HTML
elements and attributes. If not, then they really have been stripped
somehow. If they are there, then it is likely a CSS problem, assuming
that your HTML is valid.
			--ross
			 
			

			From: Alison <penguin at alisoncc.com>
			To: support at drupal.org
			Sent: Fri, January 7, 2011 5:21:48 PM
			Subject: [support] HTML Filters
			
			Hi, 
			
			very much a newbie who feels that she is
constantly "fighting" Drupal to get it to do what she wants it to do.
			
			Fairly simple "home" page before members log on
and get all the complicated stuff - list of events, accepting bookings
for same and the like - with Views, Flags, Tokens etc.
			
			CKEditor installed and fully operational. "Full
HTML" selected and all "Input Filters" disabled on "Input Formats" page.
Yet when displaying the page much of the HTML formatting I have
implemented has been stripped off. Nothing special just paragraph
alignment - simple stuff like text centering, etc.  Looks fine when
editing, but preview and much of it has gone. As it does when seen by a
visitor. Tried it with CKEditor disabled and plain text editor selected
. Doesn't seem to make any difference - formatting still gets stripped.
			
			Not much point in using a wysiwyg style editor
if Drupal strips all the functionality out. Also when using CHEditor the
edit box has the same background as the main site, which makes life
difficult if it's a dark background and the text one is editing is
black. Would appreciate some clues.
			
			Alison
			
			
			
			
			
			
			
			-- 
			[ Drupal support list | http://lists.drupal.org/
]


		-- 
		[ Drupal support list | http://lists.drupal.org/ ]

	-- 
	[ Drupal support list | http://lists.drupal.org/ ]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110110/c85bab48/attachment-0001.html 


More information about the support mailing list