Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
K2 is a Content and CCK (content construction kit) Extension for Joomla! that provides more features than the standard content component.
2
votes
Accepted
Get K2 Extra Field Name Using Id
The extra fields are saved in json encoded format, so first you will need to have:
$arrExtraFields = json_decode($extra_fields);
Once you have that, you will need to loop through the array $arrExtr …
0
votes
K2 Categories Upload Image
Assuming you have cleared both your browser cache and your Joomla cache, I can think of 2 reasons causing this:
You have installed a system plugin lately that is causing a conflict. Uninstall the pl …
1
vote
Wrong Creation time for article and error on edit of existing article
If you go to phpMyAdmin, and you check the create_date for that article, then what do you see? Is it "0000-00-00 00:00"? If it is, then try changing it to a real date and see if that helps solve the p …
2
votes
Accepted
K2 Item view —Call to undefined method K2HelperHTML::loadjQuery()
"items.php" no longer exists in K2 (as of 2.8.0). I think you have a problem in your libraries folder because of the Joomla update. … If that doesn't work, then try uninstalling and then re-installing K2 (instead of just updating). If I'm not mistaken, K2 does not delete its data when it's uninstalled. …
2
votes
What would be the best approach to modify multiple articles' content programatically?
You can edit the K2 articles directly from the database using phpMyAdmin. That shouldn't be a problem. Just make sure you clear your Joomla and your browser cache in order to see the updated data. …
1
vote
Joomla K2 articles redirect
Add this line to the very beginning of your .htaccess file:
RedirectMatch 301 /blog/item/(\d+)-(.*) /blog/$2
Explanation:
This part (\d+) matches any number immediately after /blog/item/
This par …
1
vote
Accepted
Why can googlebot crawl to author page while I never actually show author link on my website?
We have the exact same issue on K2 based websites, and we have determined that this is mainly caused by Google knowing some patterns (from other K2 websites) and so it tries to index pages that it knows … We have a K2 based page that has items in it, but none of these items are linked and nor there are links to these items anywhere from the website, but GoogleBot has indexed those items anyway. How? …
1
vote
K2 URLs not working after migration to Joomla 3
When in K2 (in the Joomla admin), click on Parameters on the top right, and then click on the Advanced tab. … Under Advanced SEF Settings, choose "Yes" next to Enable advanced SEF for K2 URLs and then choose "None" next to Prefix for item URLs. …
2
votes
Accepted
Redirect K2 article url after alias change
The Redirect Manager only works if the URL of the first article returns a 404 error. If it doesn't, then the redirect will not take place.
I suggest you do this redirect in the .htaccess file by addi …
0
votes
Fatal error in K2 Tools Module
If you're running Joomla 3.x, then do the following:
Create a defines.php file at the main website directory.
Add the following code to it:
<?php define('DS', '/'); ?>
This should solve your pro …