Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • hzc0mm Friend
    #173456

    I’d like to insert
    <?xml version="1.0" encoding="utf-8"?>
    to be the first line in the output. Where would I insert this in Teline IV?

    pavit Moderator
    #436597

    Hi

    You can insert your code in the default.php file

    before this you must create a new folder named page folder in your template folder

    then goto pluginssystemjat3jat3base-themesdefaultpage

    Copy the default.php file in your new folder (page)

    After done that you can edit the default.php file

    [PHP]<?php if ($this->isIE() && ($this->isRTL())) { ?>
    <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN” “http://www.w3.org/TR/html4/strict.dtd”>
    <?php } else { ?>
    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
    <?php } ?>

    <html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”<?php echo $this->language; ?>” lang=”<?php echo $this->language; ?>”>

    <head>
    <?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>[/PHP]

    add your code <xml version=”1.0″ encoding=”utf-8″?> in <head> </head>

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

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

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