• Register or
  • Sign In
    • Forgot your password?
    • Forgot your username?
    Or sign in with your account on:
    Facebook
    Twitter
    Google
    LinkedIn

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

  • home
  • about
  • blog
  • documentation
  • extend K2
  • showcase
  • community
  • demo
K2 brings the good parts from Drupal and Wordpress into Joomla!
  • Index
  • Recent Topics
  • Search
Welcome, Guest

To post messages, you need to login first.
K2 Community Forum
K2 Community Forum
New to K2? Ask here first!

Module category title link back to category?
(1 viewing) (1) Guest
Reply Topic
New Topic
  • Page:
  • 1

TOPIC: Module category title link back to category?

Module category title link back to category? 10 months, 4 weeks ago #14114

  • sicop
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
Ok hi everyone.

im looking for a way to link the title to the category just joomla would do, when i publish a k2 category module i would like the title to link back to that category.

i tried with - Custom link title from within the module with no success im probally just missing something right?

or is there a way to hack it to make it work ? please
Wyzed.net - The People's News
Reply Quote

Re: Module category title link back to category? 10 months, 3 weeks ago #14118

  • sicop
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
bump! anybody ?
Wyzed.net - The People's News
Reply Quote

Re: Module category title link back to category? 10 months, 3 weeks ago #14172

  • Lefteris Kavadas
  • ( Admin )
  • OFFLINE
  • Administrator
  • Posts: 2221
Hi. Have you enabled the category setting in the module? Once you do that K2 will display the category of the item linked.
Reply Quote

Re: Module category title link back to category? 10 months, 3 weeks ago #14195

  • sicop
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
enable what exactly

what do you mean ? Module Manager: Module K2 content


i tried playing with these option bellow before without any result
Custom link at the bottom
Custom link title
Custom link URL
Or select a Joomla! menu item
Wyzed.net - The People's News
Reply Quote

Re: Module category title link back to category? 10 months, 3 weeks ago #14222

  • Lefteris Kavadas
  • ( Admin )
  • OFFLINE
  • Administrator
  • Posts: 2221
Each item has it's own category with it's own link. If you have all the items from the same category then you can use:

<a class="moduleItemCategory" href="<?php echo $items[0]->categoryLink; ?>"><?php echo $items[0]->categoryname; ?></a>
Reply Quote

Re: Module category title link back to category? 10 months, 3 weeks ago #14249

  • sicop
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
ok ..

i have look inside this file modules/mod_k2_content/tmpl/Default/default.php
i have the same line... im not sure i understand what you mean

all my item have their own category. if you can take a look in my signature the main page in my website i use k2 to display 6 news article of each category, but the category title dont link to the category?
still havent figure out to do this.
Wyzed.net - The People's News
Reply Quote

Re: Module category title link back to category? 10 months, 3 weeks ago #14294

  • sicop
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
bump !

Can someone out there help me out with this issue ? please.
Wyzed.net - The People's News
Reply Quote

Re: Module category title link back to category? 10 months, 3 weeks ago #14316

  • sicop
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
Lefteris Kavadas ? can u help me with this please??

is there a nother forum for k2 help or this is it ?
Wyzed.net - The People's News
Reply Quote

Re: Module category title link back to category? 10 months, 3 weeks ago #14329

  • Lefteris Kavadas
  • ( Admin )
  • OFFLINE
  • Administrator
  • Posts: 2221
The default K2 content module links item categories by default. So if you do not see the categories linked check that you have not any template overrides that are missing the link code.
Reply Quote

Re: Module category title link back to category? 10 months, 2 weeks ago #126746

  • sicop
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
thank for trying to help me...

i still havent figure how to do this ill have a look at my template and let the community know when i find the awnser..

im using artisteer template!
Wyzed.net - The People's News
Reply Quote
Reply Topic
New Topic
  • Page:
  • 1
K2 Community Forum
K2 Community Forum
New to K2? Ask here first!
Find this topic helpful? Why not share it with others?
Tweet
Powered by Kunena
Time to create page: 0.28 seconds
Advertisement
  • Contact us
  • Join the K2 Expert Companies list
  • Privacy Policy
back to top
Copyright © 2006 - 2013 JoomlaWorks Ltd.. All rights reserved. K2 is a joint project by JoomlaWorks Ltd. & Nuevvo Webware Ltd., released under the GNU/GPL v2 license.
Joomla! is a registered trademark of Open Source Matters, Inc. JoomlaWorks/Nuevvo are not affiliated with or endorsed by Open Source Matters or the Joomla! Project.
designed by Nuevvo