Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • Bruno
  • Bruno's Avatar
23 Oct 2014 17:00
K2 is adding "/" to my images URLs was created by Bruno

K2 is adding "/" to my images URLs

Category: English K2 Community

Hi,

I found this problem while trying to load a module on a K2 Item.

All the URLs of my images have a "/" added, for example :

<img src="www.mysite.com/img.png" /> become <img src="/www.mysite.com/img.png" />
or <img src=/img.png" /> become <img src="//img.png" />

This problem only occur on <img> tag. I searched in the parameters but found absolutely nothing about this.

Would someone have an idea to solve this ?

You have my thanks,

Regards,

Bruno
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
20 Oct 2014 13:36
Replied by Krikor Boghossian on topic time stamp incorrect

time stamp incorrect

Category: English K2 Community

In item.php and category_item.php. You can also choose it in tag.php and user.php

You can find a tutorial about overrides here: getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
  • codlink
  • codlink's Avatar
16 Oct 2014 18:59 - 16 Oct 2014 19:03
Replied by codlink on topic K2 Stripping HTML Tags

K2 Stripping HTML Tags

Category: English K2 Community

lmao! I always wonder why software developers can't admit that the software has unintended effects. I understand that someone couldn't foresee these events, but why do you say "it's not my software" when you have proof right in front of you?

In my first post, I had troubleshooted this event to the K2 component. I stated that if I create an article outside of K2, the stripping of tags didn't occur. But if I saved an article under K2, the tags were stripped. I have articles that I imported into K2, and if I open them with K2, the tags are there. As soon as I save them under K2, the tags are stripped.

The second proof is stated under reply #2. I change "XSS Filtering on Save" under K2>Items>Parameters and what do you know, the tags aren't stripped.

The only reason why you would deny this is because you know this is a security risk by disabling XSS filtering. It's for this risk that I will extend your function to exclude the Super User account from this filtering so I can enable the filter and still be able to use tags.

The only reason why I'm posting this information is in hopes that it will help someone else with the same issue.

EDIT: I don't use 'WYSIWYG' editors. I like to see my tags while I'm editing..
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
16 Oct 2014 13:54
Replied by Krikor Boghossian on topic K2 Stripping HTML Tags

K2 Stripping HTML Tags

Category: English K2 Community

This is unrelate to K2.
This has to do with your WYSIWYG editor's settings.
  • codlink
  • codlink's Avatar
16 Oct 2014 10:02
Replied by codlink on topic K2 Stripping HTML Tags

K2 Stripping HTML Tags

Category: English K2 Community

I found the issue. You have to disable XSS Filtering on Save. I would imagine that a Super User would have been excluded. Super Users usually don't want to inject scripts that could harm something.. But, in reality, there probably is..
  • codlink
  • codlink's Avatar
16 Oct 2014 01:00
K2 Stripping HTML Tags was created by codlink

K2 Stripping HTML Tags

Category: English K2 Community

Having an issue with K2 stripping the '<' and '>' and everything in between out of articles. I am trying to post C++ code in an article. C++ libraries are added by "#include <SoftwareSerial.h>" K2 is stripping out the <> and everything in between.

I have tried all editors - Codemirror (main), TinyMCE, and no editor. Also "no Filtering" under Users, And checked all related options that would strip these tags out.

I can tell you that the default article editor under Joomla does not strip these out! It wasn't until I imported the articles that K2 stripped these out. Please advise how to stop stripping these tags out.

Joomla 2.5.27
K2 2.6.8

Thanks
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
15 Oct 2014 11:32
Replied by Krikor Boghossian on topic How to use JQuery in K2 items ?

How to use JQuery in K2 items ?

Category: English K2 Community

This has to do with your editor.
Depending on the editor you are using, there are setting of which tags to strip or allow.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
15 Oct 2014 11:28
Replied by Krikor Boghossian on topic Body Background Image

Body Background Image

Category: English K2 Community

That would have to be via a K2 plugin.
An example plugin can be found here: getk2.org/extend/extensions/90-example-k2-plugin-for-developers

An alternate method would be to enter the URL through an extrafield and render that field inside a <style> tag.
  • Lucas Mattos
  • Lucas Mattos's Avatar
14 Oct 2014 22:50
How to use JQuery in K2 items ? was created by Lucas Mattos

How to use JQuery in K2 items ?

Category: English K2 Community

I'm tryingto use the <script> tag on the "content" field of a k2 item, but nothing happens....


when i save it doesn't work and the jquery code is wiped!

Can someone help me please?
  • Tibbe van Asten
  • Tibbe van Asten's Avatar
14 Oct 2014 18:15
Replied by Tibbe van Asten on topic Add dropdown field to k2 user profile

Add dropdown field to k2 user profile

Category: English K2 Community

The closing tags are still there. I have now solved it with the use of CSS.

One more question: is it possible to show one of the extra fields in the k2 users module. In this case, I would like to add the jobtitle to someone's name. I can't get the retrieval of just one value from the column right.

Hope you can help!
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
14 Oct 2014 12:46
Replied by Krikor Boghossian on topic Add dropdown field to k2 user profile

Add dropdown field to k2 user profile

Category: English K2 Community

Yes, you have probably omitted the closing </td> and </tr> tags in the loop that prints these fields.
  • Roger
  • Roger's Avatar
13 Oct 2014 22:19

Show Fabrik virtualization within intro text

Category: English K2 Community

Hi

I'm using the Fabrik component and K2 on my homepage. I created a so called google map virtualization with Fabrik. This displays address data on a google map.
Using {fabrik view=visualization id=1} I can display the map within the article. This works fine inside the full text, using this in the intro text displays any text but there is no map.
Using firebug I can see that there is a place holder in the exact size of the map, but as I said just a placeholder.

Is there a setting that could effect that? Are somehow the tags messed up in the intro text.

Thanks

Roger
  • Lefteris
  • Lefteris's Avatar
13 Oct 2014 18:26

items lose their tags when using front end editing

Category: English K2 Community

Hi. What's the version of K2? Ensure that you are using the latest version. You can always install the development version from getk2.org/assets/get .
  • emmet mcintyre
  • emmet mcintyre's Avatar
13 Oct 2014 18:21

items lose their tags when using front end editing

Category: English K2 Community

Hi
I've been using a k2 joomla website for about a year now but just recently I have found I cannot successfully edit an item from the front end using firefox. Everything appears to work until I click the save button, at which point the items tags are deleted. This problem does not exist when using safari, chrome or explorer.

Installed is joomla 3.2, php 5.3.27.

Do you know what might be causing it?

Thanks
Emmet
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
13 Oct 2014 14:14
Replied by Krikor Boghossian on topic User Selecting Tags

User Selecting Tags

Category: English K2 Community

You have to select the Lock Tag setting and use the Selection-based tagging setting in K2's advanced settings.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
13 Oct 2014 13:48
Replied by Krikor Boghossian on topic Setting Menu for User Pages

Setting Menu for User Pages

Category: English K2 Community

With sh404sef you can have the /user/user_name URLs. Without sh404sef if you do not add menus you need to follow this method (which also affects tags).

Create a menu link to K2 categories and don't select any category. This way, all unresolved links will be assigned to this menu, preventing duplicates.
  • en jie
  • en jie's Avatar
10 Oct 2014 14:07

k2 Prefix for date listings URLs not working

Category: English K2 Community

I have recently started using k2 for blogging on my site.

When I tried to use the advanced sef setting 'Prefix for date (and tag) listings URLs', it worked as desired until I turned on site sh404sef. They basically just fall back to the default '/date/' and '/tag/'.

Would appreciate any insight/advice on this.

regards

En Jie :(
  • slawwwek
  • slawwwek's Avatar
10 Oct 2014 11:05
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
09 Oct 2014 19:41
Replied by Krikor Boghossian on topic [SOLVED] No Polish characters in tags K2 Component, Joomla

[SOLVED] No Polish characters in tags K2 Component, Joomla

Category: English K2 Community

Is the tag normalisation (K2 Settings) option disabled?
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
09 Oct 2014 14:20
Replied by Krikor Boghossian on topic Opengraph Image tag not being rendered

Opengraph Image tag not being rendered

Category: English K2 Community

It is not hacky.
You get to keep your edits even if you update K2.

If you tried the other way you would have to backup and re-patch K2 after every update.
Displaying 2241 - 2260 out of 6582 results.

Powered by Kunena Forum