Tiny MCE unordered list,uordered list not working

donkasok - August 22, 2008 - 06:32

Hi,

I am using Tiny MCE as an editor . Very First time it seems nice . Most of the thing sare working. But it starts making problem when i copied content from the existing website to the tiny MCE. It snot taking the spacings between lines and The format is completely messed up. now it raises an other problem. Its not detecting

    and
  • . I have a lot of contents with sub topics which should display in order list. How can i make the order list (unordered list,uordered list) working in tiny mce. Please help.

with regards,
Don

Input Format

Keyz - August 22, 2008 - 07:01

Most likely this is your Input Format stripping out those HTML tags, and has nothing to do with TinyMCE actually.

If that's the case, go to Administer > Site configuration > Input formats and click the "configure" link next to Filtered HTML. On the following page click the "Configure" tab. The direct path is: admin/settings/filters/1/configure

In the Allowed HTML tags setting add the following in place of what is currently there:

<a> <em> <i> <strong> <b> <u> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <br> <h1> <h2> <h3> <h4> <h5> <h6> <div> <span> <blockquote> <img>

You can add additional tags if you wish - these are just the ones I personally allow in Filtered HTML.
Return to the page you were editing with TinyMCE. The HTML should now be allowed and it will display as intended. If not, let me know and I'll try to help you figure it out from there.

If you're directly pasting in HTML from another site, I'd suggest turning off TinyMCE until you're done bringing in the content (or at least paste into the HTML button, which you can enable in TinyMCE's button settings). Paste in the content to the regular textarea, with its HTML formatting. When you turn TinyMCE on later it will see the HTML and render it correctly. You might want to clean/tidy up the HTML before importing it to your site (e.g. do a bit of search and replace if needed to remove tags you "don't" want to carry over.

-- David
absolutecross.com

I just did some testing,

Keyz - August 22, 2008 - 07:11

I just did some testing, pasting things into TinyMCE. It should "work" to paste in things you copy off the web/rendered view of a website (e.g. not from the site's source). It works reasonably well, but do so carefully. It may miss a few things depending on what kind of tags/formatting is involved. I successfully copy/pasted things like ordered and unordered lists directly from a website (not source). With more complex formatting I'm not sure what will happen. Basically, I'd say test the type of tags you're using first and if you see you're never losing the formatting you want, copy/pasting from the web is ok.

-- David
absolutecross.com

iTS WORKING IN MY LOCALHOST BUT...

donkasok - August 25, 2008 - 03:47

HI,

I am using my home pc as test server (windows), But the live server is in linux. Tiny MCE is working fine in my local server but in my live server it raises problems. I tried Filtered HTML and FULL HTML. I tried copying data with bullet from microsoft word, Open Office, DReamweaver and even from different websites. It snot showing the bullets. Then i tried coing in html format still the bullets are not working . Is it because of my server settings. But i think tiny mce have nothing to do with servers. Please help ...

DoN

Please answer the following

Keyz - August 25, 2008 - 05:23

Please answer the following questions (or do the suggested tasks):

  1. Is your local sever an exact copy of the live site?
  2. What web browser are you using? Does the issue happen on every browser you try, or only a certain one? If you haven't yet, try additional browsers (e.g. at least IE7 and Firefox 2 or 3).
  3. Enable and click on the HTML button in TinyMCE (or switch off TinyMCE with the disable rich text editor link or even completely turn off the module temporarily if necessary)... do you see the correct HTML there for the lists?
  4. Are you able to make lists successfully on a new blank page (not pasting them in from another source)? For instance, can you make a new Page or Story, click the List button, add list items, save the page, and view the list successfully?
  5. Are you using an up-to-date version of TinyMCE (the actual TinyMCE, not the Drupal module)? Is it the correct/recommended version specified on the TinyMCE Drupal module page?
  6. Not likely related, but is your Drupal database correctly setup as UTF8 format? You can check this in phpMyAdmin by viewing the main listing (click on your database name in the left drop down menu) and looking at the "Collation" column. It should say utf8_general_ci (or something starting with utf8_ at least).

-- David
absolutecross.com
[new guide/lesson in progress: Creating a CCK and Views powered Drupal site - feedback welcome]

Dear Friend

donkasok - August 25, 2008 - 10:22

Hi,

I am out of my place. i will check the following things. I already tried most of them. But i will recheck it.
Thanks for helping me to sort out these issues.

DoN

I changed according to your reference

donkasok - August 27, 2008 - 06:15

Hi,

I changed according to your references:

The changes i made are listed below:

I changed the allowed HTML tags as per your suggestion

The lists are still not working

My local sever and live site have exact copy . Now its not working in my local host too.

I am using both Mozilla Firefox and IE for testing.

I completely turn off the Tinymce module .
The codes are showing correctly

  • orange
  • apple
  • banana
  • Kiwi

I created a new page and tried still not working

I checked the database its in utf8_general_ci format

The list of versions i am using

Status report
-------------------
Drupal 6.4
Access to update.php Protected
Configuration file Protected
Cron maintenance tasks Last run 1 day 13 hours ago
You can run cron manually.
Database updates Up to date
Drupal core update status No update data available
No information is available about potential new releases for currently installed modules and themes. To check for updates, you may need to run cron or you can check manually. Please note that checking for available updates can take a long time, so please be patient.
File system Writable (public download method)
GD library bundled (2.0.28 compatible)
MySQL database 5.0.27
PHP 5.1.6
PHP memory limit 32M
PHP register globals Disabled
Unicode library PHP Mbstring Extension
Update notifications Enabled
Web server Apache

Please help me to sort out this issue.I already spend so much time on tis module issue. I really don't understand what this module is not working

DoN

I'm out of ideas at this

Keyz - August 27, 2008 - 06:37

I'm out of ideas at this point. If you're willing to trust me, I'd be happy to login to your site and have a look, and fix it if possible. If so, please temporarily change your admin password and send me the details through my Drupal contact form. You can see my record on my Drupal profile page, and decide if you'd like to do this.

-- David
absolutecross.com
[new guide/lesson in progress: Creating a CCK and Views powered Drupal site - feedback welcome]

Hi, Thanks for your concern

donkasok - August 27, 2008 - 08:51

Hi,

One think i need to ask you. When i changed the theme into garland everything is working fine. But if i put the theme which i bought its not working. I think its a problem with the template . I read about this Multiflex37. But i didnt understand what it is. and the search resulted me to change the css files . Do u have any idea about it. Anyways i will ask my system admin to make some arrangements to access it. Coz currently i also dont have accesss to go to test server and edit completely. So i will ask my admin guy to set up it and inform u tomorrow. I am really glad that you are so concerned about its. Thanks a lot
DoN

 
 

Drupal is a registered trademark of Dries Buytaert.