Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • nobody184 Friend
    #179697

    Hallo everybody,

    I’ve got a problem by integrating MathJax into the ja purity ii template.

    The MathJax Webpage shows me a way to do:

    <blockquote>To enable MathJax in your web platform, add the line:

    [PHP]<script type=”text/javascript”
    src=”http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML”></script>
    [/PHP]

    either just before the </head> tag in your theme file, or at the end of the file if it contains no </head>.

    The theme files for various popular platforms are:

    […]

    Joomla
    templates//index.php

    </blockquote>

    I tested this methode on a test-system and it works very well!
    But I do not know, how to integrate MathJax in the ja Purity ii template with T3Framework.

    Can anybody help me?
    Thanks a lot!

    Peter

    Saguaros Moderator
    #463546

    Hi Peter,

    In order to integrate MathJax with a template using JAT3 framework like JA Purity ii here, I assume that you’re using joomla 2.5, you can follow these steps:

    – Copy file: pluginssystemjat3jat3base-themesdefaultpagedefault.php

    To folder: templatesja_purity_ii (your default template)page <<<you may need to create this page folder if it doesn’t exist

    – Open this file: templatesja_purity_iipagedefault.php and add change before </head> tag like MathJax’s guide.

    By doing with like this way, you’ve already overridden JAT3 core for your default template, you can also make change in default.php file in JAT3 folder but we highly recommend to override it so that whenever you wanna update JAT3 plugin, it won’t be affected.

    Regards.

    nobody184 Friend
    #463596

    Hi Saguaros,

    thank you very much, it works!

    Regards
    Peter

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

This topic contains 3 replies, has 2 voices, and was last updated by  nobody184 12 years, 3 months ago.

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