Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7514343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:28:03+00:00 2026-05-30T00:28:03+00:00

I have been looking for a good editor with syntax highlighting for php code

  • 0

I have been looking for a good editor with syntax highlighting for php code to be used in the drupal 6 node body.

I would like to clear one thing first, I DO NOT need a syntax highligter for a code “posted” or “displayed” in the node. But I need to write php codes for some pages and writing them like a text without any highlighting, is pretty annoying.

As you can see below, I would like the php syntax <?php echo "Hello world"; ?> to be highlighted.

enter image description here

I tried many combinations and not found anything that I really desire.
below are some things that I tried…

I tried TinyMCE with codemagic, codemirror, editarea. But nothing
really works as they should.
adding to the above, trying to write and preserve code in any wysiwyg editor is a real pain in the a**.

Then I tried colorer module but am facing many problems and not
even a single bug report and issue of this module is fixed.

So isn’t there a way to write php code as code and not as text inside the drupal nodes..??
Or is it that nobody bothered about it because anyone hardly writes php code inside nodes..?
I hope am not the only one and some solution to it does exist.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T00:28:04+00:00Added an answer on May 30, 2026 at 12:28 am

    The ACE editor works really well as a code editor for <textarea>s, and it has a Drupal module. ACE is well maintained, so I’d check them out as an alternative to colorer, TinyMCE, et al.

    Edit: However, it’s only for Drupal 7, which won’t help…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been working on a few Node apps, and I've been looking for
Does anyone have a good State Manager tutorial in Java? I have been looking
I have been looking to switch to OAuth for my Twitter integration code and
I have been looking for a good Java web framework and found Tapestry, which
Anyone have a good jquery Image Preview plugin. Been looking but havent found anything
I have been looking for some good instructions on how to utilize connection pooling
Ok I have been looking for some good examples of Line of business apps
I have been looking for a really good, well documented jquery plug-in that will
I have been looking for some good MVC2 cheatsheets to help a new team
I have been looking around for good, small Scheme implementations. I notice it is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.