Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
03 Sep 2013 13:25
Replied by Krikor Boghossian on topic K2 Comments maxlength?

K2 Comments maxlength?

Category: English K2 Community

Hello Max,

You can override the comment form and use a maxlength property on the textareas.
www.w3schools.com/tags/att_textarea_maxlength.asp (There are also several JS scripts).

More info on overriding can be found here: getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
  • Eleonora
  • Eleonora 's Avatar
03 Sep 2013 11:26
Problemi con i tag frontend - backend was created by Eleonora

Problemi con i tag frontend - backend

Category: Comunità italiana K2

Ciao a tutti,
da qualche tempo ho problemi con i tag di k2.
Aggiungendo nuovi tag (o provando la compilazione automatica) non succede niente :blink: : non si aggiungono, ne si richiamano.
Ho installato la versione joomla 2.5.11 Stable e la versione k2 2.5.7 (downgradata dopo il primo consiglio), ma senza risultati.

Qualche consiglio?
Grazie mille!
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
02 Sep 2013 14:12
Replied by Krikor Boghossian on topic [SOLVED] CSS Styling line breaks Missing on front end

[SOLVED] CSS Styling line breaks Missing on front end

Category: English K2 Community

Hello Gerald,

Make sure you are not using any HTML cleanups or stripping tags. You can check this at the K2 params.
  • Stegemann
  • Stegemann's Avatar
02 Sep 2013 13:24
K2 User-Ratings was created by Stegemann

K2 User-Ratings

Category: Offizielle deutsche Gemeinschaft

Hallo,

gibt es ein Plugin, mit dem ich Usern die Möglichkeit geben kann, ratings in deren Artikel mit einzubinden?

Bsp.:
User XY möchte eine Artikel schreiben. Es geht um aktuelle Wahlen. Der Artikel soll anderen die Möglichkeit geben zu voten. Der Artikel könnte wie folgt aussehen:

Bundestagswahl 2013, wie denkt ihr?

SPD ***** (Rating via Stern)
CDU ***** (Rating via Stern)
usw.

Hat hierzu jemand eine Idee?

Für eure Hilfe bin ich schon mal sehr dankbar.
  • Vseva
  • Vseva's Avatar
01 Sep 2013 21:32 - 01 Sep 2013 22:14

K2 2.6.7 rating & extrafields on custom user page

Category: English K2 Community

Ok, I've managed to get the extrafields and the number of votes (3 votes) buy adding this to the item.php model in the if statements on line 181 and 193, like so:
 
  • zambala
  • zambala's Avatar
31 Aug 2013 09:17 - 31 Aug 2013 09:21
Tags view : No Intro text was created by zambala

Tags view : No Intro text

Category: English K2 Community

Hello,

I'm trying K2 on J3.0 - There is No Intro text on Tag view pages, only image and headline, no text......

Where can I get / set introtext for Tag view?

p.s. as far I can see, in general options ->Layout&view for Tag listings Item Introtext : Show is on ; still no introtext
  • Vseva
  • Vseva's Avatar
30 Aug 2013 23:44 - 01 Sep 2013 20:07

K2 2.6.7 rating & extrafields on custom user page

Category: English K2 Community

HI !

In the previous version of K2 2.6.6, I had customized the user.php view to accommodate both the item's rating and extrafields, and it worked just fine.

But now that I've updated to K2 2.6.7 my customizations don't work anymore and I can't figure out why ????

Anyone got any ideas they could throw my way as to why ?

(if don't know php I doubt you'll be able to answer this one)

Thx in advance.
 
  • Vseva
  • Vseva's Avatar
30 Aug 2013 23:32 - 30 Aug 2013 23:35
Replied by Vseva on topic add rating to k2-users

add rating to k2-users

Category: English K2 Community

Yes, it's possible... (in 2.6.6)

If you copy/paste form the item.php ,just make sure you change all instances of (not only the id,but numOfvotes & votingPercentage)
 
  • Lefteris
  • Lefteris's Avatar
30 Aug 2013 22:18 - 30 Aug 2013 22:20

Images using the 'Image' tab are not responsive

Category: English K2 Community

It's been a couple weeks since anyone's said anything here and I don't know if you've found a solution but for anyone interested...

I had some luck with making the image responsive by editing the item.php file to use a percentage rather than a definitive px setting. First, on my server, I made a new folder in the components/com_K2/templates directory and copied the item.php file into it from the default folder. Next, In your itemImageBlock div in the item.php file, change this:
style="width:<?php echo $this->item->imageWidth; ?>px; height:auto;
to this:
style="width:<?php echo $this->item->imageWidth; ?>%; height:auto;
and save it to your new template folder to replace the default item.php copy.

In the admin backend for that category, I assigned this new template. Then for the global K2 Parameter settings for images, for whatever size you're using for your primary item image, change that pixel dimensions to a percentage that works for your page layout and just ignore that the language file is echoing the text for a dimension in px. You could change the language file to say "%" instead of "px" in your admin UI but it would just get overridden with any K2 update. The beauty of using your own template is that a K2 update won't overwrite your own template's changing the px to % in your item.php file.
  • EasiStudio
  • EasiStudio's Avatar
30 Aug 2013 14:23
Replied by EasiStudio on topic Read More... within <p></p> of the introtext?

Read More... within <p></p> of the introtext?

Category: English K2 Community

Yiota Ziaggou wrote: The <p> tags are inserted through your editor while adding the text for your K2 item.

Doh !!! It all comes flooding back now.

All one needs to do is go into the Global Configuration settings for JCE (or whatever Editor they are using) in the backend and switch Container Element & Enter Key to "No containers & linebreak".

Many thanks for jogging my memory.
  • VietPublic
  • VietPublic's Avatar
30 Aug 2013 13:32 - 30 Aug 2013 14:40
Replied by VietPublic on topic [SOLVED] K2 facebook comments

[SOLVED] K2 facebook comments

Category: English K2 Community

Overide your template ex
Copy ROOT\components\com_k2 to
ROOT\templates\YOUR_TEMPLATE\html\ (create html folder if not exist)
Edit
ROOT\templates\YOUR_TEMPLATE\html\com_k2\templates\default\item.php
After line 673 (before K2_BACK_TO_TOP code) add code
 <!-- Facebook Comments --> <?php if($this->item->params->get('itemComments') && ($this->item->params->get('comments') == '1' || ($this->item->params->get('comments') == '2')) && empty($this->item->event->K2CommentsBlock)): ?> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script> <div class="fb-comments" data-href="<?php $url="".$this->item->absoluteURL; echo $url; ?>" data-width="500" data-num-posts="10"></div> <?php endif; ?> 
  • Yiota
  • Yiota's Avatar
30 Aug 2013 10:53

Read More... within <p></p> of the introtext?

Category: English K2 Community

The <p> tags are inserted through your editor while adding the text for your K2 item. The only way you can get your readmore to stand right in the end of the introtext element is through CSS.
Try adding this to your template or k2.css whichever your template uses

div.catItemIntroText, div.catItemReadMore {display:inline;}
  • olsen
  • olsen's Avatar
30 Aug 2013 03:56
Replied by olsen on topic Cannot remove "media" from top of page

Cannot remove "media" from top of page

Category: English K2 Community

You can edit the language file and just create a blank string "". Search for this key "K2_MEDIA"
If you do it this way it will be displayed an empty <h3> in your layout. To remove this tag edit the item.php template file within K2 templates folder. If you have overrideing the template (what you must do) it is under your joomla template folder /html/ com_k2 (line 517 at original file)
  • Justin Thomas
  • Justin Thomas's Avatar
30 Aug 2013 02:49
Replied by Justin Thomas on topic Multiple Tag fields [SOLVED]

Multiple Tag fields [SOLVED]

Category: English K2 Community

Wow, sorry for my delay! I was on holiday with family and have been involved in rebuilding my business (and 3 computers :P )

This is for displaying them in the front-end. I would like to have the ability to "pool" my tags so that they had some logic. I have some sites where you can apply different products, news items and industry standards codes to every item in K2. It would be easier for the customer to understand if they were grouped logically.
  • hooman hamedifar
  • hooman hamedifar's Avatar
29 Aug 2013 20:24
tag page uses defalut template multilingual site was created by hooman hamedifar

tag page uses defalut template multilingual site

Category: English K2 Community

Hi All,
I use k2 in multilingual site. I used 3 different style of template for each 3 languages and 1 for default template. I have to assign main menus of each language from the template. now when I click on a tag, k2 goes to show me tag results. this page uses my default template and I lose my main menu in perefered language.
let me ask you how can I solve this problem?
thanks
  • Yiota
  • Yiota's Avatar
27 Aug 2013 10:46
Replied by Yiota on topic tags image sizes

tags image sizes

Category: English K2 Community

The options for the user, tag, search views can be setup through the Content tab in the K2 Parameters. In those list views the image sizes are not inherited through the category but rather than those options.
  • ghandil
  • ghandil's Avatar
25 Aug 2013 09:16 - 25 Aug 2013 09:25
Replied by ghandil on topic How to show module only on k2 item page only

How to show module only on k2 item page only

Category: English K2 Community

I want to show a module position on all pages except "item pages".
In template files it was defined if the right/left positions weren't loaded the main container will fill more space in percentage; with the class would be assigned to it :
 
  • FidelGonzales
  • FidelGonzales's Avatar
25 Aug 2013 02:41
Replied by FidelGonzales on topic Multiple URLs For Same Tag SEO Duplicate Content

Multiple URLs For Same Tag SEO Duplicate Content

Category: English K2 Community

I found a way that seems to have solved the issue. Essentially, you cannot create more than one K2 Category Menu Item Links within a parent item category. Otherwise, for each Joomla Menu Item linked to each category and sub-category, you'll receive multiple URLs for the same tag.

This Creates Multiple Tag URLs - When all parent- and sub-category have a Joomla Menu K2 Category link.

directory/
directory/clubs/
directory/manufacturers/
directory/shops/
directory/trails/

This Creates A Single Tag URLs - When only parent category has a Joomla Menu K2 Category link. All sub-categories are linked only through Joomla Menu External URL.

directory/

If all tags could have a Joomla Menu K2 Tag link of their own, so that all K2 tags could be routed to a single base URL, as in website.com/tag or website.com/directory/tag, we could eliminate this issue. Perhaps someone here knows how to override this through hacking of the core K2 or Joomla code. An option to route tags to one URL or multiple parent categories, publishing only those items within that parent- and sub-category structure and not items using the same tag from other parent categories, would be ideal.
  • osintegration
  • osintegration's Avatar
24 Aug 2013 23:30

K2 Frontend editor screen buttons looks overlapped

Category: English K2 Community

The K2 plugin is working just fine but there is a small issue with the frontend editor screen in K2.

Please see attached file for the details.

Please help how the button arrangement and tag display be improved. :)

Website URL: www.osintegration.in/index.php/osi-blogger
  • ltempest
  • ltempest's Avatar
23 Aug 2013 15:39

Related content module showing restricted item

Category: English K2 Community

Hi,
I am using the K2 Related Content module to display a list of items associated by Tag.

However some of these tagged items are restricted using the standard Joomla ACL. However they still show up in the Related content module list when a user in not logged in.

How can I hide these restricted items in the module until a user logins in?

Thanks

Lee
Displaying 3221 - 3240 out of 6582 results.