Pawel F wrote:Hi,
you are my local hero. you broke and you admit it, most of users are hiding this and trying to convince us that it's our fault.
Why you want to add this code?
If you want to hide metatag with "Made by Joomla" better use plugin which do it much better. For example ByeByeGenerator
Hi

of course I will admit it

if something is broken because of me
Actually I don't want to use plugins ( I prefer such small things to add directly into the code) - more plugins , less speed

And also I want to add another modification to the template - for example to make the Home page showing only the Site name (not Home - Site Name, or Site Name - Home)
I am gonna use this example code
- Code: Select all
<?php
$menuItemId = JRequest::getInt('Itemid');
if ($menuItemId == 101) $this->setTitle('Site Name');
?>
But it must be added in the template head section too. That's why I'm searching the proper way to add it.
Can you tell me in which file I must add it ?