Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • capstoneweb Friend
    #951125

    Hello,

    Does anyone know how to get the k2 extra fields to diplay in the article after doing a K2 import to articles. I can see the new tab in the backend but want the info displayed on the articles.

    Thank you,

    Patti

    Luna Garden Moderator
    #951751

    Hi,

    Just add to the

    templates/yourtemplatename/html/com_content/article.php

    or any view you want, for example you have extra field name ‘fashion’ >> after migration, it’ll have name ‘ctm_fashion’.

    then to show it on front-end, just add these code:

    <?php echo $this->item->params->get('ctm_fashion'); ?>

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 1 reply, has 2 voices, and was last updated by  Luna Garden 8 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum