Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Daniel Michaels Friend
    #152819

    The WYSIWYG editor is not working in the front end. I assumed that index.php was missing the following line just before the </head> tag: [PHP]<?php if ( $my->id ) { initEditor(); } ?>[/PHP]
    It turns out that index.php points to T3, so there’s none of the usual index stuff. The file only includes the following:
    [PHP]<?php
    $tmpl = T3Template::getInstance($this);
    $tmpl->render();[/PHP]
    So the million dollar question. How can I activate my WYSIWYG editor for the front end. I love this template but I find the new template structure difficult to tweak. Any thoughts? :confused:

    aaronfarias Friend
    #350591

    If you have problems with the frontend editor in your Joomla 1.0.x template most likely this code here is missing:

    <?php if ( $my->id ) { initEditor(); } ?>
    What you can do then is to find the closing head tag:


    </head>

    And add this code above:


    <?php if ( $my->id ) { initEditor(); } ?>

    So it will look like this:


    <?php if ( $my->id ) { initEditor(); } ?>
    </head>

    Daniel Michaels Friend
    #350611

    Yes, I understand this much. The problem is that there is no </head> tag in index.php. As I indicated in my post above, the index file only has a few lines that reference T3. So where can I find the </head> tag (which file is it in)? I also need to find this tag so that I can insert Google Analytics info. Thank you for your help.

    Saguaros Moderator
    #350718

    Hello !

    Pls open and add those codes at the end of the file: plugins/system/jat3/base-themes/default/blocks/head.php.

    As I indicated in my post above, the index file only has a few lines that reference T3. So where can I find the </head> tag (which file is it in)? I also need to find this tag so that I can insert Google Analytics info. Thank you for your help.
    << with this cause: pls try to find a extension on the JED which allow you using the Google Analytics feature without hard code in the php file: http://extensions.joomla.org/search?q=google+analytics

    GOodluck

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

This topic contains 4 replies, has 3 voices, and was last updated by  Saguaros 14 years, 4 months ago.

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