test melih
 melih
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • rzvava3w Friend
    #178745

    I would like to add openx code into the head area of every article on my site. Can someone walk me through the instructions. I have very little coding and web design skills.I thank you in advance. Im using JA Travel 2.5 template

    Bob

    Saguaros Moderator
    #459840

    Hi there,

    If you wanna add script/code, you could try with overridding default.php file of JAT3 plugin for your default template and insert your script/code inside as follow:
    Copy the file plugins>system>jat3>jat3>base-themes>default>page>default.php into templates>ja_your-template-name>page>default.php and insert your analytics code just before the </head> tag as per below.

    <head>
    ************YOUR SCRIPT HERE *************
    <?php //gen head base on theme info
    $this->showBlock ('head');
    ?>
    <?php
    $blocks = T3Common::node_children($this->getBlocksXML ('head'), 'block');
    foreach ($blocks as $block) :
    $this->showBlock ($block);
    endforeach;
    ?>

    <?php echo $this->showBlock ('css') ?>

    </head>

    rzvava3w Friend
    #459901

    Thanks Suguaros. I managed to find the file plugins>system>jat3>jat3>base-themes>default>page>default.php. However i do not see any page folder nor default php in it on my computer files. I was planning to ftp the saved file to website. my navigation was templates>ja_travel>page>default.php

    Saguaros Moderator
    #459921

    Hi there,

    If you use JAT3 plugin, it should contain that file 🙂

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

This topic contains 4 replies, has 2 voices, and was last updated by  Saguaros 12 years, 7 months ago.

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