Coder1
Aricles and Screencasts by Mike Milano
Today is: 11 March, 2010
Check todays hot topics or new pictures
Aricles and Screencasts by Mike Milano
Today is: 11 March, 2010
Check todays hot topics or new pictures
NodesDisable TinyMCE in Node Body Based on Node TypeThere's been a few sites I've used WYSIWYG editors on recently where I've run into the issue of needing to disable it on certain text areas. TinyMCE supports this with a theme override just fine, however, it's not so simple when you have multiple text areas with the same name. Take the node edit form. For every node type, the body uses the same name. A practical example of when you would need to disable a WYSIWYG editor would be when filling a node body with previously designed HTML like when you design an HTML Newsletter. Drupal Search : Index All Fields of a CCK NodeThe Drupal Search API is powerful and pretty intuitive, but finding details on how to do something as simple as enabling searching on fields other than title and body could be a little daunting. It's actually quite a simple concept. Anything exposed to your node view will be indexed. You can easily accomplish this by editing your content type and setting the Display Fields setting to Plain Text. |
|||
|
Copyright © 2008, Mike Milano
|