Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • J Davies
  • J Davies's Avatar
22 Oct 2013 20:53

Limit Shown Tags in Tag Cloud in K2 Tools Module

Category: English K2 Community

Hi

I would like to know if it is possible to limit the tags that are shown from a category using the K2 Tools module - tag cloud.

At the moment I have the module set up to display a tag cloud and as far as I can see I am only able to select a category so that all the tags from that category are displayed in the tag cloud. I would like to change this so that certain tags are not displayed in the tag cloud whilst not removing the tags from those specific articles or having to move the articles to a different category.

Have simply missed something on the config or is it possible to do this using the custom code settings?

Any help with this would be very much appreciated.
  • EFFIDOC
  • EFFIDOC's Avatar
22 Oct 2013 18:04
Replied by EFFIDOC on topic Layout & view options for tag listings

Layout & view options for tag listings

Category: Communauté française K2

bonjour
effectivement j'avais demandé d'afficher le titre sur la page des tags et il ne s'affiche pas.
pour le reste chez moi cela fonctionne (mais j'ai installé la version en francais de K2 .
Vérifiez quand même le parametrage de la catégorie (quelsques infos relatives aux tags sur l'élément).
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
22 Oct 2013 12:54
Replied by Krikor Boghossian on topic portfolio submenu

portfolio submenu

Category: English K2 Community

Yes,

You can create a K2 category and assign it under the Gallerie category or create K2 Tags menus.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
22 Oct 2013 12:49
Replied by Krikor Boghossian on topic K2 content set to what position?

K2 content set to what position?

Category: English K2 Community

Hello Hege,

K2 is a component so it loads where the component area is on your template. Remember to change your menu items as well. K2 requires its own menu items pointing towards its categories, users, tags etc.

As for the K2 modules they will render where you have set them to (module settings).
  • teamraider
  • teamraider's Avatar
21 Oct 2013 20:32 - 21 Oct 2013 20:34
Replied by teamraider on topic How to show Previous and Next page buttons?

How to show Previous and Next page buttons?

Category: English K2 Community

Hi,
I'm trying to have Next and Previous button on Image of K2 item.
I created gallery with tag, and I would like to see all images with this tag with button next and previous after enlarge.

Attachment not found



Attachment not found

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
21 Oct 2013 19:22
Replied by Krikor Boghossian on topic No items, cats, tags listed in admin

No items, cats, tags listed in admin

Category: English K2 Community

I would restore a backup in your position. Reinstalling K2 told me didn't solve anything, right?
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
21 Oct 2013 17:19
Replied by Krikor Boghossian on topic No items, cats, tags listed in admin

No items, cats, tags listed in admin

Category: English K2 Community

Hello Tim,

Does your administration area crash or simply appears empty? Also have you tested the db on top of a default Joomla! installation? Did you repair the entire db or just the K2 tables? and a longshot, have you disabled caching and cleared all Joomla!'s cache?
  • Tim Willford
  • Tim Willford's Avatar
21 Oct 2013 16:58
No items, cats, tags listed in admin was created by Tim Willford

No items, cats, tags listed in admin

Category: English K2 Community

I have a Joomla 3.1.5 installation with K2 installed. After having to perform a database restore, none of my K2 content is visible from administrator despite being present in the database. I have tried a database repair, a fresh install of Joomla and K2, and i have tested the k2 language filters which is a previously known bug. Any suggestions on how to get my content back?
  • Giovanni
  • Giovanni's Avatar
21 Oct 2013 15:06

Variare H1, forse è facile ma non per me, Aiuto

Category: Comunità italiana K2

Salve,
ho bisogno di aiuto per una cosa banale forse, ma importante per me.
Ho bisogno di ridurre la dimensione del font quando taggato come h1.
Ho cercato in tutti i css e php ma ho solo trovato la possibilità di variare il tag h2 (mi pare fosse il file k2.css...).

Qualcuno può indicarmi come fare, o meglio in quale file è fissata la fontsize per h1?

Grazie 1000 in anticipo per il tempo e le risposte...

Giovanni
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
21 Oct 2013 12:50
Replied by Krikor Boghossian on topic [SOLVED] K2 not displaying to frontpage

[SOLVED] K2 not displaying to frontpage

Category: English K2 Community

Did you change your menu item's settings as well? You need to change all you menu items to K2 Categories/Items/Tags as well.
  • Justin Thomas
  • Justin Thomas's Avatar
20 Oct 2013 06:46
Allvideos plugin not working on tag item view was created by Justin Thomas

Allvideos plugin not working on tag item view

Category: English K2 Community

I realise that the first thought is "ah, it won't load" but I have countered that by ensuring it loads as I have a k2 content module in the footer of every page loading the latest video. Let me explain what I have done and see if anybody has a simple answer.

I have added the following code to my tag.php override.
<div class="tagItemView"> <?php $dispatcher = JDispatcher::getInstance(); JPluginHelper::importPlugin('content'); $item->text = $item->video; $item->video = $item->text; ?> <div class="tagItemVideo"> <?php echo $item->video; ?> </div>

and this is working to print the plugin tag as follows
{youtube}_YcCLCy4V98{/youtube}

Even though
<link rel="stylesheet" href="/trod13/plugins/content/jw_allvideos/jw_allvideos/tmpl/Responsive/css/template.css" type="text/css" /> <script src="/trod13/plugins/content/jw_allvideos/jw_allvideos/includes/js/behaviour.js?v=4.5.0" type="text/javascript"></script> <script src="/trod13/plugins/content/jw_allvideos/jw_allvideos/includes/js/mediaplayer/jwplayer.min.js?v=4.5.0" type="text/javascript"></script> <script src="/trod13/plugins/content/jw_allvideos/jw_allvideos/includes/js/wmvplayer/silverlight.js?v=4.5.0" type="text/javascript"></script> <script src="/trod13/plugins/content/jw_allvideos/jw_allvideos/includes/js/wmvplayer/wmvplayer.js?v=4.5.0" type="text/javascript"></script> <script src="/trod13/plugins/content/jw_allvideos/jw_allvideos/includes/js/quicktimeplayer/AC_QuickTime.js?v=4.5.0" type="text/javascript"></script>

are loading in my head tags due to the, correctly functioning, video in the footer.

So, how do I enable K2 content plugins in my tag.php file?
  • Josh
  • Josh's Avatar
18 Oct 2013 19:58

[SOLVED] image upload and extra fields required

Category: English K2 Community

Ok so I tried something like this but this is really not my forte

<?php
/**
* @version $Id: itemform.php 1959 2013-04-07 19:06:19Z joomlaworks $
* @package K2
* @author JoomlaWorks www.joomlaworks.net
* @copyright Copyright (c) 2006 - 2013 JoomlaWorks Ltd. All rights reserved.
* @license GNU/GPL license: www.gnu.org/copyleft/gpl.html
*/

// no direct access
defined('_JEXEC') or die;

$document = JFactory::getDocument();
$document->addScriptDeclaration("
Joomla.submitbutton = function(pressbutton){
if (pressbutton == 'cancel') {
submitform( pressbutton );
return;
}
if (\$K2.trim(\$K2('#title').val()) == '') {
alert( '".JText::_('K2_ITEM_MUST_HAVE_A_TITLE', true)."' );
}
else if (\$K2.trim(\$K2('#catid').val()) == '0') {
alert( '".JText::_('K2_PLEASE_SELECT_A_CATEGORY', true)."' );
}

else if (\$K2.trim(\$K2('.fileUpload').val()) =='0' {

alert( '".JText::_('select and image', true)."' );
return false;
}

else {
syncExtraFieldsEditor();
var validation = validateExtraFields();
if(validation === true) {
\$K2('#selectedTags option').attr('selected', 'selected');
submitform( pressbutton );
}
}
}
");

?>

Still no go tho..
Any assistance or reference would be greatly appreciated!
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
18 Oct 2013 18:33
Replied by Krikor Boghossian on topic Create a link so portfolio only opens 1 tag-items

Create a link so portfolio only opens 1 tag-items

Category: English K2 Community

Hello Bas,

You need a custom K2 Content module or even better a custom menu module override.
Each link being a K2 Tag menu item and each image being the menu item's image.

I would follow the latter suggestion (custom menu module) in your position since it is very flexible.
  • robert lodi
  • robert lodi's Avatar
18 Oct 2013 17:41
Replied by robert lodi on topic cannot find page in k2/joomla

cannot find page in k2/joomla

Category: English K2 Community

Hello again. so I tried that - i got the code on the page and tried to echo the ID numbers. However all I got no matter which page I looked at was 0 and 0. which can't be right.

I got 0/0 on the home page and thought, maybe that's ID 0 for the home page. but it was the same on every other page. So either I did it wrong or this particular Joomla system is weird.

I implemented it this way and put it after the <body> tag on the template.
<?php $id = JRequest::getInt('Id'); $itemid = JRequest::getInt('itemid'); echo $id.'<br />'; echo $itemid.'<br />'; ?>
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
18 Oct 2013 13:24 - 18 Oct 2013 13:24
Replied by Krikor Boghossian on topic View - Tag link overview

View - Tag link overview

Category: English K2 Community

You need to set the tag images to be visible in K2's params.

Also the jQuery Masonry script is failing. To troubleshoot this script you need to read its documentation: masonry.desandro.com/ It is possible there might be a wrong variable in your script initialisation or your stylesheet.

I cannot check this because even If I make a change the script won't reload.
  • Josh
  • Josh's Avatar
18 Oct 2013 09:36 - 18 Oct 2013 09:41

[SOLVED] image upload and extra fields required

Category: English K2 Community

Hi Krikor

Thanks for the reply again - apologies for the late reply.
Ok yes I though something like that, ok so Ive ammended it to be

<?php
/**
* @version $Id: itemform.php 1959 2013-04-07 19:06:19Z joomlaworks $
* @package K2
* @author JoomlaWorks www.joomlaworks.net
* @copyright Copyright (c) 2006 - 2013 JoomlaWorks Ltd. All rights reserved.
* @license GNU/GPL license: www.gnu.org/copyleft/gpl.html
*/

// no direct access
defined('_JEXEC') or die;

$document = JFactory::getDocument();
$document->addScriptDeclaration("
Joomla.submitbutton = function(pressbutton){
if (pressbutton == 'cancel') {
submitform( pressbutton );
return;
}
if (\$K2.trim(\$K2('#title').val()) == '') {
alert( '".JText::_('K2_ITEM_MUST_HAVE_A_TITLE', true)."' );
}
else if (\$K2.trim(\$K2('#catid').val()) == '0') {
alert( '".JText::_('K2_PLEASE_SELECT_A_CATEGORY', true)."' );
}

else if (\$K2.trim(\$K2('#.fileUpload').val()) == '0') {
alert( '".JText::_('K2_PLEASE_SELECT_AN_IMAGE', true)."' );
}

else {
syncExtraFieldsEditor();
var validation = validateExtraFields();
if(validation === true) {
\$K2('#selectedTags option').attr('selected', 'selected');
submitform( pressbutton );
}
}
}
");

?>

The problem is that when I hit save that the form kicks the errors correctly for the title and category fields but seems to not be checking/validating the image upload input. Do you know if there is another place I need to invoke the check/validation? Also I am wondering if it should validate that an image has been already uploaded but rather that it should check that an image has been selected on save and if yes then continue checks and allow save.

Thanks again for any assistance. I think this could be a nice feature others might be interested in too.
Cheers
Josh
  • Bas Kreijveld
  • Bas Kreijveld's Avatar
18 Oct 2013 02:59

Create a link so portfolio only opens 1 tag-items

Category: English K2 Community

Hello,

I am currently developing a website (www.meubel-idee.nl) and there is only one problem left and I hope you can help :)

I am wondering if it is possible to open/link to a K2 Portfolio directly instead of first opening the page and then click on the desired tag. An example can be found at:

www.meubel-idee.nl/projecten

When you open that link, the portfolio opens showing 'all the items' (in dutch called "Alle projecten"). However, I want (if possible) a direct link so the portfolio only opens for example the "buiten" tag. So far I haven't found the answer, except that the smoothboosh.js javascript file seems to determine the item-selection somehow.

So in short:
The portfolio page (www.meubel-idee.nl/projecten) opens all K2 items; however, I am in need of a direct link or a similar solution which makes it possible to "link to a tag" in the portfolio (e.g. the "buiten" tag) so it only shows the items which are related to the tag.


Thanks in advance for your support!
  • stavroch
  • stavroch's Avatar
17 Oct 2013 16:05
  • Eoin Feeney
  • Eoin Feeney's Avatar
17 Oct 2013 15:51 - 17 Oct 2013 15:53
Replied by Eoin Feeney on topic Can Not Change Order. Of New Items

Can Not Change Order. Of New Items

Category: English K2 Community

I have this problem now, whatever option in the category listing I choose doesn't do anything. I've tried clearing Joomla cache, no joy. I have two catagories choose in my menu item.

On the other hand I am not sick of people providing top end FREE products and not supporting them. Supporting them would be great if you can manage it, and I agree that K2 support is lacking, but support is expensive and K2 is free. If you provide a free product you shouldn't be obliged to support it, however, if you do not and people leave that is your problem.

I tried supporting K2 when it first came out but would you believe it I got banned and it took me months to get back on board. Ridiculous.
  • Josh
  • Josh's Avatar
17 Oct 2013 13:38

[SOLVED] image upload and extra fields required

Category: English K2 Community

Hi again

Thanks for that - ok for the image required function I am having problems..

In itemform.php i found

defined('_JEXEC') or die;

$document = JFactory::getDocument();
$document->addScriptDeclaration("
Joomla.submitbutton = function(pressbutton){
if (pressbutton == 'cancel') {
submitform( pressbutton );
return;
}
if (\$K2.trim(\$K2('#title').val()) == '') {
alert( '".JText::_('K2_ITEM_MUST_HAVE_A_TITLE', true)."' );
}
else if (\$K2.trim(\$K2('#catid').val()) == '0') {
alert( '".JText::_('K2_PLEASE_SELECT_A_CATEGORY', true)."' );
}



else {
syncExtraFieldsEditor();
var validation = validateExtraFields();
if(validation === true) {
\$K2('#selectedTags option').attr('selected', 'selected');
submitform( pressbutton );
}
}
}
");


I thought this might help however when I try to find the image reference in the database there isnt any due to the way k2 handles images.

How would I be able to implement a check to see if the input has a value selected and only if it does to allow the submit button to work?

something like..

if ($_FILES === 0)

Sorry for asking but JS is not my forte so any assistance / help would be greatly appreciated
Displaying 3121 - 3140 out of 6582 results.

Powered by Kunena Forum