Injection html code on head in splash.php

Hello how make inject more custum metatags in head i find  $oTemplate->setPageInjections ($oPage->getInjections());  But have error.  I think because no info in database.

What can i do may i create new page add inject and call inject from that page to my splash.php? But how call.

Or something simple but with splash.php!

I try to use https://ci.una.io/docs/classBxDolMetatags.html but not get result.

Thanx.

  • 277
  • More
Replies (1)
    • Hello Rocco !

      AS you are working already with the code directly (isn't such a good process for the future upgrades) you may use the constructions like:

      $oTemplate->addInjection('injection_head', 'text', 'your tags');

      Login or Join to comment.