Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
25 Oct 2017 22:56
Replied by Krikor Boghossian on topic K2 Tags URL

K2 Tags URL

Category: English K2 Community

Hello Goble,

I am looking into it, so I can provide a solution without altering the tag, I am also noting this as an enhancement request.
  • Catherine Mollet
  • Catherine Mollet's Avatar
24 Oct 2017 16:18
Replied by Catherine Mollet on topic [SOLVED] Ordering K2 tags alphabetically

[SOLVED] Ordering K2 tags alphabetically

Category: English K2 Community

Thanks a lot Razen! Saved my life ;-)
  • Goble002
  • Goble002's Avatar
23 Oct 2017 21:48
Replied by Goble002 on topic K2 Tags URL

K2 Tags URL

Category: English K2 Community

Hi,

a kind reminder to above, thanks for any suggestion !
  • Goble002
  • Goble002's Avatar
19 Oct 2017 12:40
Replied by Goble002 on topic K2 Tags URL

K2 Tags URL

Category: English K2 Community

Hello,

any news on above ? Thanks !
  • Goble002
  • Goble002's Avatar
18 Oct 2017 10:00
Replied by Goble002 on topic K2 Tags URL

K2 Tags URL

Category: English K2 Community

Hi I have tested on:

k2 2.7.1 with J 3.7.0 AND k2 2.8.0 with J 3.8.1,

now the tag will automatically be saved without the accent. I.e. "A Pérèa" will be saved to "a perea" and appear as such in front end (which is obviously what I don't want)

The link will then be ".../tag/a perea" (with the space).

Am not using template override.
  • Goble002
  • Goble002's Avatar
17 Oct 2017 21:33
Replied by Goble002 on topic K2 Tags URL

K2 Tags URL

Category: English K2 Community

Hello,

K2 v2.6.6 / Joomla 3.7.5

Am waiting for a new custom k2 plugin to be released (and compatible with k2 2.8) before upgrading and it might take some time.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
17 Oct 2017 20:25
Replied by Krikor Boghossian on topic Links with itemlist and pagination

Links with itemlist and pagination

Category: English K2 Community

Hello,

How is that canonical link generated?
By default K2 does not generate a canonical tag link.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
17 Oct 2017 19:46
Replied by Krikor Boghossian on topic K2 Tags URL

K2 Tags URL

Category: English K2 Community

Hello there,

which versions of Joomla! and K2 are you using?
  • Goble002
  • Goble002's Avatar
17 Oct 2017 13:42
K2 Tags URL was created by Goble002

K2 Tags URL

Category: English K2 Community

Hello,

I know this has been asked before but I haven't find a suitable solution.

I have k2 tags and cannot afford to have a menu item for each. My URL is showing "...itemlist/tag/A Pérèa" (with a space)

Tag normalization > Enable
Tag character case > Lowercase
Additional character replacements > è|e, é|e, %20|-
Enforce SEF URL character replacements > Yes

Can I get it to display "...itemlist/tag/a-perea" ?
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
13 Oct 2017 21:17
Replied by Krikor Boghossian on topic Twitter Image - Meta data

Twitter Image - Meta data

Category: English K2 Community

You can use Joomla!"s add customMetaTag in your item.php overrides.
api.joomla.org/cms-3/classes/JDocumentHtml.html#method_addCustomTag

Example:
$doc = JFactory::getDocument(); $doc->addCustomTag("THE CUSTOM TAG HERE");

You can see how the og tag for Facebook is being constructed:
github.com/getk2/k2/blob/master/components/com_k2/views/item/view.html.php#L588-L590
  • Deljo
  • Deljo's Avatar
12 Oct 2017 10:28
Replied by Deljo on topic Twitter Image - Meta data

Twitter Image - Meta data

Category: English K2 Community

/components/com_k2/views/item/view.html.php This is the file that i modify

Everything is working fine, Twitter card is verified:
INFO: Page fetched successfully
INFO: 19 metatags were found
INFO: twitter:card = summary tag found
INFO: Card loaded successfully

But image is not loading from the article in K2, because of this line: $document-> setMetaData ('twitter:image', 'http://mysite/logo-twitter.jpg');
How to set that line to follow the image from article?
  • mr2ocuk
  • mr2ocuk's Avatar
11 Oct 2017 19:58
Replied by mr2ocuk on topic Remove/Delete a K2 User

Remove/Delete a K2 User

Category: English K2 Community

The K2 users plugin may have been enabled at one stage but it isn't now, which may possibly explain the 2500 users that are in K2 as we certainly didn't deliberately add them.
Batch move only allows you to move users from one K2 group to another not take them out of groups, unless I'm doing something wrong or missing something.
We have two K2 groups, Authors (2500 users) and Editors (4 users) we need to take all the users out of Authors and 2 out of Editors, this seems to be impossible without modifying the database which I think is a bit much.
What happens to users in the 2 groups if we delete the groups ? or were to un-install K2 ?
Cheers
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
10 Oct 2017 20:24
Replied by Krikor Boghossian on topic Mod K2 Content shows current date and time for article

Mod K2 Content shows current date and time for article

Category: English K2 Community

This means that this is a template issue.
You need to edit that override a bit. Make sure you use the same tags for the date as the default template.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
10 Oct 2017 18:58
Replied by Krikor Boghossian on topic Standard tags in the tags field

Standard tags in the tags field

Category: English K2 Community

Hello,

;TLDR, K2 uses its own tagging system. Standard are not supported.
  • william white
  • william white's Avatar
  • Markus Zuber
  • Markus Zuber's Avatar
05 Oct 2017 23:58
Replied by Markus Zuber on topic Tag page Blank

Tag page Blank

Category: English K2 Community

This is nothing new - and has nothing to do with the server. It is just a problem withK2 - and I have quite my nose full of it...
I have installed tha latest version of Oyter with the latest version of K2 - and I just get the error message:
0 Call to undefined method WFEditor::getContext()

My website has gone down the drain!
  • Darren Forster
  • Darren Forster's Avatar
04 Oct 2017 12:09

Checking if a user can alter state of article in category?

Category: English K2 Community

Hi,

I'm just writing a bit of a template for K2. My plan is that I'm going to override the "category" layout, it's going to be a business directory for a community hub and the plan is that at first I'm going to ask the user for a postcode. Once I've got the postcode I then check through the database for any results that match. If results match the user is given the option to "claim" the listing as their own (which sends an e-mail to us so we can verify that the person trying to claim the business is genuinely the owner).

If the person does not have a business they can then proceed to an "Add business" form which allows them to add their business to our directory. Now I've got pretty much most of this working except the "Add business" section as at that stage I need to know whether or not the user has permission to publish to the "business directory" (and child categories) in K2 - if they do then they are shown a publish "Yes/No" button on the page and if they do not have permission then a hidden field is created called "publish" which is automatically set to 0.

Now of course I could just use the "itemform.php" to do this - but I have a big problem with "itemform.php" in the fact that when the user clicks on the itemform it opens up in either a separate window or a modal window and I don't want this as I want this to be like a progressive form on the site.

At present most of it works except I need to check whether or not the user can publish to the specific category.

I've used the following code
$publish = $this->user->authorise('core.edit.state', 'com_k2'); if ( $publish == 1 ) : ?> <div class="form-group row"> <label class="form-label col-sm-2" for="published"> Published: </label> <div class="col-sm-10"> <label class="radio-inline"><input type="radio" name="published" value="1"/>Yes</label> <label class="radio-inline"><input type="radio" name="published" value="0" checked="checked"/>No</label> </div> <?php else : ?> <div class="form-group row"> <label class="form-label col-sm-2" for="published"> Published: </label> <div class="col-sm-10"> <input type="text" value="0" name="published" readonly /> </div> </div> <?php endif ; ?>

but this seems to only return if the user in Joomla ACL is set to be able to publish anywhere in K2 not if they are set in K2 to change state on specific categories. Is there an easy way to check this, or do I have to query the database to find this information out?
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
03 Oct 2017 18:54
Replied by Krikor Boghossian on topic Tag Result - Num of items per page

Tag Result - Num of items per page

Category: English K2 Community

Hello,
The option is located in K2's parameter under the Layout & Views tab.
  • Goble002
  • Goble002's Avatar
03 Oct 2017 14:58
Tag Result - Num of items per page was created by Goble002

Tag Result - Num of items per page

Category: English K2 Community

Hello,

My tag results actually shows 10 items per page. Since it shows 3 items per row, I would like to make it 9 or 12 per page.

I can't find the option if I create a menu items for Tags and I don't want to use a menu item as well.

I guess there's something there that I can tweak ?
<?php if($this->pagination->getPagesLinks()): ?> <div class="k2Pagination"> <?php echo $this->pagination->getPagesLinks(); ?> <div class="clr"></div> <?php echo $this->pagination->getPagesCounter(); ?> </div> <?php endif; ?>
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
26 Sep 2017 19:03
Replied by Krikor Boghossian on topic [Solved] Disable article image popup

[Solved] Disable article image popup

Category: English K2 Community

Hello,

You will need to override the item.php file and remove the <a> tag in the .itemImageBlock section.
Be careful not to remove its contents (the spans and the img tag).

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

Powered by Kunena Forum