• Sign In
    • Forgot your password?
    • Forgot your username?

K2 | The powerful content extension for Joomla! developed by JoomlaWorks

  • home
  • about
  • blog
  • documentation
  • extend K2
  • showcase
  • community
  • demo
The 'de facto' content solution for Joomla professionals!
K2Joom

K2Joom

www.k2joom.com

Founder of K2Joom, for K2 templates, extensions.
Author of Simon Says, the original and official K2 documents and tutorial site.

Social Profiles

Facebook Twitter

Customising Tag Views - Information

Customising Tag Views - Information
16 January 2012
in Tips & Tricks
More

Tags:

  • tags

K2 Admin Item View - Tags Used Query

29 October 2011
in Tips & Tricks
Have you ever wondered how you could tell which of your K2 Items had tags added to them?
Well, in this guide, we are going to show you have you can easily add this functionality without have to modify any core K2 files, but could also be added as acore fix.
Try this out, post you comments and maybe we could see this as a standard K2 feature.

The New Edit Item Layout
k2joom-tagsinadminWouldn't it be great if you could look at your K2 Item List in the Admin area and instantly see which Items had Tags on them and which did not so that you could then go and add those missing tags.
How about being able to see all the tags that are used in you K2 Item, also lists out as well, if that sounds untersting to you, then read on.
In the screen shot, can see those exact changes.
  1. A Tags Used column is displayed, with Green ticks if there are tags, and a Red cross if there are none.
  2. Under the Item Title, you can see that Tags have are displayed as weel.  Each tag is linked to the Tag Editor.
Lets find out how we can get this added.
Setup Procedure

We have made this even easier for you now as our download includes the folders that the previous guide asked you to create, follow the revised guide below.
  1. Download the zip file. (from k2joom.com, requires registration)
  2. Upload/Extract to administrator/templates/YOURTEMPLATE/html/
  3. Login to your sites Joomla admin, navigate to the K2 Items List and you will see this new tag information.

If you plan to change your Joomla Administrator template, then you need to copy the default.php file to the new Joomla Template folder

Hope find this useful, comments greatly received.

Many thanks to: 
Claire Mandville for the Idea.
Olivier Nolbert from www.jiliko.net for the coding 
More

Tags:

  • tags,
  • item list,
  • backend

Allowing users to submit content

29 October 2011
in Tips & Tricks

Scenario

You want to allow any new registration to be given the ability to create and edit content but only in a specific category or categories.

Process

  1. Create a K2 category such as "User Blog"
  2. Create a K2 User Group such as RegUsers (or whatever you want to call it)
  3. Set permissions as follows:
    Post comments: Yes 
    Front-end item editing: Yes 
    Add items: Yes 
    Edit own items: Yes 
    Edit any item: I would suggest no 
    Publish items: Your choice, but consider that you may want to check content before publishing
  4. Under Assign group permissions to these categories select the User Blog category only. 
    If your going to create sub categories in User Blog, then enable Automatically assign group permissions to the children of selected categories.

Function

Any new registration created will now be added to the user group you created.  They will have full read access to all parts of the site available to registered users.
Only within the selected categories will the registered users have the extra permissions set in that user group.

Test It

Create a "test" user from within the admin panel and move them to that user group.

 
TIP: By using a test user, you then can run these types of tests, or create system content and it will then NOT affect your main admin user account.  
Consider this, you create test content or system content using your admin account and those items will appear in your latest items and blog which you may not want to have displayed. 

Login to the front end of your site, and click the  "add item" from the K2 login module.
In the modal window, check the categories drop down and you will see that you can only select those that were set in the User group.

Already got registered members?

If you already have a lot of registered k2 users, then you can move them.

Go to the K2 User screen.
Filter the list to display just Registered, using the drop downs at the top right of the screen.
Click the select all check box, top of all the check boxes on the left side.
Click on the Move icon.
In the next window, select which category you wish to move them to and then click Save. 


Thats it job complete More

Tags:

  • frontend editing,
  • user groups
  • Contact us
  • Privacy Policy
  • License
  • K2 Downloads
  • K2 Metrics
  • K2 on GitHub
back to top
Copyright © 2006 - 2025 JoomlaWorks Ltd. All rights reserved. K2 is a joint project by JoomlaWorks & Nuevvo, released under the GNU/GPL license.
Joomla is a registered trademark of Open Source Matters, Inc. K2 is not affiliated with or endorsed by Open Source Matters or the Joomla Project.
designed by Nuevvo