0

In my website with ZF, I get pages with an ajax call. I want to change the meta tags (author, keywords, description) every time I do a new ajax-call. I put these setName() method in the ajax-controller but it doesn't fill the meta.

$this->headMeta()->setName('description', $description);
$this->headMeta()->setName('keywords', $keys);
$this->headMeta()->setName('author', $author);

Is it possible? how is the correct way?

4

0 に答える 0