test
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • kidi Friend
    #191008

    Hello,

    I turn and turn the problem but I can’t display the title on the site pages.

    This tags does’nt appear in source code on any page. Home and all the others.

    How is possible ? How can I add a diferent title by page ?

    On admin side : Name of the site : After

    Thank you for your help.

    Ninja Lead Moderator
    #507483

    So that I can take a look and try to assist, please provide the url of the site you’re working on

    kidi Friend
    #507667

    Hello Ninja,

    I send you url link on pm.

    Thank you for your response.

    Ninja Lead Moderator
    #507680

    <em>@kidi 391901 wrote:</em><blockquote>Hello Ninja,

    I send you url link on pm.

    Thank you for your response.</blockquote>

    Yes, I have checked it on your site. But I would need to take a closer look at your site. Please pm admin acess of your site and FTP account. I shall check this problem for you.

    kidi Friend
    #508024

    Hello Ninja Lead,

    Could you explain me which code I must add on my page than you doing yourself ?

    It can be useful.

    Thank you very much

    Ninja Lead Moderator
    #508200

    I want to check this code in templates/ja_puresite/blocks/head.php file


    echo JFactory::getDocument()->setTitle();

    and check why the title on your site’s removed?

    kidi Friend
    #508914

    Hello Ninja lead,

    Thank you for your response.
    This is the code on this file :

    <?php
    /**
    * ————————————————————————
    * JA Puresite Template for J25 & J31
    * ————————————————————————
    * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
    * @license – Copyrighted Commercial Software
    * Author: J.O.O.M Solutions Co., Ltd
    * Websites: http://www.joomlart.comhttp://www.joomlancers.com
    * This file may not be redistributed in whole or significant part.
    * ————————————————————————
    */

    // No direct access
    defined(‘_JEXEC’) or die;
    ?>
    <script type=”text/javascript”>
    var siteurl='<?php echo JURI::base(true) ?>/’;
    var tmplurl='<?php echo JURI::base(true).”/templates/”.T3_ACTIVE_TEMPLATE ?>/’;
    var isRTL = <?php echo $this->isRTL()?’true’:’false’ ?>;
    </script>

    <jdoc:include type=”head” />

    <link href=”<?php echo T3Path::getUrl(‘images/favicon.ico’) ?>” rel=”shortcut icon” type=”image/x-icon” />

    <?php JHTML::stylesheet (‘templates/system/css/system.css’) ?>
    <?php JHTML::stylesheet (‘templates/system/css/general.css’) ?>

    Ninja Lead Moderator
    #509022

    This is screenshot from your site. I saw the title on your site empty on the top, see the screenshot

    If possible, you can pm me admin access to back-end of your site and FTP account. I shall help you to check this problem


    1. title
    kidi Friend
    #509169

    This code is a code than I tried to add on index.php for resolve the problem by myself.
    As you can see is not the good thing to do.

    I’ll send you in PM the CSS code.

    Thank you

    Ninja Lead Moderator
    #509597

    I have spent a lot of time to debug the problem on your site. I found the problem on your site because <title></title> was removed from head.php file of JOOMLA CORE and I helped you to fix this problem on your site.

    This is my the solution of problem on your site

    Open /libraries/joomla/document/html/renderer/head.php file

    From line 95 to 102 add below new script

    // Don't add empty generators
    $generator = $document->getGenerator();
    if ($generator)
    {
    $buffer .= $tab . '<meta name="generator" content="' . htmlspecialchars($generator) . '" />' . $lnEnd;
    }

    $buffer .= $tab . '<title>' . htmlspecialchars($document->getTitle(), ENT_COMPAT, 'UTF-8') . '</title>' . $lnEnd;

    Please check it on your site again and let me know if it helps

    kidi Friend
    #510769

    Ninja lead,

    Sorry for the late response.

    Thanks a lot for your help, your patience and your time.
    It work.

    I doesn’t know how this code wasn’t here. I always install with quickstart.

    Thank you very much.

    I whishes you a good day.

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

This topic contains 11 replies, has 2 voices, and was last updated by  kidi 11 years, 1 month ago.

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