Home Forum
2017-11-24
Menu principale
Prodotti
Giochi a premi
Accedi ai servizi
Newsletter
Ricezione
Benvenuto, Ospite
Nome Utente Password: Ricordami

Is it possible with Tag Meta ?
(1 Online) (1) Ospite
  • Pagina:
  • 1

ARGOMENTO: Is it possible with Tag Meta ?

Is it possible with Tag Meta ? 7 Anni, 2 Mesi fa #1364

  • Joober
  • Offline
  • Fresh Boarder
  • Messaggi: 3
Hi ppl

Big thx 2 developers - thats nice plugin for meta and very easy to use. But I have 1 little problem.

I'm using the option "Add site name to page title (After)" - and it works correct, that's ok.

So all sites pages look like:

Article | Site.com
Category | Site.com
Section | Site.com

But anyway is it possible to use site name before the title strictly for main page. So main page would looks like:

Site.com - best site in the world

ps
i know i can use "Clean default page", but using just site name without any text at the frontpage is not best choise for seo...

Re: Is it possible with Tag Meta ? 7 Anni, 2 Mesi fa #1370

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Hi Joober,
first, thanks for using Tag Meta.

Joober wrote:
But anyway is it possible to use site name before the title strictly for main page. So main page would looks like:

Site.com - best site in the world


Maybe I don't get the problem, but if you need to set a specific "string" title just on the homepage, a way to do this is using Joomla features (no need to do with Tag Meta).

As example, my default menu item (homepage) is an article list in blog style. In the menu configuration under system parameters, if I set "show title" to yes I can set also "page title" as "Site.com - best site in the world".

Isn't this your case? If not, I can help you to add a new parameter to Tag Meta plugin, to do what you need.

Let me know,
Luigi

Re: Is it possible with Tag Meta ? 7 Anni, 2 Mesi fa #1375

  • Joober
  • Offline
  • Fresh Boarder
  • Messaggi: 3
Hi Luigi

thx for answering, but when I was talking about "page title", I didnt mean title showing in the body, I mean title showing in the top of the browser. For example for topic I created it called - "Is it possible with Tag Meta ? - Forum - Browser name".

Anyway, I'll try to rephrase my question.

For example, I have site with 4 pages. They are: mainpage called "Site.com - best site in the world", and 3 more pages called "About", "Contacts", "FAQ"

And for example my site called "Site.com" (site name in basic joomla options). Now I wanna use TagMeta plugin option "Add site name to page title". So I've turned on it at the position "After" and made Separator string like this "\b|\b".

Now thats all fine and we can see next titles (browser titles of course):

1. Site.com - best site in the world | Site.com
2. About | Site.com
3. FAQ | Site.com
4. Contacts | Site.com

And now all I wanna do is to make next list:

1. Site.com - best site in the world
2. About | Site.com
3. FAQ | Site.com
4. Contacts | Site.com

In other words, is it possible to turn off "Add site name to page title" option specially for main page.

Re: Is it possible with Tag Meta ? 7 Anni, 2 Mesi fa #1382

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Hi,
the answer is no, without to modify the plugin code. It's easy, tagmeta.php in folder "plugin/system". Line 87:

    if ($addsitename != 0) {


Change into:

    $menu =& JSite::getMenu();
if ( ($addsitename != 0) && ($menu->getActive() !== $menu->getDefault()) ) {


Then, you can delete line 103 (variable $menu already set):

$menu =& JSite::getMenu();


A better solution is to add a new parameter to exclude homepage from title modification (added to wishlist for next release).

Regards,
Luigi
Ultima modifica: 7 Anni, 2 Mesi fa Da admin.

Re: Is it possible with Tag Meta ? 7 Anni, 2 Mesi fa #1386

  • Joober
  • Offline
  • Fresh Boarder
  • Messaggi: 3
2 Luigi

The biggest thx. Now it works excellent. 8)
  • Pagina:
  • 1
Moderatori: admin
Tempo generazione pagina: 0.40 secondi
News
Cerca con Google
Chi è online
 136 visitatori online
Sponsor

Slotmachineaamsonline.com è una guida alle migliori slot machine online legali in Italia. Sul sito trovi un elenco sempre aggiornato dei casino online con Slot machine e bonus slot, le ultime novità dal mondo delle slot online e le migliori strategie per vincere. Inoltre, è disponibile una sezione dedicata alle slot machine da BAR che finalmente sono disponibili nella versione online.