Closed Thread
Results 1 to 4 of 4

Thread: Link to specific category

  1. #1
    ly0ha is offline Newbie
    Join Date
    Oct 2008
    Posts
    4
    Rep Power
    0

    Link to specific category

    Hi!

    Thanks for such usefull component. I am using Jommla 1.5 for my new site and tested several components to create the "downloads" page. ionFiles works great, has all the functions I need and is very easy to manage.

    But a still could not find the answer to one question: how can I make a link in the menu to specific category?

    For example, I've splitted my files into several categories "Product1", "Product2", "Common" etc. From menu manager I can make a link to all "downloads", listed by category and a user can switch or filter files between categories. But I need a menu link to show files omly for "Product1". How is it possible to do?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Jordan Guest

    Re: Link to specific category

    You have to create it manually. Add a new menu item and select external link. Place this link in the URL field:

    Code:
    http://www.yourname.com/index.php?option=com_ionfiles&func=showcategory&categoryid=xxx
    Change yourname.com to you domain name and xxx in categoryid to the category id you want to link to. You can get category IDs in the ionFiles administration (view/manage categories).

  4. #3
    ly0ha is offline Newbie
    Join Date
    Oct 2008
    Posts
    4
    Rep Power
    0

    Thumbs up Re: Link to specific category

    BIG thanks for support

  5. #4
    ly0ha is offline Newbie
    Join Date
    Oct 2008
    Posts
    4
    Rep Power
    0

    Thumbs up Re: Link to specific category

    First it didn't work, but I searched your code for "showcategory" and found out that it works only if "Enable Category Selection" is set to "Yes". I've changed it and now it works great!

    I don't have many files, and so I don't need category selection box, but according to site logic it is important to me to show all files in one place or just one category in another. May be you will consider such situation in future releases?

    And one more thing too. I've told you about "file scanning" in another component (it is called JotLoader). This component has one more convinient thing - in the list of categories a link is displayed for each category so the user (like me can create an external link. Hope it will be usefull for ionFiles too.

    One more time thanks for your support and patience and good luck with ionFiles!

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [category] - [sub category]
    By lol33d in forum PHP Development
    Replies: 4
    Last Post: 04-20-2011, 09:04 AM
  2. Any Ideas How To Link A Category And Slug Field Together?
    By tradingjamie in forum Database & Database Programming
    Replies: 5
    Last Post: 07-30-2009, 01:27 PM
  3. Create category error
    By theblase in forum ionFiles
    Replies: 4
    Last Post: 07-03-2007, 08:23 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts