Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • Heste Janse van Rensburg
  • Heste Janse van Rensburg's Avatar
20 May 2020 12:49
Animation/Hover effect on item image was created by Heste Janse van Rensburg

Animation/Hover effect on item image

Category: English K2 Community

I make use of K2 items to be displayed in a module on my website. I show one category per module. I'd like to remove the 'Written on + date' tag above the item image as well as the hover effect when I move my mouse on top of the image - it ovelays it with a dark green color. Can someone please advice how I can remove that?

The two attachments shows the date and what happens to the image if you hover your mouse on top of it
  • JoomlaWorks
  • JoomlaWorks's Avatar
19 May 2020 12:10

Instagram field in extension User Extended Fields for K2

Category: English K2 Community

Once the update is released (today or tomorrow tops), I'll update this thread.
  • JoomlaWorks
  • JoomlaWorks's Avatar
19 May 2020 12:09

Instagram field in extension User Extended Fields for K2

Category: English K2 Community

Although custom modifying User Extended Fields for K2 is not really difficult, I understand this may not be for everyone, so I'll issue an update to User Extended Fields for K2 to include Instagram and a more modern layout, plus a few custom (blank) fields.
  • Paul
  • Paul's Avatar
19 May 2020 11:43

Instagram field in extension User Extended Fields for K2

Category: English K2 Community

Hi,

I would like to include an Instagram link in the author bio, this seems not to be available?

Using extension User extended fields for K2

Regards,

Paul
  • jobart
  • jobart's Avatar
18 May 2020 10:17

K2 content module : impossible to save or close when creating or amending module

Category: English K2 Community

I am going to be crazy... Now, even if I uninstall the language pack, I am stuck... I cannot save or close.

According to the dev console, I have the following error:
SyntaxError: unexpected token: identifier index.php:258:65

When I click on index.php:258:65, it reverts to the following part of code (I manually add line 258 for your identification):

jQuery(function($){ initPopovers(); $("body").on("subform-row-add", initPopovers); function initPopovers (event, container) { $(container || document).find(".hasPopover").popover({"html": true,"trigger": "hover focus","container": "body"});} });
jQuery(function($){ $("#myTab a").click(function (e) {e.preventDefault();$(this).tab("show");});});
jQuery(function($){ $("#myTabTabs").append($("<li class=\" active\"><a href=\"#general\" data-toggle=\"tab\">Module<\/a><\/li>")); });

// Set K2 version as global JS variable
K2JVersion = '30';

// Set Joomla version as class in the 'html' tag
(function(){
var addedClass = 'isJ30 k2ViewIsModule k2IsBackend';
if (document.getElementsByTagName('html')[0].className !== '') {
document.getElementsByTagName('html')[0].className += ' '+addedClass;
} else {
document.getElementsByTagName('html')[0].className = addedClass;
}
})();

// K2 Language Strings
line 258: var K2_THE_ENTRY_IS_ALREADY_IN_THE_LIST = 'L'entrée \'ENTRY_NAME_HERE\' est déjà dans la liste !';
var K2_REMOVE_THIS_ENTRY = 'Cliquez pour supprimer cette entrée';
var K2_THE_ENTRY_WAS_ADDED_IN_THE_LIST = 'L'entrée \'ENTRY_NAME_HERE\' a été ajoutée à la liste.';


I hope that we will be able to find a solution !

Kind regards
  • Дмитрий Коваленко
  • Дмитрий Коваленко's Avatar
17 May 2020 03:38
Replied by Дмитрий Коваленко on topic K2 content module : impossible to save or close when creating or amending module

K2 content module : impossible to save or close when creating or amending module

Category: English K2 Community

Hello.
I took advantage of your recommendation, checked everything with the joomla debugger. Found some errors in zoo but this did not help to solve the problem.

But he drew attention to the display of navigation elements in chrome. I enclose illustrations. When setting the localization, a problem appears, when uninstalling, it disappears.
And so every time. I tried different language packs. He even tried to assemble his own localization.

The situation is applicable to all buttons: save, save and close, cancel

Thanks for the help
  • JoomlaWorks
  • JoomlaWorks's Avatar
15 May 2020 00:27

V 2.10.3 conflicts with url routing, cache, SW and etag management

Category: English K2 Community

Version 2.10.4 will offer 2 URL router options as v1 (what was up to K2 v2.10.2) and v2 (which is the new one).
  • JoomlaWorks
  • JoomlaWorks's Avatar
15 May 2020 00:20
Replied by JoomlaWorks on topic Display Author with link in Tag View?

Display Author with link in Tag View?

Category: English K2 Community

Replace what you have with this:
<!-- Item Author --> <span class="itemAuthor"> <?php echo K2HelperUtilities::writtenBy($item->author->profile->gender); ?> <?php if (empty($item->created_by_alias)): ?> <a rel="author" href="<?php echo $item->author->link; ?>"><?php echo $item->author->name; ?></a> <?php else: ?> <?php echo $item->author->name; ?> <?php endif; ?> </span>
  • JoomlaWorks
  • JoomlaWorks's Avatar
14 May 2020 23:50

V 2.10.3 conflicts with url routing, cache, SW and etag management

Category: English K2 Community

If you used the "Advanced" URL router in K2 (which by default is off), then yes, some URLs may have broken. This will be addressed in v2.10.4 coming in the next few days.

As for the new HTTP headers, it's not the headers per se that may have caused an issue but rather when some where triggered in the K2 system plugin. This has already beed fixed in v2.10.4 (dev). And this is what may have caused issues with JotCache.

If you refer to the new etag sent in the item view however, then I don't see what the problem is. No .htaccess file can set the right etag for each K2 item.
  • Odin Mayland
  • Odin Mayland's Avatar
14 May 2020 23:13
Display Author with link in Tag View? was created by Odin Mayland

Display Author with link in Tag View?

Category: English K2 Community

How can I display the author with link in the tagview just like in the item view?

I tried adding the following but there was an error:


<?php if($this->item->params->get('itemAuthor')): ?>
<!-- Item Author -->
<span class="itemAuthor">
<?php echo K2HelperUtilities::writtenBy($this->item->author->profile->gender); ?>
<?php if(empty($this->item->created_by_alias)): ?>
<a rel="author" href="<?php echo $this->item->author->link; ?>"><?php echo $this->item->author->name; ?></a>
<?php else: ?>
<?php echo $this->item->author->name; ?>
<?php endif; ?>
<br>
<?php endif; ?>
  • Franz Heine
  • Franz Heine's Avatar
13 May 2020 14:46
Same site with different urls available was created by Franz Heine

Same site with different urls available

Category: English K2 Community

Hi guys,

over the menu is following url available:
../shops/lifestyle.html

This is also available with:
../lifestyle.html

The canonical shows the correct url. (Setting of Canonical URL: "Use absolute URL path")

My problem. I assigned a module for the menu ../shops/lifestyle.html

I could create redirects. But this issue appears with all "child urls".

The menu for shops is --> K2 » Item listings » Tag

Thx
  • JoomlaWorks
  • JoomlaWorks's Avatar
11 May 2020 18:10 - 11 May 2020 18:10
Replied by JoomlaWorks on topic Broken RSS/Atom Links

Broken RSS/Atom Links

Category: English K2 Community

I did some additions in the K2 system plugin in 2.10.3 that *may* affect the output. In v2.10.4 these additions have been optimized and combined to a different system plugin event.

If you have a dev/staging environment, please try 2.10.4 (dev) from: getk2.org/downloads/?f=K2_Development_Release.zip

Version 2.10.4 will be release this week either way to address another issue with the advanced URL router in K2.
  • Geraldo de Oliveira
  • Geraldo de Oliveira's Avatar
08 May 2020 19:26 - 08 May 2020 19:27
Replied by Geraldo de Oliveira on topic Add K2 Item editor-xtd Button

Add K2 Item editor-xtd Button

Category: English K2 Community

Ok, but it kinda working.
I was forgetting to put $name in the line window.parent.jInsertEditorText(tag, '$name');

And after configuring the variable now I can print in the editor the item URL but the function k2ModalSelector only gives id and name and I also need other parameters like alias and ItemId because K2 Item URL is like

index.php?option=com_k2&amp;view=item&amp;id=K2_ITEM_ID:K2_ITEM_ALIAS&amp;Itemid=JOOMLA_MENU_ID

If only there's a way to the the ID through that function as a PHP variable, maybe I could get all the others parameters accessing the JTable function.
  • leonardo
  • leonardo's Avatar
04 May 2020 19:58

istallazione versione K2 v2.10.3 su joomla 3.9

Category: Comunità italiana K2

Buongiorno,
ho appena aggiornato K3 alla v2.10.3 su joomla 3.9, l'installazione è andata tutto ok, ma non riesco più ad entrare nelle categorie.
In pratica dopo l'aggiornamento al link della catagoria ha aggiunto una /nome-categoria/
Naturalmente cliccando sulla categoria va in 404

Mi potete aiutare?
grazie
Leo
  • JoomlaWorks
  • JoomlaWorks's Avatar
30 Apr 2020 19:07
Replied by JoomlaWorks on topic Article ordering

Article ordering

Category: English K2 Community

1. Great.

2. There isn't any because this is inside the component body. That is why I mentioned you need to place the plugin tags of Modules Anywhere inside the actual output of the component body (in item.php). For example in this line: github.com/getk2/k2/blob/master/components/com_k2/templates/default/item.php#L421

You'll publish the module in an unused or new module position (you can add new module positions where you select them on the right side of the module settings) and then you'll add this snippet on line 421 of the file I mentioned:

{module Name of My Module}

3. See 2.

It's not a matter of editing code, it's a matter of inserting a plugin snippet to surgically position something. The same would apply on WordPress for example.

If your templates supports module positions below the component body, then locate that position name and publish your K2 Content module there (remember to also assign the module it on all pages in its parameters).
  • JoomlaWorks
  • JoomlaWorks's Avatar
30 Apr 2020 16:15
Replied by JoomlaWorks on topic Article ordering

Article ordering

Category: English K2 Community

You are the first to ask any sort of filtering for what has a distinct functionality.

The fact that this is stream of items doesn't mean it can be ANY stream of content.

The "K2 Content" module is already very powerful and it's exactly for this sort of content retrieval and filtering. There are tons more on getk2.org/extend (free or commercial) by third party developers.

Here's my advice for you:
- You can create one or more module instances of "K2 Content" to distinct module positions and then call each such positions wherever you want using the free Modules Anywhere plugin (from www.regularlabs.com/extensions/modulesanywhere).
- Follow this guide getk2.org/documentation/tutorials/templating-with-k2-and-the-concepts-of-sub-templates to copy the default K2 template overrides set inside your template's structure (if it doesn't support K2 overrides already).
- Then edit the file item.php which is used for viewing the item and simply place the Modules Anywhere plugin tag which in turn calls the K2 Content module instance you've created on the first step.
  • Jiří Krupa
  • Jiří Krupa's Avatar
29 Apr 2020 14:50
facebook likes was created by Jiří Krupa

facebook likes

Category: English K2 Community

Hello,
> I have a problem with K2 and Facebook likes. When there is a K2-item on the Main Page of my web, the likes are for example 50, when the same K2 Item is in another menu (by TAG) there different likes. When I use Falang and translation, the pageviews are ok but Facebook likes are again totally different. So one K2 Item but many different page likes.
>
> Can you please help me what do do with it? is there any way how to solve it?
>
> Thank you
  • JoomlaWorks
  • JoomlaWorks's Avatar
24 Apr 2020 17:24
Replied by JoomlaWorks on topic K2 tag listing page pagination not working properly

K2 tag listing page pagination not working properly

Category: English K2 Community

Check for old/outdated plugins. Some plugin may intercept K2's SQL queries and change them.
  • sizu
  • sizu's Avatar
24 Apr 2020 13:52

K2 tag listing page pagination not working properly

Category: English K2 Community

I've deleted tag.php override and the problem is still there, besides I've switched the template and nothing...
Displaying 321 - 340 out of 6582 results.

Powered by Kunena Forum