test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • melanieb Friend
    #180726

    Hi, I have to add a couple of lines of code to the index.php file but getting an error message when I open the template file using either template manager of via ftp.

    I have noticed this is the case on another of your templates I am using also (Mendozite). I had used the Ja Social quick start. I tried uploading the latest version of the framework, and it is enabled but still no joy:

    <?php
    // no direct access
    defined ( ‘_JEXEC’ ) or die ( ‘Restricted access’ );

    if (class_exists(‘T3Template’)) {
    $tmpl = T3Template::getInstance();
    $tmpl->setTemplate($this);
    $tmpl->render();
    return;
    } else {
    //Need to install or enable JAT3 Plugin
    echo JText::_(‘MISSING_JAT3_FRAMEWORK_PLUGIN’);
    }

    How do I enable access to this?

    Ninja Lead Moderator
    #467178

    What do you change on JA Template?

    About html
    <blockquote>templates/ja_social/blocks
    templates/ja_mendozite/blocks</blockquote>

    About customize module
    <blockquote>templates/ja_social/html
    templates/ja_mendozite/html</blockquote>

    If you have any help please don’t hesitate contact to us.

    melanieb Friend
    #467274

    Hi Ninja Lead,

    I don’t want to change the template, i just need to add 2 lines of code for my component to work (Arrowchat) this needs to go into the index.php as it doesn’t work otherwise. I need to put the first code below the <head> and the second line of code jost above </body> but I don’t know how to access it. Can you help me?

    Ninja Lead Moderator
    #467352

    <blockquote>Open plugins/system/jat3/jat3/base-themes/default/page/default.php</blockquote>

    You can see <head> and </body> and you can customize any as you wish.

    melanieb Friend
    #467529

    Thank you so much. That will hopefully resolve it.

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

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

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