This blog has moved to a new location! http://iqandreas.github.com/

Monday, June 7, 2010

[K2Fave] Joomla! K2 favorites plugin translated and finished

I spent the weekend translating and fixing up the K2Fave modification, so now it should be completely understandable, as well as adjustable to anyone's needs.

For more details, see the original blog post
http://iqandreas.blogspot.com/2010/06/joomla-k2-favorite-item-manager.html


Easily changeable text and user messages

Any major text or language changes can be done in "messages.php", which contains several lines similar to this:
define('T_ADD_TO_FAVES', "Add item to favorites");

Any form of HTML tags, including images, are allowed in that field, so rather than modifying the source directly, all you need to do is modify the text in the messages file. This is also convenient if you want multilingual support for a site, and can easily be achieved with a few slight modifications.


Database changes

If anyone has already implemented the previous release, the database needs to be renamed to "jos_k2_favorites" with the following fields:
user_id int(11) PRIMARY_KEY
item_id int(11) PRIMARY_KEY
NOTE: This is in addition to updating the PHP files!


Documentation

The most relevant information can be found in the README.txt file inside the ZIP, or on the original blog post.

Most everything is self explanatory, but if anyone needs any better documentation or clarification for anything, leave a comment or send an email to the address listed in the readme file.


Installation

The installation steps are the same as before, and the ZIP file can be found in the same location as before.
http://iqandreas.isbetterthanyou.org/files/joomla/k2fave/k2fave.zip


Cheers,
Andreas
http://iqandreas.blogspot.com/
http://iqandreas.isbetterthanyou.org/

1 comment:

  1. Thanks so much for this. I'm tossing up between putting this in place or using the K2Joom Multinotify which also works as a favourites for my purposes. I'll see if I can make sense of your code (it's not you, it's me) and if I can get something more out of this one. Thanks again for giving the option though. Look forward to this as an installable plugin in the JED!

    ReplyDelete