Home Notes Web development Displaying meta keywords in articles

Displaying meta keywords in articles E-mail
Saturday, 16 May 2009 23:12

It took a while but I found what I was looking for: an extension that allowed me to display meta keywords within articles.  The bonus is it turns each one into a link with which you can browse other articles sharing that keyword.

I made one small and easy tweak.  By default the plugin only displays the tags in individual article view.  I modified the SearchTag.php file from:

if ((JRequest :: getVar('view')) == 'article'){


if (((JRequest :: getVar('view')) == 'article') || ((JRequest :: getVar('view')) == 'frontpage')) {

Now the tags appear on the frontpage as well.

Tags: keywords  meta  extension  plugin  Joomla!  tweak  SearchTag  code