Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • Andrew Voronov
  • Andrew Voronov's Avatar
01 Oct 2015 14:54
Replied by Andrew Voronov on topic K2 tag filtering doesn't work with SEF

K2 tag filtering doesn't work with SEF

Category: English K2 Community

Krikor wrote: Could you change the /tag/ prefix to something like eg: content just to test it?
Furthermore can you test with the dev version in your localhost?
You can get it from here: getk2.org/assets/get/

I tried to change prefix and tried dev version of K2, but it didn't help.
Also I tried to turn off language filter (as my web site is multilingual) and in this case tag filtering worked, but it is not a solution as in such case my web site will not be multilingual. But it helps to get that the problem is in language filter. When lang filter is on url looks like this:
/en/tag/Android.html
When lang filter is off url looks like this:
/tag/Android.html
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
01 Oct 2015 13:47
Replied by Krikor Boghossian on topic Google Tag Manager event tags & K2 conflict

Google Tag Manager event tags & K2 conflict

Category: English K2 Community

Hello Irene,

Unfortunately I am not aware of this extension. can you share a link towards a tag view?
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Design
  • Design's Avatar
01 Oct 2015 05:01

K2 Extra Fields Image Tag Src Extract

Category: English K2 Community

Hello! I'm currently struggling in a way that I could use the K2 Image Extra Field as a link that I could myself implement in my site. I need some sort of PHP code that can extract only this part, taking notice I am already implementing the K2 fields into the PHP separately using the:
//convertArray Extra Fields to use ids as key $extrafields = array(); foreach($this->item->extra_fields as $item) { $extrafields[$item->id] = $item->value; } //convertArray Extra Fields to use labels as key $extrafieldslabels = array(); foreach($this->item->extra_fields as $itemlabel) { $extrafieldslabels[$itemlabel->id] = $itemlabel->name; }

I found a article by google that shows this:
<?php $var = $this->item->extraFields->Image->value ; $var = preg_replace('/<img src="/',"",$var); $var = preg_replace('/" alt="Image" \>/'," ",$var); echo '<a href="' . $var . "TextOfLink" . "</a>" ; ?>

However it didn't work for me. I think it only works for the For loop, as I have seen by comments.
Does anyone have any idea how I can do this?

OBS: I need this because I need it to work something like this:
<div style="background-image: url('<?php echo $extrafields[28]; ?>.png')";>

Any help?
  • Irene Sutherland
  • Irene Sutherland's Avatar
01 Oct 2015 02:38 - 01 Oct 2015 02:39
Google Tag Manager event tags & K2 conflict was created by Irene Sutherland

Google Tag Manager event tags & K2 conflict

Category: English K2 Community

Hi there,

Are you aware of any known conflicts between K2 and Google Tag Manger event tags?

I have K2 and GTM installed on catholicenquiry.com.

While the All Pages Universal Analytics tag is firing okay, event tags are not.

By a process of deduction, I have discerned that K2 appears to be blocking them.

Are you able to tell me if there is any setting in K2 that will allow the GTM tags to fire - or is it a programming issue?

Best regards

Rene

Irene Sutherland
Australian Catholic Bishops Conference
  • lykaios
  • lykaios's Avatar
01 Oct 2015 00:57
Replied by lykaios on topic What Happened to K2 3.0?

What Happened to K2 3.0?

Category: English K2 Community

Kelsey Brookes wrote: I've been testing the beta extensively - I've been using it in the development of a large project because I didn't want to be locked into v2 for the duration of this site's life.

For most users v3 won't be a revolution.

But if you work with template overrides and extraFields, it's definitely worth the switch.

Just the ability to have multiple extrafield groups assigned per category, or to scope the extrafields to items, categories, etc, is extremely welcome.

The old squeezebox modals are gone, thank jeebus.

The new data layer makes for some super interesting possibilities in terms of serious customisation.

The ability to create your own extraField types? Mindblowing - absolutely 100% worth the price of entry if this was the only thing that was different in v3.

It feels faster on the frontend.

The backend looks better and there's some nice new features in there, but I actually think the usability has gone backwards on that front.

So mostly a positive experience. The beta is stable enough that it's usable right now - although you'll need to fix a few problems yourself (limiting character counts on introtext for search/tags/authors isn't in place yet so you'll have to do it in the code).

I too am feeling the frustration of the delays, particularly at this last hurdle, but I'm optimistic that the release is going to be fantastic, when it arrives.


Hello, ty for your input. Do you have any experience of ZOO? If you can compare v3.0 and Zoo will be awesome, i am thinking if i will wait for v3.0 for a Movies Site i am preparing or go for ZOO. Ty in advance!
  • Kelsey Brookes
  • Kelsey Brookes's Avatar
01 Oct 2015 00:54
Replied by Kelsey Brookes on topic What Happened to K2 3.0?

What Happened to K2 3.0?

Category: English K2 Community

I've been testing the beta extensively - I've been using it in the development of a large project because I didn't want to be locked into v2 for the duration of this site's life.

For most users v3 won't be a revolution.

But if you work with template overrides and extraFields, it's definitely worth the switch.

Just the ability to have multiple extrafield groups assigned per category, or to scope the extrafields to items, categories, etc, is extremely welcome.

The old squeezebox modals are gone, thank jeebus.

The new data layer makes for some super interesting possibilities in terms of serious customisation.

The ability to create your own extraField types? Mindblowing - absolutely 100% worth the price of entry if this was the only thing that was different in v3.

It feels faster on the frontend.

The backend looks better and there's some nice new features in there, but I actually think the usability has gone backwards on that front.

So mostly a positive experience. The beta is stable enough that it's usable right now - although you'll need to fix a few problems yourself (limiting character counts on introtext for search/tags/authors isn't in place yet so you'll have to do it in the code).

I too am feeling the frustration of the delays, particularly at this last hurdle, but I'm optimistic that the release is going to be fantastic, when it arrives.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
30 Sep 2015 20:08
Replied by Krikor Boghossian on topic clickable author link in article view

clickable author link in article view

Category: English K2 Community

There is actually a manual way.
You can create a new extrafield, text type, and store the link in that field.

Then in your overrides (getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates) in the category-item or item (or both ) items, you can render that field inside an tag.

Locate this block of code:
 <?php else: ?> <?php echo $this->item->author->name; ?> <?php endif; ?>

In order to render a specific extrafield in your template you can use this as a starting point
github.com/kricore/Advanced-templating-with-K2/blob/master/_inc/cheatsheet.php#L103-L107

Just make sure to replace the alias and be careful where $this->item and $item are being used.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
30 Sep 2015 19:07
Replied by Krikor Boghossian on topic K2 tag filtering doesn't work with SEF

K2 tag filtering doesn't work with SEF

Category: English K2 Community

Could you change the /tag/ prefix to something like eg: content just to test it?
Furthermore can you test with the dev version in your localhost?
You can get it from here: getk2.org/assets/get/
  • Andrew Voronov
  • Andrew Voronov's Avatar
30 Sep 2015 18:24 - 30 Sep 2015 18:27
Replied by Andrew Voronov on topic K2 tag filtering doesn't work with SEF

K2 tag filtering doesn't work with SEF

Category: English K2 Community

Krikor wrote: Can you send me a screenshot of your Advanced SEF settings?

Here is url of advanced setting Advanced settings
Here us url of tags settings Tags settings

It is settings from the web version, not from local one.

I tried to change SEF settings, but it didn't help.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
30 Sep 2015 17:53
Replied by Krikor Boghossian on topic K2 tag filtering doesn't work with SEF

K2 tag filtering doesn't work with SEF

Category: English K2 Community

Can you send me a screenshot of your Advanced SEF settings?
  • Andrew Voronov
  • Andrew Voronov's Avatar
29 Sep 2015 18:16
Replied by Andrew Voronov on topic K2 tag filtering doesn't work with SEF

K2 tag filtering doesn't work with SEF

Category: English K2 Community

Krikor wrote: Can you remove the .html suffix and try again please?
The id part is crucial if you have items with the same alias.

I have this web site on my local PC and just have tried to remove suffix (In general options -> suffix switcher) but it hasn't solved the issue.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
29 Sep 2015 17:06
Replied by Krikor Boghossian on topic K2 tag filtering doesn't work with SEF

K2 tag filtering doesn't work with SEF

Category: English K2 Community

Can you remove the .html suffix and try again please?
The id part is crucial if you have items with the same alias.
  • Andrew Voronov
  • Andrew Voronov's Avatar
29 Sep 2015 14:15
Replied by Andrew Voronov on topic K2 tag filtering doesn't work with SEF

K2 tag filtering doesn't work with SEF

Category: English K2 Community

Krikor wrote: Hello,

I can see the issue here as well: iman007.com/en/blog/7-it/social-music-service.html

Are you using K2's advanced SEF or a 3rd party sef extension?


I am using Joomla SEF (general options) and K2 SEF advanced options. I don't use 3rd party sef extensions.
I have solved problem with this url iman007.com/en/blog/7-it/social-music-service.html - I have added ID number to the url articles.
Problem with tags haven't solved yet.
Thank you for notification on the problem web page.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
29 Sep 2015 13:59
Replied by Krikor Boghossian on topic K2 tag filtering doesn't work with SEF

K2 tag filtering doesn't work with SEF

Category: English K2 Community

Hello,

I can see the issue here as well: iman007.com/en/blog/7-it/social-music-service.html

Are you using K2's advanced SEF or a 3rd party sef extension?
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
29 Sep 2015 13:17
Replied by Krikor Boghossian on topic K2 Content by Tag Not In J3 Version

K2 Content by Tag Not In J3 Version

Category: English K2 Community

Typically there won't be any major changes apart from the xml file where the tag input is being defined and the module's helper file (helper.php ?) from the stock mod_k2_content.

Personally I would move this functionality in a new copy of the K2 Content module.
  • Andrew Voronov
  • Andrew Voronov's Avatar
29 Sep 2015 10:57
K2 tag filtering doesn't work with SEF was created by Andrew Voronov

K2 tag filtering doesn't work with SEF

Category: English K2 Community

Hi,

I have a blog web site on Joomla 3.4.3. I am using K2 for storing content. My articles have tags and when I tap on tag (filter articles by tag) I am sending on 404 error page. Filtering by tag crashes when I use SEF, if I turn off SEF - everything works properly. Have any ideas how to solve the problem? What is the source of the problem: Joomla or K2 or may be template?

Here is my blog and example of 404 page iman007.com/en/tag/Android.html (SEF is turned on)
If SEF is off then my filter by tag "Android" looks like this: iman007.com/index.php?option=com_k2&view=itemlist&task=tag&tag=Android&Itemid=101&lang=en

Problem is the same on Joomla 3.4.4, K2 is 2.6.9.

P.S: turn off SEF is not a solution.

Thank you.
  • Kelsey Brookes
  • Kelsey Brookes's Avatar
29 Sep 2015 04:25
Replied by Kelsey Brookes on topic What Happened to K2 3.0?

What Happened to K2 3.0?

Category: English K2 Community

I'm just as keen to get my hands on the final of v3 as anyone, but you could all consider grabbing the beta that's been publicly available for quite a while and start working with that.

It's quite stable, although it does have some minor issues.

But the really important thing is you could be contributing to getting the final out the door by submitting issues.

At this stage, apart from Lefteris and Krikor, there's only about five or six of us actively submitting issues.
  • Polished Geek, LLC
  • Polished Geek, LLC's Avatar
28 Sep 2015 23:41
Replied by Polished Geek, LLC on topic K2 Content by Tag Not In J3 Version

K2 Content by Tag Not In J3 Version

Category: English K2 Community

Hi Krikor,

Thanks for getting back to me. Hmm. I'm not sure how I overlooked this. You're correct. "Red Evolution" is the developer of the extension, according to the files. And an itch is telling me that they don't have a J3 or K2 2.6-supported version. I'm good now. I need to put some information together and figure out what we want to do next. You've been very helpful.

Thanks!
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
28 Sep 2015 16:09
Replied by Krikor Boghossian on topic Code to show a list of articles with specific tag

Code to show a list of articles with specific tag

Category: English K2 Community

You can override the tag.php file.
The entire functionality is there, so you do not need to create a new view for this.

More on overrides can be found here: getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
Displaying 1661 - 1680 out of 6582 results.

Powered by Kunena Forum