test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • netandsoftware Friend
    #162133

    I don’t know how I add a meta tag in the code of Ja-Business.

    I use Joomla 1.6.1.

    Can anyone help me?

    Thanks

    netandsoftware Friend
    #384105

    Ok, I’ve resolve it

    In: libraries/joomla/document/html/renderer

    Modify head.php

    Search:

    // Generate META tags (needs to happen as early as possible in the head)
    foreach ($document->_metaTags as $type => $tag)
    {
    foreach ($tag as $name => $content)
    {
    if ($type == 'http-equiv') {
    $content.= '; charset=' . $document->getCharset();
    $buffer .= $tab.'<meta http-equiv="'.$name.'" content="'.htmlspecialchars($content).'"'.$tagEnd.$lnEnd;
    }
    else if ($type == 'standard') {
    $buffer .= $tab.'<meta name="'.$name.'" content="'.htmlspecialchars($content).'"'.$tagEnd.$lnEnd;
    }
    }
    }

    and add at the end:

    $buffer.='<meta name=”Author” content=”Net and Software” />’;

    Save and Quit

    Regards.

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

This topic contains 2 replies, has 1 voice, and was last updated by  netandsoftware 13 years, 8 months ago.

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