Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
18 Jul 2014 13:04 - 18 Jul 2014 13:05
Replied by Krikor Boghossian on topic [SOLVED] Anchors Causing Pages to Break:

[SOLVED] Anchors Causing Pages to Break:

Category: English K2 Community

Timothy,

A content plugin which also runs on K2 items is the best solution in my opinion.

You can do a str_replace or a regex to wrap the text in the necessary markup in a tag like:
{tooltip}Example tooltip{/tooltip}.

Once you do this you can pretty much create modals, tooltips, accordions etc..

I am confident that there might be some plugin at the JED which have this functionality.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
17 Jul 2014 14:58
Replied by Krikor Boghossian on topic Custom template for Tag view.

Custom template for Tag view.

Category: English K2 Community

As I already told you, the column settings apply to the categories only.
Since you have overriden your tag layout, you can manually add grid classes.
K2 Store is using Bootstrap (I think) so you can use its classes without having to write any CSS code.
  • Huub van der Logt
  • Huub van der Logt's Avatar
17 Jul 2014 14:22
Replied by Huub van der Logt on topic Custom template for Tag view.

Custom template for Tag view.

Category: English K2 Community

Then i really dont understand why you can select a template when making the K2 Tag-item menu-item, if it isnt used anyway.

But it seems the whole Tag-item idea isnt of any use then to me, i prefer to have a similar appearance of items on my website. I use K2 with K2Store and have lots of products displayed in rows with each 3 columns. If i cant get the Tag results show in the same way then i will look for another solution.

Thanks for your help.
  • Huub van der Logt
  • Huub van der Logt's Avatar
17 Jul 2014 13:59
Replied by Huub van der Logt on topic Custom template for Tag view.

Custom template for Tag view.

Category: English K2 Community

Thanks for your reply, but i already did read that post and i do know how to make a Tag-menu item and assign a template to it.

But ......

If i make a menuitem for a certain K2-Tag, then choose a custome template from the dropdownlist for it, it still isnt used in the front end.

I want the Tag display to be the same as the Category display ...... but no matter what template i choose it keeps showing the one column display in the frontend.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
17 Jul 2014 13:35
Replied by Krikor Boghossian on topic Custom template for Tag view.

Custom template for Tag view.

Category: English K2 Community

This post will get you started: nuevvo.com/blog/item/84-k2-inheritance-sub-templating .

Now to manually assign a new template to a specific tag you need to create a menu item for it. Tags will render by default with the template that currently in use.

As for you second question, once you set up a new K2 template you can assign it from your menu item.
  • Fjorten Syvogtredive (1437dk)
  • Fjorten Syvogtredive (1437dk)'s Avatar
17 Jul 2014 09:39
[JOB] Simple list using Extra fields was created by Fjorten Syvogtredive (1437dk)

[JOB] Simple list using Extra fields

Category: English K2 Community

Could someone give me a price quote on the creation of list like this - with a quick load time:

Attachment not found



I have tried myself but the list uses up to 15 seconds to load and i am therefore quite sure I'm doing something wrong:
 
  • Shows the above used "Extra Fields"
  • Loads as fast as any other page
  • Honors if a ITEM has set that the title should not be linking
  • Follows the attached layout

  • …thank you in advance
    • Huub van der Logt
    • Huub van der Logt's Avatar
    16 Jul 2014 16:30
    Custom template for Tag view. was created by Huub van der Logt

    Custom template for Tag view.

    Category: English K2 Community

    Hello,

    I made K2 Tools modules, one with Search and one with a Tag view.
    Both result in a view that is one column and a (long) list of items.

    I did read somewhere that i need to make a template override. The good thing is that my template already has overrides ... also the one i want to use for the K2 Tools results.

    My first question is ..... where can i set the template i want to use, there is no select option in K2 Tools as far as i can see.

    My second question is this .....

    I made a menuitem that should show K2 items based on a Tag. This works but also doesnt show them in the template i want and that i selected there in the menu-settings. It keeps showing the items in one long list here also.

    Thanks in advance for any help!
    • Krikor Boghossian
    • Krikor Boghossian's Avatar
    14 Jul 2014 20:05
    Replied by Krikor Boghossian on topic Category View - Read More issue

    Category View - Read More issue

    Category: English K2 Community

    If you use word limit, then all HTML tags will be stripped.
    You should probably use K2's images (upload them through the image tab) and not insert them in the editor manually.
    Another approach would be manually specifying an introtext for each item.
    • Krikor Boghossian
    • Krikor Boghossian's Avatar
    14 Jul 2014 14:49
    Replied by Krikor Boghossian on topic Catalog mode using tags instead of sub-categories?

    Catalog mode using tags instead of sub-categories?

    Category: English K2 Community

    The K2 content module does not sort items by tags, so you cannot use that module.
    I would suggest you look for an extension at the JED or getk2.org/extend .
    • Krikor Boghossian
    • Krikor Boghossian's Avatar
    14 Jul 2014 13:41 - 14 Jul 2014 13:46
    Replied by Krikor Boghossian on topic More time on schedule

    More time on schedule

    Category: Commercial Joomla Templates

    Sure,

    Open K2's extrafield view.
    You will notice that almost all these fields refer to the schedule.

    What you need to do is to copy exactly (and I mean exactly) a full set.

    eg:

    22:00 - 00:00
    Alias: Header_m
    Time
    Alias: time_m
    Avatar
    Alias: avatar_l
    Title
    Alias: title_l
    Tagline
    Alias: sc_tagline_m
    Cover Image
    Alias: coverImage_m
    Dj
    Alias: dj_m


    Be careful to use the same patter in aliases. Eg: the next in line should have an alias of Header_n .
    This way you can create an hourly schedule.

    Finally, you do not need to edit any code in K2's files this pattern takes care of that.
    • Melanie Hogue
    • Melanie Hogue's Avatar
    14 Jul 2014 02:14

    Catalog mode using tags instead of sub-categories?

    Category: English K2 Community

    :unsure:

    I'm reorganizing an art catalog in K2 with category views in catalog mode; and would like to use tags instead of subcategories to sort the items into columns.

    Right now I'm looking at using many instances of sets of the same sub-categories, under each category. Seems a little cumbersome.

    Know anything that exists already or have any ideas?
    • David Ares Díaz de Freijo
    • David Ares Díaz de Freijo's Avatar
    13 Jul 2014 00:36
    Replied by David Ares Díaz de Freijo on topic Simple Image Pro problem rendering with k2

    Simple Image Pro problem rendering with k2

    Category: Simple Image Gallery PRO

    I have same problem, some gallery looks ok and others I get the same error but the gallery shows.


    Error:
    There was a problem rendering your image gallery. Please make sure that the folder you are using in the Simple Image Gallery Pro plugin tags exists and contains valid image files. The plugin could not locate the folder:

    it can be due¿?
    • Timothy Michel
    • Timothy Michel's Avatar
    11 Jul 2014 20:06 - 11 Jul 2014 20:35

    [SOLVED] "Title Row 2" Extra Field not display in Category

    Category: English K2 Community

    OK the following works in item.php:
    <?php if($this->item->params->get('itemTitle')): ?> <!-- Item title --> <h2 class="itemTitle"> <?php if(isset($this->item->editLink)): ?> <!-- Item edit link --> <span class="itemEditLink"> <a class="modal" rel="{handler:'iframe',size:{x:990,y:550}}" href="<?php echo $this->item->editLink; ?>"> <?php echo JText::_('K2_EDIT_ITEM'); ?> </a> </span> <?php endif; ?> <?php echo $this->item->title; ?> </h2> <?php endif; ?> <?php if($this->item->params->get('itemExtraFields') && count($this->item->extra_fields)): ?> <!-- Item article Title Row 2 extra field --> <?php if(isset($this->item->extraFields->titleRowTwo->value)): ?> <h2 class="itemTitleRow2"><?php echo $this->item->extraFields->titleRowTwo->value; ?></h2> <?php endif; ?> <!-- Item article SubTitle 1 extra field --> <?php if(isset($this->item->extraFields->subtitleOne->value)): ?> <h3 class="itemSubTitle1"><?php echo $this->item->extraFields->subtitleOne->value; ?></h3> <?php endif; ?> <!-- Item article SubTitle 2 extra field --> <?php if(isset($this->item->extraFields->subtitleTwo->value)): ?> <h4 class="itemSubTitle2"><?php echo $this->item->extraFields->subtitleTwo->value; ?></h4> <?php endif; ?> <?php endif; ?>

    See: Behind the Smoke Curtain: The 9/11 Pentagon Attack

    But in category_item.php, following doesn't:
    <?php if($this->item->params->get('catItemTitle')): ?> <!-- Item title --> <h3 class="catItemTitle"> <?php if(isset($this->item->editLink)): ?> <!-- Item edit link --> <span class="catItemEditLink"> <a class="modal" rel="{handler:'iframe',size:{x:990,y:550}}" href="<?php echo $this->item->editLink; ?>"> <?php echo JText::_('K2_EDIT_ITEM'); ?> </a> </span> <?php endif; ?> <?php if ($this->item->params->get('catItemTitleLinked')): ?> <a href="<?php echo $this->item->link; ?>"> <?php echo $this->item->title; ?> </a> <?php else: ?> <?php echo $this->item->title; ?> <?php endif; ?> </h3> <?php endif; ?> <?php if($this->item->params->get('itemExtraFields') && count($this->item->extra_fields)): ?> <!-- Item article Title Row 2 extra field --> <?php if(isset($this->item->extraFields->titleRowTwo->value)): ?> <h3 class="catItemTitle"> <?php echo $this->item->extraFields->titleRowTwo->value; ?> </h3> <?php endif; ?> <?php endif; ?> 

    I don't understand the distinction between $this-> item and $item. Isn't item a variable or method of $this, the current object? We are drilling into the database, so that the drill down proceeds from $this, the current object; which changes depending on what it is wrapped in?. Nevertheless, it would seem to me that if the code works in item.php, it should work in category_item.php as the file is not a wrapper. I have separated the titleRowTwo part from the title to simplify the code so that I can eliminate anything extraneous. As soon as I get titleRowTwo to display I will nest it back into catItemTitle.

    Again the problem is viewable at: Behind the Smoke Curtain:

    Only "title" is displaying and not both "title" and "titleRowTwo"
    • Abi Gedye
    • Abi Gedye's Avatar
    11 Jul 2014 13:11
    Replied by Abi Gedye on topic k2 tools module not working properly

    k2 tools module not working properly

    Category: English K2 Community

    Hello,

    I ended up getting one of our developers to help with this who helped reinstall just the K2 tools module files.

    After much scrolling through the files, he was able to compare the two .xml files which were in the K2 tools module folder. Turned out the one being read was incorrect, it had 'param' tags instead of 'field' tags. He renamed the correct .xml file version so this could be picked up by the site, and the other one would be ignored

    This feature is now working perfectly and is fab, so thanks K2 but perhaps check out why there was the dodgy file in there in the first place?

    I hope this helps further readers.

    Abi
    • Abi Gedye
    • Abi Gedye's Avatar
    11 Jul 2014 10:58
    k2 tools module not working properly was created by Abi Gedye

    k2 tools module not working properly

    Category: English K2 Community

    The k2 tools module that I have installed on my Joomla 3.3.0 website is not working. All the other parts of the K2 package seem to work just fine but this one. I need this as I would like to use the calendar and tag cloud functionality especially. I assume there may be something wrong with the install of these files but don't know how to fix it.

    When I go to create a new k2 tools module, I do not get the right interface like i have seen described on tutorials, just the basic description of what the module does.
    • Fjorten Syvogtredive (1437dk)
    • Fjorten Syvogtredive (1437dk)'s Avatar
    11 Jul 2014 10:12
    Replied by Fjorten Syvogtredive (1437dk) on topic Creating a simple list of items in a category

    Creating a simple list of items in a category

    Category: English K2 Community

    Sorry for the late reply. And thanks for all the help.

    I can't seem to find where to put the code? The word "array" is nowhere in my category.php-file?

    I have made my own version - but the page loads very slow compared to the rest of the site. And the list does not honor when i set the titles not to link in the backend.

    What am i doing wrong?
     
    • Karina
    • Karina's Avatar
    10 Jul 2014 22:34
    K2 no muestra ninguna imágen!! was created by Karina

    K2 no muestra ninguna imágen!!

    Category: Comunidad hispana oficial de K2

    Instalé K2 hace unos dias, migré todo el contenido de mi sitio, en un primer momento todo iba bien hasta que las imagenes dejaron de mostrarse, se que estan ahi porque si ingreso a editar los items las veo, pero no se muestran ni en los modulos, ni en los tags, ni en el item en particular.
    • Krikor Boghossian
    • Krikor Boghossian's Avatar
    10 Jul 2014 12:40
    Replied by Krikor Boghossian on topic Ability to Display Tags and Styles in Intro Text

    Ability to Display Tags and Styles in Intro Text

    Category: English K2 Community

    Another approach would be:
    <?php echo K2HelperUtilities::wordLimit($this->item->introtext, 20); ?>
    • nocube
    • nocube's Avatar
    08 Jul 2014 16:35

    [SOLVED] "Hide" Tags also hides Item Description

    Category: English K2 Community

    Hi,

    I did get a response from the Template Developer:

    If you are using K2 and getting this problem plz go to following directory template > roksmart_template > html and remove com_k2 directory your K2 theme will go to default K2 theme. then also getting same error then its K2 problem. thank you


    I removed the com_k2 directory and it fixed the problem. Now I'm able to disable tags.

    Thanks.

    Mary
    • Drago
    • Drago's Avatar
    07 Jul 2014 22:02 - 07 Jul 2014 22:05
    Replied by Drago on topic [SOLVED] Author in Tag Listings

    [SOLVED] Author in Tag Listings

    Category: English K2 Community

    Hello everybody,

    I was looking to display the author of an item in the "latest items", and although the thread is about "tag listings" it helped me solve my problem.

    I am posting my solution in the hopes that it will help other people.

    Step 1.
    Create an override to the file you are editing. (In my case latest_items.php)

    Step 2
    Set the variable $user (per the example of the previous posters).
    <?php $user = JUser::getInstance($this->item->created_by); ?>

    Note that the "echo" in this line has been stripped. This is what is causing the "JUser" to appear in the case of the above given solutions.

    Step 3
    Proceed to creating the link
    <a href="<?php echo $link = K2HelperRoute::getUserRoute($user->id) ?>"><?php echo JUser::getInstance($this->item->created_by)->name; ?></a>

    And it should work.

    Please note:
    I had to add "$this" infront of "item->created_by" for the file latest_items.php
    This thread refers to tag listings and I have not tested this solution for that specific case.
    Reading through this thread it is my understanding that "$this" should be omitted.
    Feel free to add it if stuff does not work out for you.
    Displaying 2461 - 2480 out of 6582 results.