Keyword

Newbie Questions

  • mental
  • mental's Avatar Topic Author
  • Offline
  • New Member
More
14 years 8 months ago #70660 by mental
Newbie Questions was created by mental
I started dabbling with K2 a couple of hours ago and I seem to have problems with attaining my goal. I am trying to make a product list/portfolio. First of all i would like visitors to see the categories and then when they click the a category see all the items in there. Now I just get the items and what category they have been pisblished in (which is something i also would like to get rid of ... the pusblished in category name sentence).

Maybe it's me, maybe it is because it gets late but I can't seem to figure it out.

Any help/pointers/... or free candy would be greatly appreciated.


Thanks

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #70661 by Erebrum
Replied by Erebrum on topic Newbie Questions
if you mean something like this k2.joomlaworks.gr/demo/ - show categories like blocks then articles. It is done like this:
1. create 1 "MAIN" category
2. put categories you wanna show in to that category
- MAIN
|_ CAT1
|_ CAT2
|_ CAT3
|_ ....

Then make a menu link which will point to MAIN category, K2 will render blocks of sub-categories at the top followed by articles. Not sure atm. how to get rid of "published in category" part.

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #70662 by hengstler
Replied by hengstler on topic Newbie Questions
Hi Erebrum

Yes, it's that what I'd like to do. Some main categories (blocks) with some articles in it and/or sub-categories ...



Erebrum said:if you mean something like this k2.joomlaworks.gr/demo/ - show categories like blocks then articles. It is done like this: 1. create 1 "MAIN" category
2. put categories you wanna show in to that category
- MAIN
|_ CAT1
|_ CAT2
|_ CAT3
|_ ....

Then make a menu link which will point to MAIN category, K2 will render blocks of sub-categories at the top followed by articles. Not sure atm. how to get rid of "published in category" part.

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #70663 by Enrico Ardito
Replied by Enrico Ardito on topic Newbie Questions
The point is how to link to CATEGORIES and not to items?. In K2's menu items I can only see:
item
item: Create a menu item linking directly to an item in K2.

item listings
category: Displays a list of items from one or more categories.

Nothing that displays and/or link directly to categories. :-S

Erebrum said:1. create 1 "MAIN" category
2. put categories you wanna show in to that category
- MAIN
|_ CAT1
|_ CAT2
|_ CAT3
|_ ....

Then make a menu link which will point to MAIN category, K2 will render blocks of sub-categories at the top followed by articles. Not sure atm. how to get rid of "published in category" part.

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #70664 by Erebrum
Replied by Erebrum on topic Newbie Questions
I am not sure if i understand your question but when you make structure as i wrote you just make a link Menu - K2 - Category - MAIN(select from the right options), by default K2 will show subcategories as blocks (images and descriptions followed by links to titles).

Sulley said:The point is how to link to CATEGORIES and not to items?. In K2's menu items I can only see: item
item: Create a menu item linking directly to an item in K2.

item listings
category: Displays a list of items from one or more categories.

Nothing that displays and/or link directly to categories. :-S

Erebrum said:1. create 1 "MAIN" category 2. put categories you wanna show in to that category
- MAIN
|_ CAT1
|_ CAT2
|_ CAT3
|_ ....

Then make a menu link which will point to MAIN category, K2 will render blocks of sub-categories at the top followed by articles. Not sure atm. how to get rid of "published in category" part.

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #70665 by Enrico Ardito
Replied by Enrico Ardito on topic Newbie Questions
That's working only if you select ONE category.
Since you can select more than one category (Select one or more categories), I selected other "main" categories but it just displays items and not categories.

My structure is like this:
MAIN 1
|_cat1
|_cat2

MAIN2
|_no sub category

MAIN3
|_no sub category

I've selected MAIN1, MAIN2 and MAIN3 but it just displays items from categories.

Erebrum said:I am not sure if i understand your question but when you make structure as i wrote you just make a link Menu - K2 - Category - MAIN(select from the right options), by default K2 will show subcategories as blocks (images and descriptions followed by links to titles). Sulley said:The point is how to link to CATEGORIES and not to items?. In K2's menu items I can only see: item item: Create a menu item linking directly to an item in K2. item listings
category: Displays a list of items from one or more categories.

Nothing that displays and/or link directly to categories. :-S

Erebrum said:1. create 1 "MAIN" category 2. put categories you wanna show in to that category - MAIN |_ CAT1 |_ CAT2
|_ CAT3
|_ ....

Then make a menu link which will point to MAIN category, K2 will render blocks of sub-categories at the top followed by articles. Not sure atm. how to get rid of "published in category" part.

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #70666 by Erebrum
Replied by Erebrum on topic Newbie Questions
To display categories on page you need to wrap them in category which you will call by menu. This trick works only if you point to ONE category and ONLY then you will see categories as blocks on the page

Maybe i didn't explained on the right way if you have categories MAIN MAIN1 and MAIN2 as top level categories and you wanna to display them as shown on k2.joomlaworks.gr/demo/ you need to WRAP those main categories in one TOP LEVEL category which you then call by menu link

Top level:
MAIN
MAIN1
MAIN2

After WRAP:
NEW TOP LEVEL CAT
MAIN (as sub category )
MAIN1 (as sub category )
MAIN2 (as sub category )

then you point to NEW TOP LEVEL CAT and MAIN , MAIN1 i MAIN2 will be displayed as blocks followed by items from those categories. I hope this is bit clearer.



Sulley said:That's working only if you select ONE category. Since you can select more than one category (Select one or more categories), I selected other "main" categories but it just displays items and not categories.

My structure is like this:
MAIN 1
|_cat1
|_cat2

MAIN2
|_no sub category

MAIN3
|_no sub category

I've selected MAIN1, MAIN2 and MAIN3 but it just displays items from categories.

Erebrum said:I am not sure if i understand your question but when you make structure as i wrote you just make a link Menu - K2 - Category - MAIN(select from the right options), by default K2 will show subcategories as blocks (images and descriptions followed by links to titles). Sulley said:The point is how to link to CATEGORIES and not to items?. In K2's menu items I can only see: item item: Create a menu item linking directly to an item in K2. item listings category: Displays a list of items from one or more categories.

Nothing that displays and/or link directly to categories. :-S

Erebrum said:1. create 1 "MAIN" category 2. put categories you wanna show in to that category - MAIN |_ CAT1 |_ CAT2 |_ CAT3
|_ ....

Then make a menu link which will point to MAIN category, K2 will render blocks of sub-categories at the top followed by articles. Not sure atm. how to get rid of "published in category" part.

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #70667 by Enrico Ardito
Replied by Enrico Ardito on topic Newbie Questions
I've read about the "top level" category trick but that doesn't make sense to me. It means if you want to display ALL categories you'll always have to create a "fake" top level category. It's a nonsense.
The easy way is for Fotis to add "display category" menu item.

Let's say I have this structure:
MAIN 1 (AUDIO)
|_albums
|_singles
MAIN 2 (VIDEO)
|_tour
|_performances

What's the point in having MAIN1 (audio) and MAIN2 (video) under a 'top level' MAIN0 category just to being able to display ALL categories at once?

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #70668 by Erebrum
Replied by Erebrum on topic Newbie Questions
Yeah i know it demands some reconfiguring of structure, but POINT IS that this process is hard coded in V2 stable like that. So far about easy way of coding we can only visit feature request forum :)

Sulley said:I've read about the "top level" category trick but that doesn't make sense to me. It means if you want to display ALL categories you'll always have to create a "fake" top level category. It's a nonsense. The easy way is for Fotis to add "display category" menu item.

Let's say I have this structure:
MAIN 1 (AUDIO)
|_albums
|_singles
MAIN 2 (VIDEO)
|_tour
|_performances

What's the point in having MAIN1 (audio) and MAIN2 (video) under a 'top level' MAIN0 category just to being able to display ALL categories at once?

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #70669 by Enrico Ardito
Replied by Enrico Ardito on topic Newbie Questions
That's really a pity. It seems I should continue with standard joomla's structure for now. :-/
Thanks for the support btw. :-)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum