I was trying for some time to get PHP syntax highlighting working in my blog posts.
I finally found a tutorial that helped me integrate syntax highlighting into CKEditor, using the GeSHi filter.
The tutorial even teaches you how to add a CKEditor plugin, something I didn't know how to do because I'm not familiar with the API.
Thank you, Peter Petrik.
Time for a trackbackattack! (Yes, I like saying that).
What are trackbacks?
A trackback, also called a pingback, is a way of:
http://www.pressreload.com/index.php?q=node/1
Node 1? Huh? It sounds like a Borg designation off Star Trek.
Web pages in Drupal are initially addressed this way because:
My old blog used Wordpress, and I wanted to carry over Wordpress's categorization methods into Drupal.
It wasn't hard. Drupal's taxonomy system made it easy.
There are two kinds of taxonomies I wanted to add:
nalytics/. Sign up for a Google account if you haven't already.They say a picture's worth a thousand words.
Well, it isn't as far as google's concerned when indexing the text on your site. But a focused image will make your blog post more attractive and inviting to read.
If you've travelled the drupal.org website at all, you've noticed small images and screenshots right aligned with the content, like the one found here. These images were added using the Image Module.
This post assumes you have installed CKEditor in Drupal as your HTML editor.
I've examined a lot of free web-based media managers. Many don't work. Many are hard to integrate.
Drupal has only one media manager (please correct me in the comments if I'm wrong). It's called IMCE. I don't know what IMCE stands for, but you can find out everything it does in the project's features list.
I was surprised that Drupal, advertised as a content management system, does not ship with an HTML editor.
I do understand why there isn't one enabled by default. We use Drupal because we can set it up the way we want it. Everyone has their own preferences, and when it comes to an HTML editor, I have mine. Whenever I set up an HTML editor for a client at work, I use CKEditor.
To start off this series on how to use drupal, this drupal blog tutorial will show you how to use drupal modules to build a drupal blog. It is geared toward drupal 6. You will find everything you need to get drupal setup for blogging.
This article assumes you already have the following hurdles out of your way: