<link href="http://fonts.googleapis.com/css?family=Open+Sans&subset=latin,greek" />
$eDoc->addStyleLink($oneweb->googleWebFonts);
tplparams['googleWebFonts']
public $gfont = '';
public function addHead() { $eModule = eFactory::getModule(); $eDoc = eFactory::getDocument(); $elxis = eFactory::getElxis(); public $gfont = ''; // Google fonts styles if ($this->tplparams['googleWebFonts'] != "copy the css link from Google here") { //echo '<link href="http://fonts.googleapis.com/css?family=Open+Sans&subset=latin,greek" />'."\n"; //$eDoc->addStyleLink($oneweb->googleWebFonts); $this->gfont = $this->tplparams['googleWebFonts']; }// other code before and after work}