Keyword

Catergory listing layout

  • Jens Lorentsen
  • Jens Lorentsen's Avatar Topic Author
  • Offline
  • Junior Member
More
11 years 1 month ago #126772 by Jens Lorentsen
Catergory listing layout was created by Jens Lorentsen
Hey everyone,

I'd like to know if its possible to get thar articles for a category listed like this:

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

More
11 years 1 month ago #126773 by Lefteris
Replied by Lefteris on topic Re: Catergory listing layout
Hi. You need to clarify. Are you talking about appearance? The only thing you cannot do with K2 out of the box is provide the sort by menu. The rest is a matter of setup and template.

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

  • Jens Lorentsen
  • Jens Lorentsen's Avatar Topic Author
  • Offline
  • Junior Member
More
11 years 1 month ago #126774 by Jens Lorentsen
Replied by Jens Lorentsen on topic Re: Catergory listing layout
Hey Lefteris,

yeah it's all about the look and feel. The sort would be a bonus but not really that important as the page is just going to have 20 entries.

What i'm looking for is the slime one-line per entry look. I have used html templates before but layout is a bit different in php.
Guess i'll just have to learn :)

Just edit the category_item.php right?

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

More
11 years 1 month ago #126775 by Lefteris
Replied by Lefteris on topic Re: Catergory listing layout
Yes. Actually if your only concern is the columns you don't have to edit anything. There are options in the category edit page which allow you to configure a basic grid. Also since you are new to Joomla! and K2 i suggest that you take a read at getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates to learn how you can override K2 templates and styles without editing core files.

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

  • Jens Lorentsen
  • Jens Lorentsen's Avatar Topic Author
  • Offline
  • Junior Member
More
11 years 1 month ago #126776 by Jens Lorentsen
Replied by Jens Lorentsen on topic Re: Catergory listing layout
Thank you but the documentation you link to is next to useless, as is all the documentation in here, by the way. It's only a basic explaination of what template overrides are, not really how to do it ;)

But i will have a closer look at the component for the settings you have mentioned.

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

More
11 years 1 month ago #126777 by Lefteris
Replied by Lefteris on topic Re: Catergory listing layout
It is not useless. If you edit directly the files without making overrides you will lose your changes in future updates.

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

  • Jens Lorentsen
  • Jens Lorentsen's Avatar Topic Author
  • Offline
  • Junior Member
More
11 years 1 month ago #126778 by Jens Lorentsen
Replied by Jens Lorentsen on topic Re: Catergory listing layout
I meant no offense. What I wanted to say was that i already knew everything on that page.
Sorry for the mistake :ohmy:

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

More
11 years 1 month ago #126779 by Lefteris
Replied by Lefteris on topic Re: Catergory listing layout
It's fine. I didn't get offended. I just wanted to clarify.

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

  • Jens Lorentsen
  • Jens Lorentsen's Avatar Topic Author
  • Offline
  • Junior Member
More
11 years 1 month ago #126780 by Jens Lorentsen
Replied by Jens Lorentsen on topic Re: Catergory listing layout
:)
I havent been able to make sense of the template yet.
The Columns you mentioned are just for the individual items, not the info in the items themselves right?
What i need is something like this:

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

More
11 years 1 month ago #126781 by Lefteris
Replied by Lefteris on topic Re: Catergory listing layout
Yes the columns i mentioned refer to the K2 items list. Since you want something like this inside the item you need to override item.php HTML output and add custom CSS rules .

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

More
11 years 1 month ago #126782 by Edward Kelly
Replied by Edward Kelly on topic Re: Catergory listing layout
How would one go about doing this? I want this exact same layout.

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

More
11 years 1 month ago - 11 years 1 month ago #126783 by Lefteris
Replied by Lefteris on topic Re: Catergory listing layout
@ Edward Kelly

Hi. All you need to change the markup and the styles can be found at getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates. It's totally up to you to do it. If you are not familiar with HTML/CSS coding i suggest that you hire a developer to help you.

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


Powered by Kunena Forum