Keyword

Advanced Search

Search Results (Searched for: k2 Tag)

  • Kailey Lampert
  • Kailey Lampert's Avatar
23 Sep 2009 02:34
Replied by Kailey Lampert on topic sh404SEF plugin for K2 2.0

sh404SEF plugin for K2 2.0

Category: English K2 Community

Hopefully this will be helpful to someone who is having the same two-word tag issue that I was having:

If you take the spaces in the URL and replace them with pluses ('+') it'll work. For example:
broken url:
domain.com/tag/two word.html

fixed url:
domain.com/tag/two+word.html

I've just used a little str_replace() function in the template files. I edited these three files and it seems to have covered all links:
/components/com_k2/templates/default/item.php (line 322 for me)
/components/com_k2/templates/default/category_item.php (line 190)
/modules/mod_k2_tools/tmpl/tags.php (line 19 in original, 26 in the modified version[k2community.joomlaworks.gr/forum/topics/improved-tag-cloud])

If somebody has a better idea, please do share
  • Kailey Lampert
  • Kailey Lampert's Avatar
23 Sep 2009 01:19
Replied by Kailey Lampert on topic sh404SEF plugin for K2 2.0

sh404SEF plugin for K2 2.0

Category: English K2 Community

I saw that and if I have to, I might go with that. But I'd love a 'real' fix since this is for a client.

Jeff Cooper said:It's not just you. A work around I'm using is to add a '-' between all tags. In my earlier example, my tag for 'barbie doll' would be 'barbie-doll'. The sh404sef url will then allow for a working url to the tag. Not a true fix, but...
  • Craig Berry
  • Craig Berry's Avatar
23 Sep 2009 00:58
Replied by Craig Berry on topic JomComment? Jomsocial too

JomComment? Jomsocial too

Category: English K2 Community

Hi Dave,
Thanks a ton for the the Affinity hack. Worked like a charm...jomcomment integration is working.

Do you know where I can pull out the 'be first to comment' line. Since it doesn't work with this workaround, I'd rather it not appear.

Thanks!
Craig

UPDATE: Found it! in item.php, I just removed the entire tag (which contains the php echo 'be the first to comment'). Of course, not before backing up the file!

Dave Marshall said:Hi Jennifer, As I stated above,
"There is one drawback to this, you will not be able to use the Comment Anchor for K2 and the K2 modules will not show the Latest Comments from Jom Comment but at least you will have one commenting system across your site. I am not a programmer so this will have to be left up to someone else. I have attached the file so that you may just upload it and overwrite the above mentioned files."

This means you will not be able to use the "be the first to comment anchor" you will need to disable these in the K2 Settings and Category Settings.

Did you add the code to the:
"components/com_k2/templates/default/item_comments_form.php"
or the
"templates/rt_affinity_j15/html/com_k2/templates/default/item_comments_form.php" ?
if you are using Affinity you need to use the later.


Have you set the K2 Parameters "Global setting for comments" to either:
"Enabled to Everyone"
or
"Enabled for rgistered users only"?

Have you cleared the Joomla and your Browser cache? If you are using the Joomla Cache take note that it is very agressive and any changes in K2 will not be shown unless you clear it.


Jennifer said:Hey, I did exactly what you said (I have affinity) and I can not see the commenting form at all. When I click on "be the first to comment" it takes me to the bottom of the screen and there is not commenting form. What could I be doing wrong?
Dave Marshall said:Hi again, The forum did not seem to accept the code I pasted but you can get it from the attached file.
  • Cornerstone Properties, LLC
  • Cornerstone Properties, LLC's Avatar
22 Sep 2009 23:48
Replied by Cornerstone Properties, LLC on topic sh404SEF plugin for K2 2.0

sh404SEF plugin for K2 2.0

Category: English K2 Community

It's not just you. A work around I'm using is to add a '-' between all tags. In my earlier example, my tag for 'barbie doll' would be 'barbie-doll'. The sh404sef url will then allow for a working url to the tag. Not a true fix, but...
  • Kailey Lampert
  • Kailey Lampert's Avatar
22 Sep 2009 23:41
Replied by Kailey Lampert on topic sh404SEF plugin for K2 2.0

sh404SEF plugin for K2 2.0

Category: English K2 Community

I'm also having a problem with multi-word tags (anything with a space in it).
Anybody else have this problem and know how to fix, or is it just me?
I'm running K2 2.1 and sh404sef 1.0.20_Beta - build_237

Everything is working great, except when I click on a tag that is more than one word...

Jeff Cooper said:I've found a problem with K2 tags, when the tag consists of more than one word. For example, "barbie doll". SH404SEF is using a URL with a "% 20" inserted in place of the space that is in between the two words. The result is a 404 missing error when I try to access K2 articles with that tag. One-word tags work fine. Anyone come across this, or a fix? thanks Jeff
  • Johan Nobel
  • Johan Nobel's Avatar
22 Sep 2009 21:37

JoomFish /K2 "Integration": Implemented filter by Category

Category: English K2 Community

Hi There,

When using both JoomFish and K2 (which is great!) I noticed that the list of K2_Items "to be translated" becomes quite long and there is no indication to which K2_category the items belong (listing is ordered alphabeticaly on Item Title).

All in all it becomes hard to find the right item in such a long list of (context-less) items.
I experimented with the "translation filter" option for JoomFish content elements and succeeded to get some useful filtering options out of them.

This might be useful for some of you with the same problem. The solution is quite simple:

- Locate the /administrator/components/com_joomfish/contentelements/k2_items.xml file
- add the following code just above the </joomfish> tag :

<translationfilters>
<K2_category>catid</K2_category>
<keyword>title</keyword>
<author>created_by</author>
<published>published</published>
</translationfilters>

- place the attached file (translationK2_categoryFilter.php) in the
/administrator/components/com_joomfish/contentelements/ folder

This will enable the following filters:
- filter by item parent category name (non - recursive)
- filter by author
- filter by publishing state
- filter by Item title

Hope someone finds this useful.

Johan
  • Lonnie Waugh
  • Lonnie Waugh's Avatar
22 Sep 2009 20:41

Full fledged shopping cart made from Joomla, K2, Simple Caddy and a custom CSV import

Category: English K2 Community

I wanted to just say I'm thrilled with what K2 gives me the ability to do, recently I needed to come up with a custom cart solution for someone because virtuemart is too bloated and buggy (my opinion, sorry) .. and the rest of the extensions out there just couldn't do what I needed..

Here's the text from my blog about it: blog.oneduality.com/2009/09/22/shopping-cart-made-from-joomla-k2-simple-caddy-and-a-csv-import/

One of my clients had recently came to me looking for a clean shopping cart that could be ran mostly via CSV… they had a “product matrix” in excel that had categories, sub categories, item name, skew and price…

I evaluated VirtueMart which I decided was just too bulky and buggy to work with .. then I checked out dozens of others, but none were suited to our needs.. I’ve run into this issue before and decided to roll my own cart using existing tools.. I opted to use K2 (since Joomla can’t do subcategories), Simplecaddy (k2 is not a cart) and some custom tweaks..

1. K2 is an amazing content organization system that offers a far more flexible way to manage your categories/sub categories… it’s not a shopping cart, but it makes a very effective catalog .. it’s capable of acting as a blog, an event calendar, a catalog (with no ecom functionality) and many other things… built in content voting, comments and social sharing options.. it can be everything, or it can be minimal depending on what you turn on and off.

2. Simple Caddy is a basic cart system, but it lacks a catalog … it’s designed for you to be able to build your own product pages within Joomla and slap on “add to cart” button and then it provides a method to check out via paypal (only paypal is supported).

3. My own code to import a CSV into the system.. it’s job is to create the category hierarchy, add the products to simplecaddy, create the items in K2 and apply the simplecaddy tag for “add to cart” .. this CSV also adds to another database with additional information that is used to create a product selector, or I guess a better word would be a drill down search.

In addition to the three main ingredients above, I made a series of tweeks to both components to suit my needs.. some of the things I’ve done.

1. I gutted the K2 item image system, I wanted to keep it automated and simple so I have K2 looking for category images by category name and product images by product ID… this gives easy ability to just properly name some files and bulk upload them.. this was done entirely in K2 templates.

2. I added an option in Simplecaddy to disable ecom, which simply means it doesn’t appear even with the tag in place.. the reason being is that for phase one, we’re just building the catalog and leaving the cart disabled.. if the tag is in place and the simplecaddy plugin is disabled, the tag shows.. we wanted to be able to enable ecom without needing to import again, just a flip of a switch.

3. An additional payment option for simplecaddy (authorized.net)

The result is a fully functioning shopping cart solution powered off of a simple CSV file
  • marcosaluzzo
  • marcosaluzzo's Avatar
22 Sep 2009 16:26
Replied by marcosaluzzo on topic Page Break?

Page Break?

Category: English K2 Community

I'm not really sure the pagebreak plugin is broken. Looking at the code for k2 v2.1, it would appear that the programmers have deliberately excluded the pagebreak function. If you perform a quick search of code in /administrator/components/k2/views/item/view.html.php for the key word pagebreak, you will see that the programmers have inserted the array('pagebreak', 'readmore') to stop the pagebreak (and also readmore) appearing when editing the item. Removing all occurrences of pagebreak will mean that you can insert pagebreaks. (The pagebreak icon should visible beneath the editor text area)

However when you view the item in the frontend, the pagebreaks you inserted into the backend will be stripped out because in the file /components/k2/model/item.php the line of code $dispatcher->trigger('onPrepareContent', array ( & $item, $params, $limitstart)); will strip out the hr tag.

I will be interested to hear from any k2 developers if they can confirm or not my conclusion. And more importantly, inform us if the pagebreak plugin will be included in future versions?
  • Cornerstone Properties, LLC
  • Cornerstone Properties, LLC's Avatar
21 Sep 2009 14:30
I have lost the "Displaying Items by Tag" title on tag search pages was created by Cornerstone Properties, LLC

I have lost the "Displaying Items by Tag" title on tag search pages

Category: English K2 Community

At one point, when I would search a tag or click a tag, it would bring up a handy page with all related tagged articles, and the heading would read something like "Displaying Articles by Tag: xxxxxxxx"

This is now gone (no heading on the tag page). I'd like to add it back--what is the setting in K2 to toggle this tag heading? I can't find

I've searched the forum and have found some advice on how to change this 'displaying articles by tag' title language, but can't find the setting to turn it on and off...thanks
Jeff
  • Valdis
  • Valdis's Avatar
20 Sep 2009 21:54
Replied by Valdis on topic Each Template with own css

Each Template with own css

Category: English K2 Community

For now it's possible to add css for each template using something like this inside template php files (like item.php and such):
$doc =& JFactory::getDocument();
$doc->addStyleSheet( 'www.example.com/css/mystylesheet.css' );

After that in the header of loaded html document for single k2 item you will find appropriate link tag referring to requested stylesheet.

IMHO sufficient to attach different additional css to each customized k2 template ;)

Regards,
Valdis

olsen said:what you can do by now, its to add on the style.css your new settings, at least until we find the way to create separate css files for each template.
  • CodeLab
  • CodeLab's Avatar
20 Sep 2009 19:34
Replied by CodeLab on topic Change Position Of Tagged Under

Change Position Of Tagged Under

Category: English K2 Community

Hi Olsen..

To Keep Layout Constant I Need To Modify Both Item_view and Category View,
I Was Thinking To Adapt Template Overrides From Another Template That Has K2 Styling....
I Will Check The sub Template Feature, Will Dig Into Documentation And Find About That...

Thanks For The Reply.....
  • Chris Yates
  • Chris Yates's Avatar
19 Sep 2009 14:11
RESTRICTING ACCESS TO k2 ITEMS was created by Chris Yates

RESTRICTING ACCESS TO k2 ITEMS

Category: English K2 Community

Hi,

For those of you who haven't already figured this out read the following:

Should you have items you want to restrict to members or paid subscribers to your website then use a plugin such as 'jhide' or similar and its tagging feature.

The process is to download the plugin, install and activate.

Wherever you wish to restrict access to content, include before the content {reg} and after content {/reg}.

At end of item include the following:

{noreg} your non subscriber text {/noreg}

Typically, you would use the options if you wanted to show an item teaser (introtext) to all visitors to your site and the full item (fulltext) to only registered users.

This solution is simple, works site wide and whether the visitor uses a text, image, print or email link.

When using this solution you should add at end of article the following:

{noreg}

SUBSCRIBER ONLY CONTENT

The content you wish to view is restricted to members only.

To view this content please log in.

If you are member and have no yet recieved your login details, email (include email link) us to rectify the problem.

If you are a new visitor and wish to subcribe, please register (include link to your registration page) here.

{/noreg)

The above is a simple solution that works with any article published in either Joomla Content or K2 Items.

NOTE: You must enable the legacy plugin in Joomla to use this suggestion.

I hope this suggestion helps others.

Best,

CHRIS
  • FreakShowTM
  • FreakShowTM's Avatar
18 Sep 2009 08:50
Replied by FreakShowTM on topic Simple Image Gallery bug

Simple Image Gallery bug

Category: English K2 Community

@greg

that feature will not be touched..
what i'm trying to do is to leave k2 untouched..
no k2 template mods just like what valdis did..
only simple image gallery will be modified..

greg said:Hi FreakShowTM, I don't know which version I install, your one or Valdis one, but the good thing is when you click in gallery link on top.
You go strait on gallery thumbnails in place of embed into texte with {galery} tag. If you ake something, could you keep this idea?

Thanks
  • Walter Howard
  • Walter Howard's Avatar
17 Sep 2009 23:46
Replied by Walter Howard on topic Missing Links for Breadcrumbs with K2

Missing Links for Breadcrumbs with K2

Category: English K2 Community

Exactly! Me too. I've tried to find a fix, but cannot seem to find how the breadcrumbs are determined by Joomla from K2.

Walt.

Daniel Sarno said:I found the solution. When using K2 you can't use the Joomla core breadcrumbs. You have to use the K2 tools module and change the module to breadcrumbs mode. It then works as breadcrumbs should work. Hmm this means the entire web site must be in K2.
Daniel Sarno said:I am noticing my bread crumbs are missing too. When I click on a category I have: home>>topcatagory1>>topcatagory1 The category is repeated
When I clcik on a sub catagory I get:
Home>>Subcatagory1
The top category is missing

When i click on an article i get:
Home
All else is missing

I am using KS v2.1.

Any Ideas?
  • Daniel Sarno
  • Daniel Sarno's Avatar
17 Sep 2009 18:16
Categories Assignment Not Working was created by Daniel Sarno

Categories Assignment Not Working

Category: English K2 Community

I created multiple category groups with different assignments so that each group can only see certain registered categories. It is not working. All logged in groups are seeing all registered categories regardless if it is assigned to them. I even created a group and asigned none to all catagories and they can still navigate to all catagories when loged in. any ideas if I am doing something wrong or is this a bug? I am on k2 version 2.1
  • Daniel Sarno
  • Daniel Sarno's Avatar
17 Sep 2009 17:55
Replied by Daniel Sarno on topic Missing Links for Breadcrumbs with K2

Missing Links for Breadcrumbs with K2

Category: English K2 Community

I found the solution. When using K2 you can't use the Joomla core breadcrumbs. You have to use the K2 tools module and change the module to breadcrumbs mode. It then works as breadcrumbs should work. Hmm this means the entire web site must be in K2.

Daniel Sarno said:I am noticing my bread crumbs are missing too. When I click on a category I have: home>>topcatagory1>>topcatagory1 The category is repeated

When I clcik on a sub catagory I get:
Home>>Subcatagory1
The top category is missing

When i click on an article i get:
Home
All else is missing

I am using KS v2.1.

Any Ideas?
  • James M
  • James M's Avatar
17 Sep 2009 00:39

Upgrade to 2.1 messed me up badly, any suggestions?

Category: English K2 Community

Found the soloution to this. Go to K2 configuration and look for "Introtext HTML cleanup (tag strip)" and "Fulltext HTML cleanup (tag strip)" change both of these from "yes" to "no" and problem fixed.

I think it would be worth having this added to any upgrade docs or notes
  • Daniel Sarno
  • Daniel Sarno's Avatar
16 Sep 2009 23:28
Replied by Daniel Sarno on topic Missing Links for Breadcrumbs with K2

Missing Links for Breadcrumbs with K2

Category: English K2 Community

I am noticing my bread crumbs are missing too. When I click on a category I have:
home>>topcatagory1>>topcatagory1
The category is repeated

When I clcik on a sub catagory I get:
Home>>Subcatagory1
The top category is missing

When i click on an article i get:
Home
All else is missing

I am using KS v2.1.

Any Ideas?
  • Valdis
  • Valdis's Avatar
16 Sep 2009 21:24

k2 works with Simple Image Gallery Plugin???

Category: English K2 Community

@Lance : Check this thread with couple of solutions for current SIG free - k2community.joomlaworks.gr/forum/topics/simple-image-gallery-bug

Lance said:Anyone made any progress on this??? I was able to upload photos in the K2 admin by renaming plugins/content/jwsig.php to jw_sig.php but now on the actual item page, it only shows the plugin tag {gallery}4{/gallery}. I'm using Jommla 1.514, K2 v 2.1 and SIG 1.21.
Lance
  • Tomasz Bieliński
  • Tomasz Bieliński's Avatar
16 Sep 2009 20:27
Replied by Tomasz Bieliński on topic k2 works with Simple Image Gallery Plugin???

k2 works with Simple Image Gallery Plugin???

Category: English K2 Community

You should use Pro version of SIG (this way you can thank Joomlaworks for this great K2 component ;-)).
In my case Gallery works fine but remember to set in your article view options "show gallery". To set this option in category view is not enough (bug ???)

Lance said:Anyone made any progress on this??? I was able to upload photos in the K2 admin by renaming plugins/content/jwsig.php to jw_sig.php but now on the actual item page, it only shows the plugin tag {gallery}4{/gallery}. I'm using Jommla 1.514, K2 v 2.1 and SIG 1.21.
Lance
Displaying 6461 - 6480 out of 6582 results.

Powered by Kunena Forum