GithubHelp home page GithubHelp logo

getk2 / k2 Goto Github PK

View Code? Open in Web Editor NEW
135.0 52.0 94.0 9.47 MB

K2 - the powerful content extension for Joomla

Home Page: https://getk2.org

License: GNU General Public License v3.0

PHP 84.07% HTML 0.01% CSS 12.10% JavaScript 3.82%
k2 joomla extension cms cms-extension joomla-extensions php joomlaworks joomla-articles joomla-extension content-construction cck content-management

k2's Introduction

K2


You've already been there... Joomla is a great content management system. In fact it's considered one of the best in the world. But the default article system in Joomla is both spartan and confusing to configure and template in newer versions! In Joomla 1.5 it was just a title and your content body. In Joomla 2.5 article images where introduced as separate fields (but without any auto-resizing) and in Joomla 3.x tags where introduced as a separate component. Have you seen the options to configure all these?

This is where K2 comes in.

K2 was built as a complete replacement of the default article system in Joomla. Install it like any Joomla extension, import your articles from the default Joomla article system and you instantly get a host of new features for your existing content: rich content forms for items (think of Joomla articles with additional fields for article images, videos, podcasts & other audio files, image galleries and attachments), hassle-free image management (uploaded item images are auto-resized to 6 configurable dimensions, either globally or per category - you can now forget about using Photoshop resizing!), comments, tagging, built-in options to extend content forms (e.g. to create product catalogs), powerful content modules fetching K2 content in any way you can imagine, frontend editing with easy to use access control settings (for content-heavy websites), powerful yet easy templating (and sub-templating) for going above the "Joomla average", extended user profiles, user groups, blogs, a powerful plugin API to extend item/category/user forms, "drag and drop" media manager and many more!

K2 is the ideal solution for managing your content, regardless of site "size": you can use it from a small blog to a complex corporate site or even a multi-author environment (portals, magazines etc.). To provide a practical example, using K2, you can transform your Joomla website to a news/magazine site with author blogs, product catalogs, work portfolio, knowledge base, download/document manager, directory listing, event listing and more, all this bundled under one package! And since K2 is extensible with additional fields to its base item form, you can easily create category-specific content types, e.g. article, blog post, product page, directory listing.

It's no wonder that K2 powers some of the biggest and most popular Joomla sites ever built worldwide!

These integrated features in K2 not only save website administrators precious management time (from managing a dozen extensions which would otherwise be required), but they also allow for better performance.

K2 was actually built on these 4 principles: feature-rich content in Joomla, ease of use (for any type of user), flexible templating, performance

And best of all? K2 is totally free to use!

Some facts about K2

  • It has been downloaded more than 4 million times since March 2009.
  • Actively powers dozens of thousands of Joomla sites worldwide (metrics gathered since v2.7.0).
  • Almost all Joomla template clubs provide K2 specific styling and/or display K2 as part of their demo sites.
  • There are hundreds of extensions supporting or integrating K2 in the Joomla Extensions Directory - see: https://extensions.joomla.org/instant-search/?searchall=k2&q=k2
  • The first version of the Joomla Magazine and JoomlaGov.info (the directory for government websites built with Joomla) are powered by K2.
  • K2 is used in some of the top Joomla websites worldwide by organizations like the Harvard University, The National Institute of Technology in Brazil, the UK's NHS, Top Gear, Groupama, Amnesty International, ActionAid, The High Court of Australia, Arturia, Cyrus Audio and many, many more.
  • K2 is compatible with Joomla versions 1.5, 2.5 and 3.x on PHP versions 5, 7 & 8.

Downloading K2

You can find the latest stable release on: https://getk2.org

If you are looking for the latest developer build (a snapshot from this Github repository) just use Github's "Download ZIP" button.

Resources

The K2 Community is the ultimate destination for everything K2! From discussions in the Community Forum to Extensions & Templates in the "K2 Extensions Directory", as well as a wealth of video tutorials, documentation, tips & a showcase of Joomla sites built with K2.

More at: https://getk2.org


Copyright © 2009 - 2024 JoomlaWorks Ltd.

k2's People

Contributors

anibalsanchez avatar bitdeli-chef avatar fevangelou avatar inode64 avatar kavadas avatar kricore avatar lefterisk avatar lemings avatar m-falken avatar meednite avatar petervavro avatar pinta83 avatar pvullioud avatar regularlabs avatar ruud68 avatar skullbock avatar smehrbrodt avatar sonosergio avatar teobgeno avatar vietpublic avatar volandku avatar waffle-iron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

k2's Issues

error 500: DateTime::__construct() [datetime.--construct]: ... on item edit in other joomla language like persian

Hi,
for test: install joomla and k2 last version and install persian language for joomla and k2.
in joomla with english language add an item to k2. now login to joomla with persian language and try to edit submited language , you will get error 500.
i checked it and find issue.
in administrator\components\com_k2\views\item\view.html.php
k2 use JHTML::_('date', $item->created, $dateFormat); function that this function in other language will convert date to other calendar. but in other language source of pupup calendar must be gregorian and pup up calendar will convert it to other calendars like hijri own.

fix:
in administrator\components\com_k2\views\item\view.html.php

Delete below codes:
$item->publish_up = JHTML::('date', $item->publish_up, $dateFormat);
$item->publish_down = JHTML::
('date', $item->publish_down, $dateFormat);

replace: $created = JHTML::_('date', $item->created, $dateFormat);
with: $created = $item->created;

Location of pagination pulldown

Please put this element in the right-top corner instead of left bottom?
1 - this is conform Joomla interface
2 - I need to select a small number of items before I can select "all" because this value is lost outside (the bottom of) my screen

:-)

Feature request: option to disable generic and other views

In one of our implementations of K2, we have had some issues with the generic and other views being indexed by search engines. Now that they have been indexed, and we are aware of the issue, we have configured K2 to not show information on those pages, but they are still accessible (blank) pages.

It would be very beneficial to be able to disable all views, even ones like author and tag pages, so that users can have very granular control of what is shown and where.

Share buttons activate bad links

Hello,
I just tried to activate share buttons (twitter, facebook, google+) on K2 items, but the link they share is not the link to the actual page
(reference to the name of page repeated twice when SEF parameter display id of item, and when SEF parameter doesnt not display item, the actual name of page is created as subfolder, and then name of page WITH id item (image joined)

IT is a pity because print and email this page have the GOOD name of page in either cases.
badlink-sharebuttons

Joomla 3.1.5 K2 2.6.7

Just looking again on the link : i see that first subdirectory repeated twice too (z-test) !

attachment download not work when advanced sef enabled

Hello

when advanced sef enabled like this

Use the item ID in the URL --> Yes
Item ID and title alias separator --> Use a dash (-)
Use the item title alias --> No
Use the category ID in the URL --> No
Category ID and title alias separator --> Use a dash (-)
Use the category title alias --> No

then attached file for each item not work

fail url look like
name.tld/catname/id/0/hash

the true url must look like
name.tld/catname/id/download/hash

not show the pagination div

in templates/default/category.php on row 254
When there are no pages
if( count ($this->pagination->getPagesLinks())) return 1
while
if( strlen ($this->pagination->getPagesLinks())) return 0

sorry for my poor english

Help! Upgraded K2, and it messed up our articles...

We're using Joomla 2.5.6, and I upgraded to the newest version of K2. Now all of the articles are displaying strange.

The author, date, print and email buttons, star ratings, etc. used to go across the top of the article, now it goes down, and buttons and stars don't show up like this:

Fort Jefferson in the Civil War
Written by Clifford Cunningham
Wednesday, 14 March 2012 00:00
font size decrease font size increase font size
Print
Email
Rate this item
1
2
3
4
5
(0 votes)

If I can't get this fixed, I need to go back to an older version, but can't find it. Someone help please. It is like this on hundreds of articles. Thank you.

Brian Anderson

Item display in Joomla 3.1

I'm setting up K2 on Joomla 3.1 and I find that, whatever the settings, an article will not show the full text only the intro text. I've tested this on 2 copies of J3.1 and see the problem but on J2.5 it works fine.

I've done a print_r on $this->item and fulltext is empty but there is definitely content in the introtext and fulltext fields in the database.

A bug on title of k2 latest view menu

I think I found a bug on v2.6.7 that the latest view was missed some code to setTitle.This cause all of the latest view page can not show the website name like "K2 - MyWeb",it just show "K2",here "K2" is a K2 "Latest items from (one or more) users or categories" Menu.
I fix this by copy setTitle Code from itemlist view.html.php.I hope this can be fixed in the latest verson.Thanks.
Adding code like:

        // Set title
        // We're adding a new variable here which won't get the appended/prepended site title,
        // when enabled via Joomla!'s SEO/SEF settings
        if (K2_JVERSION != '15')
        {
            if ($mainframe->getCfg('sitename_pagetitles', 0) == 1)
            {
                $tmpTitle = JText::sprintf('JPAGETITLE', $mainframe->getCfg('sitename'), $params->get('page_title'));
                $params->set('page_title', $tmpTitle);
            }
            elseif ($mainframe->getCfg('sitename_pagetitles', 0) == 2)
            {
                $tmpTitle = JText::sprintf('JPAGETITLE', $params->get('page_title'), $mainframe->getCfg('sitename'));
                $params->set('page_title', $tmpTitle);
            }
        }
        $document->setTitle($params->get('page_title'));

From line 455 to line 471

Filtering of categories and items

When using the category filter (the one with the magnification glass) it is only possible to filter on text and not by number.
For instance when I want to filter out the category BMW325 results are shown when entering BMW but NOT when I enter 3, 32 or 325.

K2 MetaData and Title overwrites by Menu Item MetaData

I'm linking K2 in the Menu Items as Categories (K2 » Categories)

All the K2 Categories meta data gets overwrite by the Menu Item metadata, even the title as Menu Item title.

Also K2 Item metadata gets overwrite by the Menu Item metadata but the title is ok

K2 v2.6.7 | Joomla! Version 3.1.1 Stable

Is this a bug?

K2 Mediamanager image manipulation

Hi everybody,
Trying to use the Resize and Rotate functions of the K2 media manager.
Seems buggy to me. Version K2 v2.6.7

I can't use the checkbox Crop or Rotate, just use the resize photoshop-like handlers.
When i try to apply : error popin :Image dose(?) not rotated

Same bug on differents install of Joom even a fresh one without custom template or anything.

All installs on V 3.1.5

k2med_bug

greets
Simon

extra fields multi select list get mangle when changing them

When using an extra field with a multi select list, if you ever delete one of the element from the setup page all your articles that has content in that extra field will get a different element, it would cycle up one position depending which element you changed.

I understand that elements of the list are probably just refered by a position, so removing one element cycles all the other element trough (so if I remove element 1, then all article extra field will be shift one space up).

I am on joomla 3.1.5

[item view] search filter issues

Affects: All versions


When using the filter search, the search does not always bring up the articles one is looking for, often using 3 or 4 letters of the first word does not produce a result.

It looks like the exact word needs to be used, including the case.
eg. This Article

If you search for
eg. this article

it will not yield a result.

Using the search filter would work better if it did the following

  1. search for the article using any case, ie upper or lowercase
  2. any letter combination, eg thi or art

Please test and confirm if this is an existing or known issue.

For reference is this being used?
https://dev.mysql.com/doc/refman/5.5/en/fulltext-stopwords.html

K2 redirect user profile

Hi! K2 version - 2.6.7, joomla version: 3.1
There is a problem with redirect page user profile edit. Redirection stops propagate events, so if you use any plugins for user profile, then you have a problem.
When you don't make any changes into configuration then its ok, because param 'redirect' is empty, but when you make any changes and save, then automatically is set to first page on select list. There is no empty option!

InnoDB compliance. Is FULLTEXT index really needed?

Joomla 3.1 now enforces tables to InnoDB (when installed from scratch, not in migration)

See:

https://github.com/joomla/joomla-cms/blob/master/installation/sql/mysql/joomla.sql#L85

I think that the time when MyISAM was more performat and available is gone, so consider to permit InnoDB also in K2...

But to permit InnoDB you have to remove the FULLKEY indexes as they are not supported by the engine and declaring them makes impossible an InnoDB conversion:

https://github.com/joomlaworks/k2/blob/master/administrator/components/com_k2/install.mysql.sql#L121

Are them really used? Maybe in the search plugin but now Joomla as a new search engine too, com_finder, which does optimizations, indexing and taxonomy for us.

item.php : related items fails if no author alias defined in article

Latest from
Notice: Undefined property: stdClass::$author in xxx\html\components\com_k2\templates\default\item.php on line 435

Notice: Trying to get property of non-object in xxxw\html\components\com_k2\templates\default\item.php on line 435

If I set an author alias for this article, the error disappears.

Inserting tags opens calendar when hit "Enter" key

Hello,
There is a little bug when you try to add tags in item view.

To represent the bug follow the next steps:

  1. Go to K2 > Items> New item
  2. Go to Field tags and click on it to be active
  3. Type some word (Ex: Tags)
  4. Hit "Enter" key from your keyboard

Result:
The calendar from filed "Creation date" is opened. Then the time of creation is cleared and you can't continue to add tags by hitting enter and typing words.

capture

Versions:
Joomla! 3.1.5 (but also on 2.5.x)
K2 - latest dev build or latest stable release

Best regards,
Mihail Semerdzhiev

List of categories to add item in front-end

I would suggest a new feature, it is a problem that arose for me where I could settle and would like to share.

I have a site that has between categories and sub​​-categories, a total of 400 categories.

I have an average of 150 users who publications, divided into groups and each group is responsible for a group of categories.

Sometimes it was tricky add content as it took to find the right category. Was rolling the select to find, because it showed that he also had no access.

I resolved this by adding another setting within the global parameters of the component.

I created the parameter "Show categories disabled?" As options Yes or No.

After that, I changed the file administrator/components/com_k2/views/item/view.html.php on line 339.

OLD CODE:

for ($i = 0; $i < sizeof($categories); $i++)
{
if (!K2HelperPermissions::canAddItem($categories[$i]->value) && $task == 'add')
{
$categories[$i]->disable = true;
}
if (!K2HelperPermissions::canEditItem($item->created_by, $categories[$i]->value) && $task == 'edit')
{
$categories[$i]->disable = true;
}
}

NEW CODE:

foreach ($categories as $key=>$category) {
if (!K2HelperPermissions::canAddItem($category->value) && $task == 'add'){
if ($params->get('showDisabledCategory') == '0') {
unset($categories[$key]);
} else {
$categories[$key]->disable = true;
}
}

if (!K2HelperPermissions::canEditItem($item->created_by, $category->value) && $task == 'edit')
{
    if ($params->get('showDisabledCategory') == '0') {
        unset($categories[$key]);
    } else { 
        $categories[$key]->disable = true;
    }
}

}

K2 TAG List / Nested

I have a menu that is set to display a pre-defined K2 TAG. When the results are displayed some of the individual TAG items are nested with a sight indent instead of being displayed as individual DIVs. Here's an image to illustrate.
k2-nestedtags
The styling helps to see the issue, but the problem exists even without any styling applied. What I've found thus far is that the nesting only happens when the K2 story contains both introtext and fulltext with the system-readmore HR enclosed within a DIV. When the system-readmore HR isn't enclosed within a DIV, the TAG items are displayed as individual, non-nested DIVs. When the system-readmore HR is included within either a DIV that is part of the introtext or fulltext, or in a DIV by itself, the nesting occurs.

Email notification to item author when a comment is posted

K2 2.6.7
Joomla 3.1.5

Just a quick question. I added the following code to the models/item.php file but I'm not grabbing the item author's email correcty. Any suggestions?

$mainframe = &JFactory::getApplication();
$mail = &JFactory::getMailer();
$senderEmail = $this->item->author->email;
$senderName = $this->item->author->name;
$mail->setSender(array($senderEmail, $senderName));
$mail->setSubject(JText::('[b]New inquiry from site[/b]'));
$mail->IsHTML(true);
$body = JText::
('[b]Your name[/b]: ').$userName."
".JText::('[b]Inquiry[/b]: ').nl2br($row->commentText)."
".JText::
('[b]Email[/b]: ').$commentEmail."
".JText::_('[b]Phone no[/b].: ').$commentURL."
";
$mail->setBody($body);
$mail->ClearAddresses();
$mail->AddAddress($params->get('itemAuthorEmail'),$mainframe->getCfg('mailfrom'));
$mail->Send();

Only show READMORE button if full text exists

A suggestion to hide "READ MORE" link if only introtext field in the DB contains characters.

Suggestion to code:
if ( ($this->item->params->get('catItemReadMore')) && (strlen($this->item->fulltext)>0) ): ?>

line 272
file com_k2/templates/default/category_item.php

feature of sort attachments.

I would suggest a new feature that can help many people.
Would functionality Sort attachments.

I created a new parameter in the global settings Chamdo "Ordering attachment" with the options "By name - Ascending, By Name - Descending, Newest first, oldest first ones, by id"

I changed the code of the following files:
components/com_k2/models/item.php - line 1591
administrator/components/com_k2/models/item.php - line 1106

the old code:
$query = "SELECT * FROM #__k2_attachments WHERE itemID=".$itemID;

the new code:
$query = "SELECT * FROM #__k2_attachments WHERE itemID=".$itemID." ORDER by ".$params->get("orderAttachments");

Width of selection pulldown menu's in admin pages

Is it possible to make the pulldown menu's smaller?
Now, they're all 220px wide and that's working for a normal Joomla site I guess.
I've got a multi-lingual site and because of the language pulldown these pulldowns are shown in two rows.
Most of them can be smaller because the content is short f.e. current/thrashed.

result: cleaner interface :-)

JoomLeague and K2

Hi,
I get two errors then want to access to joomleague content, e.g from menu tree

"Fatal error: Call to a member function countItemComments() on a non-object in /home/globajonava/public_html/a/modules/mod_k2_content/helper.php on line 369
Fatal error: Class 'JFactory' not found in /home/globajonava/public_html/a/libraries/joomla/session/storage/database.php on line 71"

Everything works fine with K2 version 2.5.7 and older compatible with Joomla 2.5.14, but then updating K2 to 2.6.0 and newer, this error shows up

366-369 of helper.php lines contains:
//Comments counter
if ($params->get('itemCommentsCounter'))
$item->numOfComments = $model->countItemComments($item->id);

and database.php line 71:
$db = JFactory::getDbo();
\

Calender Field Problem

Enviroment: K2 SVN 2.6.8 + Joomla 3.1.5 + German Language (English is everything fine)

Problem depends: Joomla Admin -> K2 -> Items -> Author publishing status -> Calender Fields

If the Calender Field empty and you click on the calender icon, is the date correct preselected from today, like the screenshot.

date-ok

If the calender field filled with a date and you click then on the calender icon, you have a wrong date preselected. This happens only with the german backend language.

date-select-wrong

too many SQL queries in mod_k2_tools calendar

Current behavior of calendarClass.php is the following:

Before generating each day link a query is spawned to the DB to check the presence of k2 items for each day.

So we have:

SELECT COUNT(*) FROM #__k2_items WHERE YEAR(created)=2013 AND MONTH(created)=10 AND DAY(created)=1...
SELECT COUNT(*) FROM #__k2_items WHERE YEAR(created)=2013 AND MONTH(created)=10 AND DAY(created)=2...
SELECT COUNT(*) FROM #__k2_items WHERE YEAR(created)=2013 AND MONTH(created)=10 AND DAY(created)=3...
SELECT COUNT(*) FROM #__k2_items WHERE YEAR(created)=2013 AND MONTH(created)=10 AND DAY(created)=4...
...
SELECT COUNT(*) FROM #__k2_items WHERE YEAR(created)=2013 AND MONTH(created)=10 AND DAY(created)=29...
SELECT COUNT(*) FROM #__k2_items WHERE YEAR(created)=2013 AND MONTH(created)=10 AND DAY(created)=30...

This can be optimized to do all the checks with one query

[item] Ordering of Attachments & Renaming of attachment title

When uploading attachments to Items the possibility to order the items does not exist.

It would be a great feature to be able to:

  1. order the attachments with an ajax type interface
  2. ability to rename the title of the attachments using inline editing

Bug in lastest Item

This line in file "Lastest.php" is, IMHO, wrong ....

This set the item container width=100/columns .....
This setting must be moved in "lastest_item.php", i.e. in class

(line 16) ....

(try to set some columns in lastest items ...)

Andrea

Different problems with tag

hello, i have installed K2 2.6.7 on Jooma 3.1.5
and have different problems with tag

1° if the tag contains 2 or more words separate by a space, the url contains %20 instead of a dash (as the other urls SEF)
2° there is no title of the page though the configuration is to display the title : no way to configure to display or not the title
3° Plugins insertion behavior not pretty. no coding in tag php to tell to display (after title, before content, after content etc.

Invalid HTML for attribute rel of star ratings

Thanks Joomlaworks for this nice extension. I just did a W3C validation check which gives errors for the rel attribute of the star ratings:

Bad value 48 for attribute rel on element a: The string 48 is not a registered keyword or absolute URL.

I guess it's not allowed to use the rel attribute the way it's used? Could you give it a look please?

You could check it for yourself:
http://www.degezondekok.nl/recepten
http://validator.w3.org/check?uri=http://www.degezondekok.nl/recepten&charset=%28detect+automatically%29&doctype=HTML5&group=0

Thanks in advance,
Jurian

Default publishing state of new k2 items should be unpublished

Default publishing state of new k2 items should be unpublished.

It doesn't make any sense to have it published as user who don't have permissions to publish items can create a new item and publish it at the same time.

Forum post [ http://getk2.org/community/New-to-K2-Ask-here-first/166475-new-article-default-state#182050 ]

Extra field link has a default value of http:// which is problematic

Since it has a default value any new article that has that extra field will be populated with the default value, which will be displayed. In order to not be displayed I need to go delete every time this default value from all the articles, which is counter productive.

I tried to delete that default value directly from the extra field mngt window, but it seems to have a default default which adds the http:// automatically.

I am on joomla 3.1.5

forced use of mootool by calling JHTMLbehavior::modal on all items views

I'm trying to remove all links to mootools in a 2.5 version of a site.

Succeeded so far until I get into those lines in K2 Plug-in on the AfterRoute method

if ( !$user->guest || (JRequest::getCmd('option') == 'com_k2' && JRequest::getCmd('view') == 'item') || defined('K2_JOOMLA_MODAL_REQUIRED') ){
JHTML::_('behavior.modal');
}

I don't understand why, you'd force use of this mootool modal, for example on people that use other modals (NoNumber modal come to mind).

Could there be a better way to use this K2 constant K2_JOOMLA_MODAL_REQUIRED ?

In front of this if statement an create a more meaningful logic shortcut along something like 👍
if ( defined('K2_JOOMLA_MODAL_REQUIRED') && ....

note : this kinda duplicate of tickets 68 and 582 on google issues.

content of extrafield csv type disappear

hello,
I created an extrafield for csv file in J3.1.5 and K2 2.6.7
Everyhing fine when I create the item, i add the csv file name, and the content of the csv file is added to the item.
problem comes when I update anything on the item and save : content of csv extrafield disappear.
is there any restriction to the content of the csv file ? I manage to insert in this csv file links to images on the server (html code) for example :
parking
shower

1-choice-file
2-content-appear
3-content-disappear
4-content-of-csv-file

I looked in the database and the id of the field remain, but all values from csv disappear {"id":"5","value":[""],[""],[""],[""],[""],[""],[""],[""],[""],[""],[""],[""],[""],[""],[""],[""],[""],[""],[""],[""]]}]

what can i do for my updates ? is this a bug ? is there somewhere an instruction to wipe out the html code?

josetta and extrafields

I just installed josetta on joomla 3.1.5 and k2 2.6.7 and tried to translate a k2 item ! it was first impossible to save.
i went on josetta forum and found out there was a k2 dev version that repaired it
so I tried it and the saving was possible.

though there is a new problem with extrafield : it seems empty in the original language and is impossible to copy because it ask to set a category that is not available.

josetta-k2
so the translation has been created WITHOUT the extrafields that is not useful !

[tags] Setting a limit option on menu

When creating a menu with TAGS you only have the option to set the amount of articles showing in the configuration.

Would it be possible to have this set on the menu, where we can then choose from the dropdown the same options which show in the config?

Uploading PDF as attachments don't work for some

Hello,

for reference: http://getk2.org/community/New-to-K2-Ask-here-first/182392-New-problem-uploading-pdf-in-Media-Center#183951

There's something strange for some of us, with the upload of PDF files with the media manager.

With the path left blank in the k2 parameters, so default path is in use.
Upload limit is ok (24Mo) and permissions too.
If I try to add a PDF as attachment, the POST sequence is ok, but the result is that there's no file for the attachment of the item in the directory, and obviously no attachment for the item itself.
In the DB table the result is new id created with only the title of the file if we put one.

If we try for example with a jpg, everything is ok.

My php is 5.3.27
Apache 2.2.25

show unauthorized links (new functionality suggestion)

Woluld be nice to have the functionality "Show unauthorized links" (like in Joomla).

p.s When linking to K2 item which is in "special" or "for registered only" category the initial text of item is diplayed and after click to "read more" the info: "you have to login to access this item" is displayed

Urls generated that shouldn't by K2 menu items

Dear K2 support,

I'm using Joomla 3.1.5, K2 v2.6.7 and sh404SEF 4.1.0.1559

To my surprise today I noticed that K2 generates non-sef urls of all K2 items on an "External Link" menu item.
See attached screen shots:
external-link-menu-item-id228
urls-generated-from-menu-item-id228

Another example is that my default home page is loading 1 K2 item. Though this menu item generates author pages?
See attached screen shots:

item-menu-item-id101
urls-generated-by-menu-item-id101

My expectation would be that these urls should not be generated at all considering the menu item types?

[Extra Fields & Groups] add Joomla ACL to extra fields and groups

It would be very useful to allow the following

EXTRA FIELDS GROUPS
When creating/editing a group have the ability to add the ACL control to the group.
If nothing is chosen then the fields ACL will be used.

EXTRA FIELDS
When creating/editing an extra field have the ability to add the ACL control to the field.
If nothing is chosen then the groups ACL is inherited.

The above would be very useful in showing information to users who are loggedin.
It must also hide/show the label if the ACL is used.

unable to save / save & close / cancel on parameters panel

Hello,

I'm using joomla 3.1.5 & K2 v2.6.7.

I'm facing some odd problem. I can able to add new articles / category in K2. But when I'm trying to change or modify K2 parameters its give me 501 error.


ERROR

Method Not Implemented

GET to /administrator/index.php not supported.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

K2 Parameters modify URL :
http://www.mywebsite.com/administrator/index.php?option=com_config&view=component&component=com_k2&path=&return=aHR0cDovL3d3dy5zbWFydGFydGh1Yi5jb20vYWRtaW5pc3RyYXRvci9pbmRleC5waHA%2Fb3B0aW9uPWNvbV9rMg%3D%3D

when I'm click on Save / Save & Close / Cancel Button redirect to following URL with 501 Error
http://www.mywebsite.com/administrator/index.php?option=com_config

Do u have any solution for this?

thank you for your support

jsgd_2000

Metadata in K2 Category when "inherit parameters"

After a Bugfix in Version 2.5.7, categories with inherited parameters, use now their own Metadata instead of the ones from the inherited category

"Fixed a bug in category inheritance. Now when a category is set to inherit the parameters from another category, it will NOT also inherit the metadata from this other gallery but maintain its own unique metadata."

But if I call manually the metadata like this:

$this->params->get('catMetaDesc')

I still get the MetaDescription form the catogory where i inherit the parameters from...

When I use

$this->cparams->get('catMetaDesc')

or

$cparams->get('catMetaDesc')

I get an error...

Is this a Bug? Or am I using the wrong code to call the metadescription from the actual category.

Greetings

Michael

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.