Chybová zpráva

User warning: The following module is missing from the file system: localized. In order to fix this, put the module back in its original location. For more information, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1128 of /data/web/virtuals/13296/virtual/www/includes/bootstrap.inc).

Úprava meta tagů na úvodní stránce

Drupal 7 Front Page metatagObčas je potřeba poladit meta tagy. V drupalu 7 se to řeší nejlépe modulem Metatag. Můžete ovšem narazit na problém s úvodní stránkou. Nemáte-li úvodní stránku přímo obsahovou, třeba stránku, nastavenou přímo v modulu, drupal dolnění meta tagů nezvládne. (Jako příklad je třeba oddělená šablona front-page.tpl.php ve tématu vzhledu) Musíte na to jít jinak a doplnit to tam ručně... Pojďme se podívat, jak se to dělá!

Nejprve si najdete soubor tepmplate.php Je v adresáři thémata vzhledu.

Zde doplňte kód:

if (drupal_is_front_page())
{
$viewport = array(
  '#tag' => 'meta',
  '#attributes' => array(
    'name' => 'google-site-verification',
    'content' => 'RTv_msRq7HkRXIgNy',

  ),
);

}
drupal_add_html_head($viewport, 'viewport');

Můžete si udělat klidně víc řádků... třeba viewport2, můžete si dát změnit i tagy př.:

$viewport2 = array(
  '#tag' => 'link',
  '#attributes' => array(
    'rel' => 'publisher',
    'href' => 'https://plus.google.com/xxx',
  ),
);

drupal_add_html_head($viewport2, 'viewport2');

A to je celé. Zároveň vidíte i příklady použití připojení na google webmasters tools a autora článku s profilem na google plus.

Komentáře

2
Obrázek uživatele Regalos

Dík díky díky za tento návod. Dvě hodiny jsem zkoušel narvat <meta name="author" ... do template.php ... pouhé dopsání řádků nefungovalo... Přitom bych dal krk za to, že v D6 jsem to jen natvrdo dopsal a šlo to. Tady jse hledal jak to obejít a teprve tvůj postup zabral. Ještě jednou díky, Michal

Obrázek uživatele meadc

Prada Sunglasses - Official

ray ban sunglasses

coach australia

piumini moncler replica

hermes belt

ray ban sunglasses

nike free shoes

Wave Prophecy 2 Shoes

myhermes parcel shop

louis vuitton australia

Diamond Rings - Official

pandora rings

michael kors outlet bags

coach outlet

sunglasses sm

Michael Kors Outlet

coach outlet online

michael kors us

fake sunglasses

north face sale

Kate Spade - Online Sale

yeezy boots 350

kate spade outlet

nike shoes

prada wallet men

Ray Ban sunglasses

Nike Air Max 90 pas cher france

puma sneakers online

pandora uk

pandora jewelry sale

official michael kors

michael kors outlet

Football Jerseys Outlet

Nike Air Jordan

Wholesale Outlet Sale

nike jordan shoes

kate spade purses

kate spade outlet

pandora uk

prada online

kate spade italy

michael kors outlet online

louis vuitton outlet online

moncler sale

hermes bag

prada outlet sale

timberland shoes

celine outlet online

yeezy boost 350 shoes

burberry outlet

Nike Air Max 1

Nike Free

tiffany co

swatch watch

Football Jerseys Outlet

moncler us

chrome store

coach watches

chrome store

ray-ban glasses

yeezy boost 350

prada outlet online

burberry outlet online

prada outlet online

pandora deutschland

ray ban outlet

tiffany co

Brighton Jewelry - Official

shoes sale

Jewelry Armoire - Official

Coach outlet online

michael kors outlet

pandoracharms

Watches

Nike KD 8

pandora jewelry

puma outlet

ray-ban eyeglasses

burberry outlet sale

ray ban sunglasses sale

puma sneakers

moncler jacket

omega watches

Salomon Speedcross Shoes

ray ban frames

prada handbags

michael kors outlet

Jewelry Armoire - Official

Prada Bags

ray ban uk

discount oakley sunglasses

ray ban sale

louis vuitton outlet online

pandora uk

kate spade handbags

Brighton Jewelry - Official

Nike Air Force

Hermes Outlet

Baseball Jerseys Outlet

puma suede outlet

balenciaga outlet

puma outlet

prada us

coach outlet online

burberry scarf

coach tennis shoes

burberry purse

puma outlet

Baseball Jerseys Outelt

yeezy boost 350 shoes

michael kors outlet

ray ban sunglasses

BURBERRYburberry australia

Nike Air Jordan Enfants

michael kors

Hockey Jerseys Outlet

coach outlet online

sunglasses store

hermes outlet

Air Jordan Retro 3

michael kors outlet online

Nike Free

ray ban sunglasses

nike shox

Nike Air Max 2017

burberry australia

michael kors outlet

chanel bag

top sunglasses

Nike Free 3.0

pandora sale

ray-ban sunglasses

coach outlet online

prada outlet online

Jordan Flight 45 Femme

Dreamland Jewelry - Official

Nike Air Max 2017

Adamson

michael kors

michael kors outlet online

Prada Shoes - Official

prada outlet online

evbid

Cartier Watches

spades uk

Jared Jewelry - Official

puma suede

hot dor

Jimmy Choo Shoes

Nike Jordans

coach carter

yeezy shoes

Abercrombie Fitch

rolex watch

pandora rings uk

Nike Air Max Enfant

ray-Ban sunglasses

ray-ban aviator

moncler outlet

pandora charms

coach outlet

mk outlet online

puma sneakers outlet

coach outlet online

ugg uk

payless shoes

snow boots uk

pandora sale

burberry australia

salomon sneakers

balenciaga us

snow boots

louis vuitton

Nike Air Max Femme

Air Max 90 Femme

pandora.com

louboutin shoes

oakley frogskins sunglasses

Sunglasses outlet sale

mens sunglasses

sunglasses outlet

pandora jewelry uk

casio watches

Burberry Australia

pandora uk

coach outlet us

ray ban sunglasses outlet

ray ban polarized sunglasses

prada sale

kate spade wallet outlet

kate spade outlet

ugg boots

ray ban wayfarer

nbastore

Nike Free Run

prada purses

Jared Jewelry - Official

nike shox

yeezy boost 350 white

louis vuitton us

kate spade outlet

burberry outlet

Nike Air Max Enfant

prada outlet woodbury

Kay Jewelers - Official

ray ban outlet

puma oulet sale

Michael Kors Handbags Outlet Sale

pandora rings

handbags online sale

pandora uk

homepage keywords

ray ban outlet

Nike Zoom

tracking ups

kate spade handbags

Nike Shox R3

pandora jewelry

Prada Shoes - Official

Air Jordan 11 Femme

mcm outlet online

sunglasses hut

hermes bag

the beat

chrome store canada

Hugo Boss Store

ray ban online

michael kors uk online

michael kors

nflshop com

Nike Free

puma sneakers sale

hermes outlet

ray ban erika

michele watch

official chrome hearts

ray ban outlet

rayban prescription sunglasses

Basketball Jerseys Outlet

Nike Air Max

Nike Free Run

nike store

Oakley Sunglasses

pandora rings

michael kors australia official

Premier Jewelry - Official

michael kors outlet online

Air Max 180

abercrombie canada

michael kors outlet online

Nike Air Max 90 Mes

prada outlet

pandora charms sale

michael kors watches

coach handbags sale

Nike Free

pandora necklaces

coach outlet store

Air Jordan Enfant

Engagement Rings - Official

nike air max 95

michael kors

puma shoes

ray ban clubmaster sunglasses

michael kors outlet

Oakley Sunglasses

sunglasses

Prada bags

pandora rings

puma outlet

michael kors

Nike Air Max Chase

Nike Air Jordan Enfants

michael kors

pandora charms sale clearance

breitling watches

louis vuitton outlet online

Nike Blazer Femmes

Nike Air Max 90

sunglasses

payless shoes online

Nike Air Max Couple

Nike Air Jordan

poly sunglasses

ugg boots

coach usa online

burberry outlet

Promise Rings - Official

Basketball Jerseys Outlet

nike huarache shoes

michael kors watches

Celine Outlet Sale

prada online

polo outlet online

burberry outlet online

softball jerseys

Nike Air Jordan enfants

timberland outlet

Nike Boots

louis vuitton outlet

Prada Outlet

official coach outlet site

seiko watches

Oakley Sunglasses

sunglasses

canada goose sale

coach outlet online

Dreamland Jewelry - Official

louis vuitton outlet online

wayfarer sunglasses

michael kors outlet online

Nike Air Max

Wine

ralph lauren polo

Nike Air Max 90

Air Max 1 Homme

gel kayano

gucci watches

Premier Jewelry. - Official

hermes belt

pandora charms

Rolex Watch

ray ban wayfarer sunglasses

coach australia

canada goose sale online

kate spade outlet store

puma outlet online

timberland boots

ua shoes

Zales Jewelry

michael kors

Pandora Bracelet - Official

coach outlet online

Longchamp outlet

michael kors outlet

Nike Dunk SB Low

Nike Hyperdunk Shoes

pandora rings

yeezy shoes

80's Fashion

kate spade

ugg uk

citizen watches

prada sunglasses

burberry scarf

ray ban justin

Longchamp tote

shop mlb

oakley holbrook.

puma sneakers

prada outlet bags

Coach Handbags

michael kors outlet

louis vuitton bags

pandora uk

official kate spade website

Wedding Rings- Official

Chanel Outlet

coachs outlet

coach outlet online sale

rayban sunglasses

kate spade outlet

burberry outlet canada

oakley sunglasses

diesel watches

Wave Prophecy 2 Shoes

rayban prescription glasses

official michael kors

Air Max 180

pandora bracelets charms

Nike Air Jordan Homme

Nike Air Max

Nike Free Run

pandora uk

Coach Sunglasses Outlet

michael kors

chrome store

moncler outlet

nike running

Burberry Shirt - Official

Prada Sunglasses - Official

coach outlet

me adc6.21

Přidat komentář