How to add a head tag ?

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Jun 11, 2014 3:25 pm
Reply with quote
Report this post
I have to ad the following tag:

<meta name="uri-translation" content="on" />

How can I do this ?

Thanx
User avatar
Fresh Boarder

GK User
Wed Jun 11, 2014 3:38 pm
Reply with quote
Report this post
You can include this line in layouts/blocks/head.php directory. There you will find other META tags.
User avatar
Platinum Boarder

GK User
Wed Jun 11, 2014 4:15 pm
Reply with quote
Report this post
Sorry, there I found no other META tags.

I inserted the line and got a parsing error. on that line where I inserted the code:

<?php

// This is the code which will be placed in the head section

<meta name="uri-translation" content="on" />

// No direct access.
defined('_JEXEC') or die;

$this->addTemplateFavicon();
// check the color version
$template_style = $this->getTemplateStyle('style');
// load the CSS files
$this->API->addCSS($this->API->URLtemplate() . '/css/k2.css');

...

Any idea ?
User avatar
Fresh Boarder

GK User
Fri Jun 13, 2014 9:58 am
Reply with quote
Report this post
If you need to add META tag you need to modify file layouts/default.php and add your code right after this line :

Code: Select all
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
User avatar
Platinum Boarder


cron