The code at the end of helpers/utilities.php looks like this: ----- function getParams($option){ if(K2_JVERSION == '16'){ $app = JFactory::getApplication('site'); var_dump($app); $params = & $app->getParams($option); } else { $params =...
If you install my component com_tc_comments, the ip address will get recorded in the jos_k2_comments table. However, you won't get to see the IP address unless the comment gets reported as inappropriate or spam, or you look at...
OK, I realize that this is more of a Jooma problem than a K2 problem, but it has to do with a K2 extension I've developed. The problem is, this piece of code doesn't work: ----- $db = & JFactory::getDBO(); $query = "SELECT * FROM...
From the README.txt file for com_tc_comments: 2. Add two fields to the jos_k2_comments table: ALTER TABLE `jos_k2_comments` ADD COLUMN `approved` TINYINT(1), ADD COLUMN `ip` CHAR(20);
Upgraded to work with K2 v2.3, and fixed a bug that prevented people who posted comments from voting.
It's done the hard way. It's a regular Joomla page, and when I edit it, I click "toggle editor" at the bottom, and just type in all the "tr" and "td" tags. Yes, it would be nice to create a component to manage this sort of thing, but I know...
My latest K2 powered site is courtesyrunner.com/ . It's similar in appearance to the previous site I did, thecanadian.org/ . The templates used are similar. However, CourtesyRunner.com uses v2.3 of K2 (with Joomla 1.5.20), and...
I've figured out a "sort of solution" for this. I altered the file com_k2/views/itemlist/view.html.php. Line 161 of this file is: $this->setLayout('generic'); I changed it to: $this->setLayout('tag'); Then, I copied the...
On my site, I'm displaying articles both by category and by tag.When displaying by category, I've chosen a custom template in the category setup, and everything works fine. See, for example, thecanadian.org/k2-video However, when...
I'm the webmaster for The Common Sense Canadian, thecanadian.org/This site is an online magazine of the Huffington Post nature. It makes major use of K2, including a custom-developed "vote on comment" components, and several custom...
More