Using json_decode in PHP is handing for extracting json parameters from PHP. Similarly, you can use JSON_EXTRACT in an SQL query.
SELECT JSON_EXTRACT(`params`, '$.parent_info_session') FROM `minto_categories` WHERE `id` = 96
Thise selects the data from the parent_info_session par...
I you're getting Unable to Connect or ERR_CONNECTION_REFUSED when trying to connect to a site on localhost, check the configuration.php file to see if $force_ssl is set to 2. Change it to 0 and the problem should go away.
You can use array_keys to get the keys from an array but how do you get the keys from elements in an object.
Easiest method is to cast the object to an array and use array_keys.
$Keys = array_keys(array)$ObjectName);
Assuming the Media Manager is already identifying application/pdf as a valid mime type and it's still not working.
log into cPanel
Choose "select PHP version" under "software" heading
Make sure fileinfo is checked
If you are trying to hide the author avatar and other related information that appears in a K2 Item, you can do this on an article-by-article basis or you can change the settings for the category that the article belongs to.
Edit category > Item View Options > Author options > Display ext...
When attempting to use the Gavick News Show Pro GK5 module in conjunction with their News template.
I've used the Quickstart package on my internal development server and installed K2 so that I can use its features. If I edit any one of the instances of the News Show Pro GK5 modules and save the s...