Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 joomla 2.5 中使用自定义组件。我需要更改元标记“描述”和“关键字”
如何覆盖元标记?
谢谢你的回答
来自Joomla 文档:
$doc =& JFactory::getDocument(); $doc->setMetaData( 'tag-name', 'tag-content' );