skip to Main Content

I added a ArtistsArtistsModuleFrontController on my artists module.

It’s working perfectly but I add to go on the back office, section SEO & URL and edit module-artists-artists page to set Titles and URL (for each translations).

This is quite overkill and I would like my module to configure it automatically on installation.

Is this possible? How?

2

Answers


  1. If you doesn’t want to use database method, you can set directly meta title, meta description and meta keywords in your controller by set $this->context->smarty->tpl_vars['meta_title']->value

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search