1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Tinymce editor filters html in joomla 2.5

Discussion in 'Joomla' started by techimtiyaz, Aug 9, 2012.

  1. #1
    I am using joomla 2.5.6. My problem is when i enter html as <tr><td><div>abc</div></td></tr>, then it filters it as <tr><td></td></tr>. Means it rmoves div tag between td. I searched on many forum including joomla and tinymce, but no luck. Can you please help me to find the solution.
     
    techimtiyaz, Aug 9, 2012 IP
  2. GMF

    GMF Well-Known Member

    Messages:
    855
    Likes Received:
    113
    Best Answers:
    19
    Trophy Points:
    145
    #2
    Look at the attachment.

    Click on the small "HTML" button (red circle)
    New window pops up
    Now you can insert your code.

    Be sure to start your table with <table> and end it with </table>

    joomla.jpg

    ;)
     
    GMF, Aug 9, 2012 IP
  3. techimtiyaz

    techimtiyaz Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks GMF, But i am adding table in the same way you told me but after adding and updating it removes div.
     
    techimtiyaz, Aug 12, 2012 IP
  4. edwardmartin

    edwardmartin Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    you go to User manager -> choose username( the account that you use to edit code) -> Editor: Editor CodeMirror.
    wish you success! :cool:
     
    edwardmartin, Aug 19, 2012 IP
  5. QueenofHearts

    QueenofHearts Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I would suggest going ahead and getting JCE editor for joomla, it is free and has a lot of features, and you can turn off code cleanup, so it doesn't mess up your code.
     
    QueenofHearts, Aug 30, 2012 IP
  6. gauticreator

    gauticreator Member

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #6
    In Joomla! 1.5.8 and later, a default filtering choice is in place for those who have not selected an Article Filter option. The default applied for those who have not made a selection implements "black list" filtering as a security precaution against possible XSS. In version 1.5.8, all users, including members of the Super Admin group, have this set by default. In versions 1.5.9 and later, users in the Super Admin group do not have any filtering by default.Due to this change, you might notice problems trying to save a Youtube video, or embedding other Javascript or Flash objects into your Articles.Changing the Article Global Configuration

    If the default filtering option is not suitable for your needs, you can change it by using the Article Global Configuration options. For example, to change the default settings so that no filtering happens for members of the Super Administrator group:
    1. Navigate to Content → Article Manager.
    2. Press the Parameters icon in the toolbar to show the Articles - Global Configuration screen.
    3. Scroll down to Filtering Options, highlight all Filter groups except Super Administrator, and select Filter type of Blacklist (Default), as shown in the screenshot below.
    With this setting, Joomla! will use the default Blacklist filter for all users except for the Super Administrator group. If you want to let other groups of Users submit content with no filtering, just modify the instructions above to exclude these groups. If you want no filtering on any groups, follow the instructions above but select only the Registered group.TinyMCE Editor Configuration

    If you are using the Tiny MCE Editor, you may also want to adjust these settings in the plugin:
    • Code Cleanup on Startup → Off
    • Code Cleanup on Save → Always (TinyMCE since Joomla! version 1.5.12)
    • Do Not Clean HTML Entities → Yes (In Joomla! version 1.5.15 and later, it is called Entity Encoding -> Raw)
     
    gauticreator, Nov 12, 2012 IP