Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
IOS Hotels
and
IOS Rentals
online booking systems for Elxis CMS.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Administration
»
Add meta name tag
« previous
next »
Print
Pages: [
1
]
Author
Topic: Add meta name tag (Read 10101 times)
yjw485
Newbie
Posts: 16
Add meta name tag
«
on:
August 06, 2010, 17:13:01 »
Will the Next Moderator: Add a new tag meta name = "title" content =, how to add?
Logged
CREATIVE Options
Authorized Elxis Professional
Elxis Community
Hero Member
Posts: 2334
Professional services for Elxis CMS
Re: Add meta name tag
«
Reply #1 on:
August 06, 2010, 18:13:24 »
You can fill them, by adding them
on the meta tag tab
of each content / category / section e.t.c.
Even if you don't fill anything Elxis CMS will fill them for you regarding each title.
Logged
yjw485
Newbie
Posts: 16
Re: Add meta name tag
«
Reply #2 on:
August 07, 2010, 03:07:05 »
Thanks! But you still do not understand my question, now this is the case
<Meta http-equiv = "Content-Type" content =
<title> Elxis </ title>
<Meta name = "description" content =
<Meta name = "keywords" content =
<meta name="Generator" content="Elxis-Copyright (C) 2006-2010 Elxis.org. All rights reserved." />
<meta name="robots" content="index, follow" />
I would like to add a tag inside another: <meta name = "title" content =
Will add in what position?
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Add meta name tag
«
Reply #3 on:
August 07, 2010, 14:15:53 »
You can add stuff to the Elxis header in your template's index.php file.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
yjw485
Newbie
Posts: 16
Re: Add meta name tag
«
Reply #4 on:
August 09, 2010, 19:06:09 »
Add a meta tag the title tag of each page to be different, elxis is mosShowHead this function to generate meta tags tags with <? Php mosShowHead ();?> Related
Logged
CREATIVE Options
Authorized Elxis Professional
Elxis Community
Hero Member
Posts: 2334
Professional services for Elxis CMS
Re: Add meta name tag
«
Reply #5 on:
August 09, 2010, 23:05:38 »
to do that you have to edit the hard code of the component content for sure, if you want different
Code:
[Select]
meta name = "title" content =
for each content.
Logged
cfb1972
Jr. Member
Posts: 88
Re: Add meta name tag
«
Reply #6 on:
November 20, 2010, 09:51:08 »
I'm having the same questions as for example one of my site pages display a short Title tag such as "Health" because in the menu there is an item called Health (this is a Cat item under a section).
What are the steps to change that to a longer and more relevant title tag to avoid short title tags? Is there any option in Elxis to edit the title tag and meta description for chategories?
Logged
CREATIVE Options
Authorized Elxis Professional
Elxis Community
Hero Member
Posts: 2334
Professional services for Elxis CMS
Re: Add meta name tag
«
Reply #7 on:
January 17, 2011, 17:54:49 »
You just have to edit the section / category meta tags.
If you change the seo title you must be careful for hard links & stored / indexed links.
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Add meta name tag
«
Reply #8 on:
January 17, 2011, 19:55:01 »
The page title for category pages is formatted like this:
{Category title} - {Section title}
function:
showCategory
The page title for category blog pages is formatted like this:
{Menu item name}
function:
showBlogCategory
If you want to change it, then do it like this:
$mainframe->setPageTitle($menu->name);
(around line 852)
To this:
$title = $menu->name;
if ($rows && isset($rows[0])) {
$title = $rows[0]->category;
if (trim($rows[0]->section) != '') {
$title .= ' - '.$rows[0]->section;
}
}
$mainframe->setPageTitle($title);
For more see:
components/com_content/content.php
«
Last Edit: January 17, 2011, 20:03:57 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Administration
»
Add meta name tag