SSL Labs ScoreSecurityHeaders.io Score

Log in to participate

There is no cost to join RicheyWeb, and membership is a requirement to submit bug reports and participate in the support forums.

addHeadLink and SetMetaData

More
5 months 1 week ago - 5 months 1 week ago #1862 by jjnxpct
jjnxpct created the topic: addHeadLink and SetMetaData
Hi!

We also use the 'addHeadLink' and 'SetMetaData' methods to insert some stuff in the Joomla header. For example like these:

$doc = JFactory::getDocument();
$doc->addHeadLink( '/templates/'.$this->template.'/favicon/apple-touch-icon.png', 'apple-touch-icon', 'rel', $attribs = array('sizes' => '180x180'));
$doc->addHeadLink( '/templates/'.$this->template.'/favicon/favicon.ico', 'shortcut icon', 'rel');
$doc->setMetaData('viewport','width=device-width, initial-scale=1,shrink-to-fit=no');

Is it possible to also include these in the HeadTag plugin? If not, maybe that would be a handy extra feature?
Last Edit: 5 months 1 week ago by jjnxpct.

Please Log in or Create an account to join the conversation.

More
5 months 1 week ago #1870 by michael
michael replied the topic: addHeadLink and SetMetaData
Those seem like likely candidates for inclusion. I will investigate what it would take to do that.
The following user(s) said Thank You: jjnxpct

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Kunena Forum