Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • alpa JA JobBoard
    #151333

    Dear support

    I have some html in the Miscellaneous Information field in one contact item whic was displayed fine before using ja_kyanite_II.

    What breaks the code and raw html is displayed in this template?

    Thank you

    alpa

    Saguaros Moderator
    #344911

    Dear alpa! did you use the custom module to create fields of form, how?. i ‘m guessing that if you used this, may be the editor strip html tags, so that you try to disable the editor while editing. good luck

    alpa JA JobBoard
    #345335

    Dear tienhc

    Thank you for you reply. I am creating a contact from the Administrators Components–>Contacts–> Contact

    And I am adding html tags inside the Miscellaneous Information field.

    I checked mysql database and the html tags are stored properly.

    Try it yourself adding for example an <h3>Hello </h3> within the Miscellaneous Information and you will see what I mean.

    thanx

    alpa JA JobBoard
    #345336

    Did some more investigation. If I select joomla’s default template ja_purity template the html in Miscellaneous Information field is not escaped.

    I f I revert back to ja_kyanite_II my html code is displayed.

    I believe it has to do with right and left arrows that are used for the html tags. because in page source I get

    <h4>EDUCATION</h4>

    when I should see <h4>EDUCATION</h4>

    thanx

    Saguaros Moderator
    #345647

    Dear alpa!

    pls open the file: /templates/ja_kyanite_ii/html/com_contact/contact/default_address.php and find the following:

    [PHP]<?php echo $this->escape($this->contact->misc); ?>[/PHP]
    and replace:

    [PHP]<?php echo ($this->contact->misc); ?>[/PHP]

    alpa JA JobBoard
    #345700

    Dear tienhc

    it was so obvious I should have seen it. Thank you very much for you help

    alpa

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 2 voices, and was last updated by  alpa 14 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum