Skip to Content

bidi module

AMS's picture
MSameer's picture

I'm maintaining a "forked"

I've just ported it to the 5.0 API (Which is mainly adding a bidi.info file).

We are really thinking about releasing it as a contrib module but the problem is that the code is a big mess and it seems that both of us don't have time to fix it.

AMS's picture

Thanks MSameer you always

Thanks MSameer you always the best :), Now I can run a fully functional Drupal 5.0 site ;). and about the messy unclean code I think I'm eager now to learn PHP cause I found it very useful to us " RTL wirters" and it deserves to be a contrib one.

Alaa's picture

I've been thinking of

I've been thinking of cleaner ways to do it for a while now, mostly assuming correct html input though.

I'll make some release soon I promise.

also planning an arabic text normalizer for drupal search.

Alaa


husband of the Grand Waragi Master

did not work

i uploaded the 3 bidi files on my local site, I am using drupal 5.1 i installed the module, update.php ran, input format checked..

still does not work what do i miss

MSameer's picture

You need to place the bidi

You need to place the bidi module after the HTML filter.

did not work

u mean the order of filters? yes it is at the bottom of filters..still does not work check it at i-bloggers.com

MSameer's picture

It's working

well check

well check this

thank u very much will it work on old posts, or should i resubmit

i am using tinymice module too

i uploaded the 3 files in the bidi module folder right ?

MSameer's picture

You don't need the bidi

You don't need the bidi module with tinymce. You can set the direction with tinymce so why do you need bidi ?

I don't personally support the bidi+tinymce combination. Sorry. Maybe alaa can support them.

in 4.7 it used to

in 4.7 it used to work..

i need tinymice to create styled text other then alignment

is it correct to upload the 3 files in sites/all/modules/bidi

the css and the info and the module

and make the filter of the bidi the last one ?

MSameer's picture

Yup. It's correct. The

Yup. It's correct.

The problem is that the bidi parser is crap and it can easily fail with the HTML from tinymce.

I'm not also welling to debug problems with a not-so-good parser parsing HTML produced from some javascript code.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


Dr. Radut | forum