I have the Joomla K2 plugin installed. Is there a way to read the value of an article’s K2 Extra Field from a module? I just need to read the value in PHP from within a module’s default.php file. Thanks.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I modified the K2 content module to pull all of the current items data for display in a module position. It supports subtemplates and data displayed can be selected through the module parameters so you should be able to display anything you want in the module. This module is dependent on being displayed on a K2 item page to work since it pulls the content based on the current item ID. You can get that module here – K2 BNR Module
Otherwise, you can use the standard K2 Content module. You can choose your content from categories, specific items, or even a single item. Then use the parameters and template options to display the content as needed. This does not require the module to be on a K2 item page as it selects the items to display on its own.