K2 | The powerful content extension for Joomla! developed by JoomlaWorks - Forum Kunena Site Syndication http://getk2.org/ Fri, 24 May 2013 12:18:32 +0000 Kunena 1.6 http://getk2.org/components/com_kunena/template/getK2Community/images/icons/rss.png K2 | The powerful content extension for Joomla! developed by JoomlaWorks - Forum http://getk2.org/ en-gb Subject: [SOLVED] don't display a specific category view - by: Felipe Abranches http://getk2.org/community/New-to-K2-Ask-here-first/177141-SOLVED-dont-display-a-specific-category-view#177413 http://getk2.org/community/New-to-K2-Ask-here-first/177141-SOLVED-dont-display-a-specific-category-view#177413 Krikor Boghossian wrote:
Its the same thing, the one is pure PHP the other one is thought the API.

Both have the same functionality. You need to develop a K2 plugin to render this code in order to handle these redirects from the backend.


That's a great idea, thanks!]]>
New to K2? Ask here first! Fri, 24 May 2013 12:11:37 +0000
Subject: K2 the social buttons - by: Krikor Boghossian http://getk2.org/community/New-to-K2-Ask-here-first/163211-K2-the-social-buttons#177409 http://getk2.org/community/New-to-K2-Ask-here-first/163211-K2-the-social-buttons#177409
Facebook is sometimes experiencing issues and maybe your area was affected, usually they are very quick and thorough when it comes to bug/issue fixing.]]>
New to K2? Ask here first! Fri, 24 May 2013 10:39:48 +0000
Subject: Delete own item from frontend - by: Krikor Boghossian http://getk2.org/community/New-to-K2-Ask-here-first/168841-Delete-own-item-from-frontend#177408 http://getk2.org/community/New-to-K2-Ask-here-first/168841-Delete-own-item-from-frontend#177408 On the other hand a user can unpublish his items if he has the correct permissions.]]> New to K2? Ask here first! Fri, 24 May 2013 10:36:50 +0000 Subject: Duplicate pages - by: Krikor Boghossian http://getk2.org/community/New-to-K2-Ask-here-first/177146-Duplicate-pages#177407 http://getk2.org/community/New-to-K2-Ask-here-first/177146-Duplicate-pages#177407
With a similar extension or sh404 you can have a normal domain/tag/tag-name url for all your tags and a unique url for your items. My personal opinion is that developing a plugin on your own for this functionality will cost you a lot more in time and effort.

I will however take a look at some of them and what they do before I make a final call on it.


The best approach is this actually, experiment on a dev site and I m sure you 'll figure out the best approach.

Regards.]]>
New to K2? Ask here first! Fri, 24 May 2013 10:34:12 +0000
Subject: TAG selector options disappeared in TAG Menu - by: Krikor Boghossian http://getk2.org/community/New-to-K2-Ask-here-first/176006-TAG-selector-options-disappeared-in-TAG-Menu#177406 http://getk2.org/community/New-to-K2-Ask-here-first/176006-TAG-selector-options-disappeared-in-TAG-Menu#177406
I m not quite sure when the next release will be, but you should regard this issue as fixed.

For the time being the SVN release will produce any errors or affect your workflow in any way.]]>
New to K2? Ask here first! Fri, 24 May 2013 10:24:19 +0000
Subject: Erratic Order behavior - by: Krikor Boghossian http://getk2.org/community/New-to-K2-Ask-here-first/177391-Erratic-Order-behavior#177405 http://getk2.org/community/New-to-K2-Ask-here-first/177391-Erratic-Order-behavior#177405
There is a setting for this, but by default it's disabled by default for better performance.

On the advanced tabs of K2 params you need to set Disable ordering compacting to yes.
Please note that if you have a large amount of articles (several hundred or thousands) this might affect your performance.

PS. You should backup and upgrade to 2.5.11 asap for security reasons.]]>
New to K2? Ask here first! Fri, 24 May 2013 10:21:02 +0000
Subject: Disqus Backlinks ? - by: Krikor Boghossian http://getk2.org/community/New-to-K2-Ask-here-first/177401-Disqus-Backlinks-#177404 http://getk2.org/community/New-to-K2-Ask-here-first/177401-Disqus-Backlinks-#177404
Disqus uses iframes for its comments, so they are not accesible to the search engines.

If the disqus plugin is properly built and I think that is the case it renders your comments as K2 comments in a hidden block bellow your disqus comments. This way they are completely accessible and SEO friendly.]]>
New to K2? Ask here first! Fri, 24 May 2013 10:15:20 +0000
Subject: Tragic Problem with Tag urls - by: Krikor Boghossian http://getk2.org/community/New-to-K2-Ask-here-first/177385-Tragic-Problem-with-Tag-urls#177403 http://getk2.org/community/New-to-K2-Ask-here-first/177385-Tragic-Problem-with-Tag-urls#177403 New to K2? Ask here first! Fri, 24 May 2013 10:07:40 +0000 Subject: [SOLVED] K2 problem with categories and sub-categories - by: nutonas http://getk2.org/community/New-to-K2-Ask-here-first/177352-SOLVED-K2-problem-with-categories-and-sub-categories#177399 http://getk2.org/community/New-to-K2-Ask-here-first/177352-SOLVED-K2-problem-with-categories-and-sub-categories#177399 ]]> New to K2? Ask here first! Fri, 24 May 2013 08:39:15 +0000 Subject: K2 on multilanguage sites - by: Yiota Ziaggou http://getk2.org/community/New-to-K2-Ask-here-first/176994-K2-on-multilanguage-sites#177397 http://getk2.org/community/New-to-K2-Ask-here-first/176994-K2-on-multilanguage-sites#177397 New to K2? Ask here first! Fri, 24 May 2013 08:23:46 +0000 Subject: Commenting on K2 blog using only social account - by: Yiota Ziaggou http://getk2.org/community/New-to-K2-Ask-here-first/176985-Commenting-on-K2-blog-using-only-social-account#177396 http://getk2.org/community/New-to-K2-Ask-here-first/176985-Commenting-on-K2-blog-using-only-social-account#177396
You will have to create a K2 template override. The point of this is that you won't be hacking any core K2 files which upon update you will be lost. Copy the files in folder

components/com_k2/templates/
to
templates/YOUR_TEMPLATE/html/com_k2/.

Then open the file item.php that is located in your template folder and not the component's folder.

Locate the if statement I described earlier (that is the correct one you have posted), comment out all elements inside that if statement (or erase them) and paste your facebook code there.]]>
New to K2? Ask here first! Fri, 24 May 2013 08:18:05 +0000
Subject: problem - by: Peter http://getk2.org/community/New-to-K2-Ask-here-first/177386-problem#177390 http://getk2.org/community/New-to-K2-Ask-here-first/177386-problem#177390
In regards to your Category View issue, When you change Image size it only applies the changes to any new image you upload, not existing ones. And if you create a Category Menu item and display child categories they will inherit their various Category view settings.]]>
New to K2? Ask here first! Fri, 24 May 2013 06:42:01 +0000
Subject: K2 Users Horizontal Layout? - by: Roger Moreno http://getk2.org/community/New-to-K2-Ask-here-first/166555-K2-Users-Horizontal-Layout#177384 http://getk2.org/community/New-to-K2-Ask-here-first/166555-K2-Users-Horizontal-Layout#177384
first, add this to k2.css.


div.k2UsersBlock {}
div.k2UsersBlock ul { list-style: none outside none;}
div.k2UsersBlock ul li.userModuleItem { display: inline; width:147px; padding:11px; border-right: 1px solid #d7d7d7; float: left; overflow: hidden; }
div.k2UsersBlock ul li.lastItem { border: 0; }
div.k2UsersBlock ul li .userInfo { text-align: center; }
div.k2UsersBlock ul li a.ubUserAvatar img { margin-bottom: 10px; }
div.k2UsersBlock ul li a,
div.k2UsersBlock ul li a:visited { color: #2484b0; }
div.k2UsersBlock ul li a:hover { color:#000; }
div.k2UsersBlock ul li h4.userModuleName { margin: 5px 0; padding: 0; font-size: 16px; line-height: 22px; }
div.k2UsersBlock ul li a.ubUserName {}
div.k2UsersBlock ul li a.ubUserName:hover { }
div.k2UsersBlock ul li div.ubUserDescription { line-height: 20px; }
div.k2UsersBlock ul li div.ubUserAdditionalInfo { padding: 15px 0 30px; border-bottom: 1px solid #d7d7d7; }
a.ubUserFeedIcon,
a.ubUserFeedIcon:hover {display:inline-block;margin:0 2px 0 0;padding:0;width:16px;height:16px;background:url(/images/fugue/feed.png) no-repeat 50% 50%;}
a.ubUserFeedIcon span,
a.ubUserFeedIcon:hover span {display:none;}
a.ubUserURL,
a.ubUserURL:hover {display:inline-block;margin:0 2px 0 0;padding:0;width:16px;height:16px;background:url(/images/fugue/globe.png) no-repeat 50% 50%;}
a.ubUserURL span,
a.ubUserURL:hover span {display:none;}
span.ubUserEmail {display:inline-block;margin:0 2px 0 0;padding:0;width:16px;height:16px;background:url(/images/fugue/mail.png) no-repeat 50% 50%;overflow:hidden;}
span.ubUserEmail a {display:inline-block;margin:0;padding:0;width:16px;height:16px;text-indent:-9999px;}
 
div.k2UsersBlock ul li h3 {clear:both;margin:8px 0 0 0;padding:0;}
div.k2UsersBlock ul li ul.ubUserItems { font-weight: 700; font-size: 14px; line-height: 20px; margin: 10px 0; padding: 0; overflow: hidden;}
div.k2UsersBlock ul li ul.ubUserItems li { padding: 0 0 10px; }
div.k2UsersBlock ul li ul.ubUserItems li a,
div.k2UsersBlock ul li ul.ubUserItems li a:visited { background: url(/images/template/listArrowGray.png) no-repeat 0 4px; padding: 0 0 0 15px; display: block; }
 


then modify the template of the module an the line 18 will be like this

		<li class="<?php echo ($key%2) ? "odd lastItem userModuleItem" : "even userModuleItem"; if(count($users)==$key+1) echo ' lastItem'; ?>">


i add "odd lastItem userModuleItem" : "even userModuleItem"]]>
New to K2? Ask here first! Fri, 24 May 2013 03:56:19 +0000
Subject: Enabling social sharing in K2 - by: Peter http://getk2.org/community/New-to-K2-Ask-here-first/176846-Enabling-social-sharing-in-K2#177382 http://getk2.org/community/New-to-K2-Ask-here-first/176846-Enabling-social-sharing-in-K2#177382 Rakel wrote:
Hi Peter,
Thanks for the tip, I'm afraid it's a little too advanced for me. I need more specific instructions to be able to achieve this. But thanks anyways

Hi Rakel,
It may seem a bit difficult at first but it's not really.


1/ Open your sites Default Template folder (you should see a folder named html (if none exists create one).

2/ Inside the html folder create a new folder (name it com_k2)

3/ Then navigate to components/com_k2/templates then (copy all the files &amp; the default folder)

4/ Navigate back to the your templates html folder &amp; open the com_k2 folder that you created in step 2 and Paste the files &amp; default folder.

5/ Rename Default folder to anything you like eg my_override_template (you can copy the default folder multiple times if you want multiple overrides)

6/ Then in K2 open the Category you want to override, In the Right Side Menu - Category Item Layout - select a template (you should see your new overide in dropdown list)

7/ If you want to overide the K2s CSS files, you need a plugin called CSS4K2 it's free and you can find it HERE

item.php & category_item.php are the 2 files that are most often customized, and you can always delete the overrides & start again, so its fine to experiment.

If you need any help let me know.]]>
New to K2? Ask here first! Fri, 24 May 2013 02:42:20 +0000
Subject: TOGLIERE I LINK DALLE FOTO DELLO SLIDER - by: Angelo Battisti http://getk2.org/community/Comunità-italiana-K2/177346-TOGLIERE-I-LINK-DALLE-FOTO-DELLO-SLIDER#177346 http://getk2.org/community/Comunità-italiana-K2/177346-TOGLIERE-I-LINK-DALLE-FOTO-DELLO-SLIDER#177346
in pratica vorrei togliere il link dalle foto dello slider e del testo vicino ad esso. ho provato nelle opzioni ma niente da fare.

potete aiutarmi per favore?

grazie!

il sito dove ho messo la prova è questo www.angelobattisti2.altervista.org

per favore potete rispondere su questa mail This e-mail address is being protected from spambots. You need JavaScript enabled to view it grazie]]>
Comunità italiana K2 Thu, 23 May 2013 20:45:58 +0000
Subject: [SOLVED] How to edit Author block from the frontpage - by: Diogo Wernik http://getk2.org/community/New-to-K2-Ask-here-first/176844-SOLVED-How-to-edit-Author-block-from-the-frontpage#177342 http://getk2.org/community/New-to-K2-Ask-here-first/176844-SOLVED-How-to-edit-Author-block-from-the-frontpage#177342
Just did it!
Now is really nice

Very good tip!
]]>
New to K2? Ask here first! Thu, 23 May 2013 20:18:56 +0000
Subject: [SOLVED] K2 Generic Image width - by: Michelangelo http://getk2.org/community/New-to-K2-Ask-here-first/176243-SOLVED-K2-Generic-Image-width#177327 http://getk2.org/community/New-to-K2-Ask-here-first/176243-SOLVED-K2-Generic-Image-width#177327 New to K2? Ask here first! Thu, 23 May 2013 17:15:16 +0000 Subject: K2 Tools Problem/Error - by: Krikor Boghossian http://getk2.org/community/New-to-K2-Ask-here-first/173777-K2-Tools-ProblemError#177315 http://getk2.org/community/New-to-K2-Ask-here-first/173777-K2-Tools-ProblemError#177315 New to K2? Ask here first! Thu, 23 May 2013 13:46:30 +0000 Subject: SEF URL Help Please !!! - by: Peter http://getk2.org/community/New-to-K2-Ask-here-first/176771-SEF-URL-Help-Please-#177314 http://getk2.org/community/New-to-K2-Ask-here-first/176771-SEF-URL-Help-Please-#177314 Krikor Boghossian wrote:
Hello Peter,

I am no SEO expert but I am pretty sure that /item/63- will not harm SEO in any way.
Item shows that you are on a single post and I think Google prefers a unique ID.


Thx Krikor, I just wanted to make sure once & for all, I thought as much "I noted a lot of pretty big sites leave it in"]]>
New to K2? Ask here first! Thu, 23 May 2013 13:39:47 +0000
Subject: Maybe we need a Movie review category LOL - by: Peter http://getk2.org/community/New-to-K2-Ask-here-first/177197-Maybe-we-need-a-Movie-review-category-LOL#177310 http://getk2.org/community/New-to-K2-Ask-here-first/177197-Maybe-we-need-a-Movie-review-category-LOL#177310 New to K2? Ask here first! Thu, 23 May 2013 13:21:24 +0000 Subject: Extra field values - ordering - by: Bernd Duhnke http://getk2.org/community/New-to-K2-Ask-here-first/9385-Extra-field-values---ordering#177308 http://getk2.org/community/New-to-K2-Ask-here-first/9385-Extra-field-values---ordering#177308 New to K2? Ask here first! Thu, 23 May 2013 12:23:00 +0000 Subject: Real article preview - by: Krikor Boghossian http://getk2.org/community/New-to-K2-Ask-here-first/177288-Real-article-preview#177306 http://getk2.org/community/New-to-K2-Ask-here-first/177288-Real-article-preview#177306
Then I would use that page to login to the forntend (if you already have a k2 user module disregard the above).

I would then publish the item as special or registered, apply any changes if needed and the change the access level back to Public in order to be accesible to everyone.]]>
New to K2? Ask here first! Thu, 23 May 2013 11:57:32 +0000
Subject: New button is not working before K2 Installed - by: Krikor Boghossian http://getk2.org/community/New-to-K2-Ask-here-first/176960-New-button-is-not-working-before-K2-Installed#177302 http://getk2.org/community/New-to-K2-Ask-here-first/176960-New-button-is-not-working-before-K2-Installed#177302
There is a chance that you are using the same class name with K2.]]>
New to K2? Ask here first! Thu, 23 May 2013 11:38:33 +0000
Subject: Server error occured: Class K2Table not found in k - by: Dani http://getk2.org/community/New-to-K2-Ask-here-first/176956-Server-error-occured-Class-K2Table-not-found-in-k#177300 http://getk2.org/community/New-to-K2-Ask-here-first/176956-Server-error-occured-Class-K2Table-not-found-in-k#177300 New to K2? Ask here first! Thu, 23 May 2013 11:33:26 +0000 Subject: Question about databases for k2 - by: Krikor Boghossian http://getk2.org/community/New-to-K2-Ask-here-first/177216-Question-about-databases-for-k2#177298 http://getk2.org/community/New-to-K2-Ask-here-first/177216-Question-about-databases-for-k2#177298
I am pretty sure though that you can install MySQL on IIS.]]>
New to K2? Ask here first! Thu, 23 May 2013 11:31:38 +0000
Subject: K2 Tools Module - Archive menu link? - by: Krikor Boghossian http://getk2.org/community/New-to-K2-Ask-here-first/177148-K2-Tools-Module---Archive-menu-link#177297 http://getk2.org/community/New-to-K2-Ask-here-first/177148-K2-Tools-Module---Archive-menu-link#177297
You have to alter your template a bit.
You have to make a condition eg. if the view is an itemlist the option is com_k2 and the task is date then render the modules and the markup you wish.]]>
New to K2? Ask here first! Thu, 23 May 2013 11:28:13 +0000
Subject: Step by Step - by: Yiota Ziaggou http://getk2.org/community/New-to-K2-Ask-here-first/177287-Step-by-Step#177289 http://getk2.org/community/New-to-K2-Ask-here-first/177287-Step-by-Step#177289 getk2.org/documentation/k2class2012]]> New to K2? Ask here first! Thu, 23 May 2013 10:13:25 +0000 Subject: How can I remove/hide the "Author" from every post - by: Yiota Ziaggou http://getk2.org/community/New-to-K2-Ask-here-first/177250-How-can-I-removehide-the-Author-from-every-post#177286 http://getk2.org/community/New-to-K2-Ask-here-first/177250-How-can-I-removehide-the-Author-from-every-post#177286 New to K2? Ask here first! Thu, 23 May 2013 09:16:11 +0000 Subject: How do you activate the language packs? - by: Yiota Ziaggou http://getk2.org/community/New-to-K2-Ask-here-first/177219-How-do-you-activate-the-language-packs#177285 http://getk2.org/community/New-to-K2-Ask-here-first/177219-How-do-you-activate-the-language-packs#177285 New to K2? Ask here first! Thu, 23 May 2013 09:14:05 +0000 Subject: display items for registered users in category lis - by: Yiota Ziaggou http://getk2.org/community/New-to-K2-Ask-here-first/177143-display-items-for-registered-users-in-category-lis#177284 http://getk2.org/community/New-to-K2-Ask-here-first/177143-display-items-for-registered-users-in-category-lis#177284 New to K2? Ask here first! Thu, 23 May 2013 09:09:26 +0000 Subject: [SOLVED] ReCaptcha not working - by: MdeBoer http://getk2.org/community/New-to-K2-Ask-here-first/176998-SOLVED-ReCaptcha-not-working#177282 http://getk2.org/community/New-to-K2-Ask-here-first/176998-SOLVED-ReCaptcha-not-working#177282
Thank you for your response.

The issue can be closed.

Regards,

Mark

ps. I have updated the side to the latest Joomla version]]>
New to K2? Ask here first! Thu, 23 May 2013 09:05:55 +0000
Subject: [SOLVED] Show catagories : toMySQL error - by: Mirjan Hajnc http://getk2.org/community/New-to-K2-Ask-here-first/177124-SOLVED-Show-catagories--toMySQL-error#177281 http://getk2.org/community/New-to-K2-Ask-here-first/177124-SOLVED-Show-catagories--toMySQL-error#177281 Thank you very much for your help.]]> New to K2? Ask here first! Thu, 23 May 2013 09:04:09 +0000 Subject: [SOLVED] placeholder template override - by: Yiota Ziaggou http://getk2.org/community/New-to-K2-Ask-here-first/176982-SOLVED-placeholder-template-override#177280 http://getk2.org/community/New-to-K2-Ask-here-first/176982-SOLVED-placeholder-template-override#177280 New to K2? Ask here first! Thu, 23 May 2013 08:56:24 +0000 Subject: Add Article page directly from Menu - by: Eric http://getk2.org/community/New-to-K2-Ask-here-first/177060-Add-Article-page-directly-from-Menu#177278 http://getk2.org/community/New-to-K2-Ask-here-first/177060-Add-Article-page-directly-from-Menu#177278
/index.php?option=com_k2&view=item&task=add&tmpl=component

go to that page, if it shows the front end item edit form, then your setup for it, then we can do a bypass of sorts, to make it appear in your menu, if not, does the user or you have proper user, and group permissions setup within k2?

you can read this thread for someone with a similar issue: getk2.org/community/New-to-K2-Ask-here-f...tem-edit-form#174029

the tags part, it might be possible, but would probably require a good bit of code changes]]>
New to K2? Ask here first! Thu, 23 May 2013 07:59:02 +0000
Subject: Immagini di un articolo "RESPONSIVE" - by: Michele De Filippi http://getk2.org/community/Comunità-italiana-K2/176957-Immagini-di-un-articolo-RESPONSIVE#177274 http://getk2.org/community/Comunità-italiana-K2/176957-Immagini-di-un-articolo-RESPONSIVE#177274 ]]> Comunità italiana K2 Thu, 23 May 2013 06:52:57 +0000 Subject: JPath Error - by: Şükrü http://getk2.org/community/Türkçe-K2-Topluluğu/175897-JPath-Error#177270 http://getk2.org/community/Türkçe-K2-Topluluğu/175897-JPath-Error#177270
Acilen 2.5 sürümüne geçin.]]>
Türkçe K2 Topluluğu Thu, 23 May 2013 06:41:08 +0000
Subject: Tool for importing / exporting items to / from K2 - by: Mike http://getk2.org/community/New-to-K2-Ask-here-first/1546-Tool-for-importing--exporting-items-to--from-K2?limit=30&start=90#177156 http://getk2.org/community/New-to-K2-Ask-here-first/1546-Tool-for-importing--exporting-items-to--from-K2?limit=30&start=90#177156
i wanted to concatenate the item details as each one had different entries / info. for example in one item you might have values for the following fields:

Title Alias Introtext Fulltext Tags Published Created User ID Category Name Category Description

and for another

Title Alias Introtext Fulltext Tags Published Created User ID Category Name Category Description Length Width Height Cockpit Weight Load

with the last entries applying to extra fields.

q1: the end of each item is denoted by 2 commas ?
q2: in the guidelines you say that : text-fields must be enclosed within double-quote characters => ", what do you mean? in the export file i see every field enclosed like this "field"
q3: when i export the image path is not captured. why? how can i fix this so that to avoid manual update of images for each item?
q4: can i upload price as an extra field and then associate it to kmart price field?

thank you for your support!
Individual IT wrote:
I mean you can use the file you exported as an example.
What you mean by "the fonts do not come out well"?
The export is a text file, so if you have formated the fonts by HTML they will not look the same in the text file. And after import all the HTML code is imported but the formating also depends on the CSS and other formats on your page
]]>
New to K2? Ask here first! Wed, 22 May 2013 20:03:46 +0000
Subject: Etiquetas k2 en joomla 2.5 no funcionan bien - by: Daniela http://getk2.org/community/Comunidad-hispana-oficial-de-K2/177126-Etiquetas-k2-en-joomla-25-no-funcionan-bien#177134 http://getk2.org/community/Comunidad-hispana-oficial-de-K2/177126-Etiquetas-k2-en-joomla-25-no-funcionan-bien#177134
saludos!]]>
Comunidad hispana oficial de K2 Wed, 22 May 2013 14:28:33 +0000
Subject: Problem with item meta tags - by: exigo http://getk2.org/community/New-to-K2-Ask-here-first/9299-Problem-with-item-meta-tags#177128 http://getk2.org/community/New-to-K2-Ask-here-first/9299-Problem-with-item-meta-tags#177128 thanx all answer! ]]> New to K2? Ask here first! Wed, 22 May 2013 13:11:28 +0000 Subject: Comment notify not send - by: Konrad http://getk2.org/community/New-to-K2-Ask-here-first/176958-Comment-notify-not-send#177122 http://getk2.org/community/New-to-K2-Ask-here-first/176958-Comment-notify-not-send#177122 I figuerd that K2 dont have comment notify email function when someone send comment/inquiry
I found K2MultiNotify from K2Joom but this is not available for J2.5 ;/

Thanks for effort!

That little bit of code does the job! Need to some fixes but works!
hackingjoomla.blogspot.com/2012/09/updat...otifications-on.html
It uses report comment function as comment notify.

So find line
$response->message = JText::_('K2_COMMENT_ADDED_AND_WAITING_FOR_APPROVAL');
at components/com_k2/models/item.php

and add before:

$mainframe = &JFactory::getApplication(); $mail = &JFactory::getMailer(); $senderEmail = $mainframe->getCfg('mailfrom'); $senderName = $mainframe->getCfg('fromname'); $mail->setSender(array($senderEmail, $senderName)); $mail->setSubject(JText::_('Nowa recenzja na stronie xxx.xx')); $mail->IsHTML(true); $body = JText::_('Imię: ').$userName." <br/> ".JText::_('Treść recenzji: ').nl2br($row->commentText)." <br/> "; $mail->setBody($body); $mail->ClearAddresses(); $mail->AddAddress($params->get('commentsReportRecipient', $mainframe->getCfg('mailfrom'))); $mail->Send();


JW make it in new release of K2!]]>
New to K2? Ask here first! Wed, 22 May 2013 11:35:16 +0000