link to project page.
Direct link to git repository:

git clone http://git.drupal.org/sandbox/victor_gamedev.by/1270766.git wysiwyg_geshi_plugin

ABOUT

Allows to use GeSHi Filter with Wysiwyg module for Drupal 7 and CKEditor.

Screenshots

INSTALLATION

  1. Install as usual "Wysiwyg" from http://drupal.org/project/wysiwyg
  2. Install as usual "GeSHi Filter" from http://drupal.org/project/geshifilter
  3. Download CKEditor library and copy folder "ckeditor" from archive to "sites/all/libraries"
  4. Download GeSHi library version of the branch 1.0.x and copy folder "geshi" from archive to "sites/all/libraries"
  5. Install as usual "Wysiwyg Geshi Plugin"
  6. Configure "Wysiwyg" module via http://YOUR_SITE/admin/settings/wysiwyg for needed "Input format". Add "GeSHi" button to list.
  7. Configure "GeSHi Filter" module via http://YOUR_SITE/admin/config/content/formats/geshifilter for needed "Input format". Add "pre" tag.
  8. In file /sites/all/modules/geshifilter/geshifilter.pages.inc add this line:
    @@ -248,6 +248,8 @@
     
       // Undo linebreak and escaping from preparation phase.
       $source_code = decode_entities($source_code);
    
    +  $source_code = htmlspecialchars_decode($source_code, ENT_QUOTES);
     
       // Initialize to default settings.
       $lang = variable_get('geshifilter_default_highlighting', GESHIFILTER_DEFAULT_PLAINTEXT);
    
    
  9. If you use WYSIWYG Filter enable this tag:
    pre[start|fancy|type|linenumbers<off?fancy?normal|title]
    

INFO

Based on the example in this article.

Comments

victor@gamedev.by’s picture

Issue summary: View changes

change install

victor@gamedev.by’s picture

Issue summary: View changes

change

victor@gamedev.by’s picture

Priority: Normal » Major

awaiting response from a reviewer for 3 weeks

jthorson’s picture

Priority: Major » Normal
Status: Needs review » Needs work

Victor:

Only one module application is necessary, as successful completion results in the 'Promote Full Projects' permission; which allows you to publish your other projects.

Can you please indicate which of your applications you would like us to review, and close the other application as a duplicate?

http://drupal.org/node/1271252 - Wysiwyg Smileys Plugin
http://drupal.org/node/1270830 - Wysiwyg Geshi Plugin

In either case, you should also:

i) provide a few comments regarding other similar modules, and how yours differs from them ... just to show that you've performed a search and are not simply duplicating the functionality of an existing module that you may not have been aware of. ;)

ii) Remove the 'licence.txt' files, as these will be added automatically by Drupal's packaging system

iii) Remove the /$Id tags from all files. This is a leftover from the CVS days, but is no longer required now that we are using Git.

iv) Run the projects through the Coder module (http://drupal.org/projects/coder) and fix up any other issues it flags.

Thanks!

jthorson’s picture

Status: Needs work » Closed (won't fix)

This thread has been idle, in the 'needs work' state with no activity for several months. Therefore, I am assuming that you are no longer persuing this application, and marking it as closed (won't fix).

If this is incorrect, and you are still pursuing this application, then please feel free to re-open the thred and set the issue status to "needs work" or "needs review", depending on the current status of your code.

As I mentioned previously, successful completion of the application process results in the applicant being granted the 'Create Full Projects' permission, so please only re-open one of your projects should you choose to re-engage your project applications.

jthorson’s picture

Issue summary: View changes

git link