Keyword

Replicate K2 demo site front page category listing.

  • Birger J. Nordølum
  • Birger J. Nordølum's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 10 months ago #68092 by Birger J. Nordølum
Replicate K2 demo site front page category listing. was created by Birger J. Nordølum
How can I make a page display only the categories? Just as they do on the front page of K2 demo site.
Because now I can't show only categories. If I deselect all, the last active get set as the category to use.

Birger :)

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

  • Birger J. Nordølum
  • Birger J. Nordølum's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 9 months ago #68093 by Birger J. Nordølum
Replied by Birger J. Nordølum on topic Replicate K2 demo site front page category listing.
Don't mean to bump. But can this be replicated? Very vital, since I plan on change to K2 from JoomSuite. And I need category-view to be displayed first. And not a single category.

Birger :)

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

More
15 years 9 months ago #68094 by piperchick
I am trying to do the same thing.

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

  • Birger J. Nordølum
  • Birger J. Nordølum's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 9 months ago #68095 by Birger J. Nordølum
Replied by Birger J. Nordølum on topic Replicate K2 demo site front page category listing.
Maybe add a new menu list item to choose from. Where we can see all the categories, and not items.

Birger :)

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

More
15 years 9 months ago #68096 by Drew Hendricks
Replied by Drew Hendricks on topic Replicate K2 demo site front page category listing.
I've been trying for a few hours. I've got sub categories to show up, but the demo front page almost looks like a section layout. Any insight would be greatly appreciated.

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

  • Birger J. Nordølum
  • Birger J. Nordølum's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 9 months ago #68097 by Birger J. Nordølum
Replied by Birger J. Nordølum on topic Replicate K2 demo site front page category listing.
Positive that the layout used in the demo is not included in the public release.

Birger :)

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

More
15 years 9 months ago #68098 by Paul Jones
I am still looking in how to do it! Frustrating...

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

More
15 years 9 months ago #68099 by Drew Hendricks
Replied by Drew Hendricks on topic Replicate K2 demo site front page category listing.
We have replicated it but it entails digging into the php and tweaking the css.

Set up a top level category. (in version 1 you could utilize a top level template. Here we have found you have to fake it) Assign your subcategories to the top level parent. There are other posts that tell you how to do this.

In the default php view (around line 60) delete the echo subcategories line.

You then have to make the title linkable. Strangely, the image is href'd to the subcategory, but the title is not. You have to add your own href tag. I would think a lot of these things will be made optional in future releases. We are making good notes on what we change so that we can upgrade.

In the css you have to create your own css in order to mimic the boxes around the subcategories.

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

More
15 years 9 months ago #68100 by Paul Jones
Let me know if someone writes up a detailed and easy to follow tutorial to do this.

Thanks

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

More
15 years 9 months ago #68101 by bunglehaze
No need to edit css OR php...

Just add a pagebreak for each article to link up titles and for the rest...

k2community.joomlaworks.gr/forum/topics/your-demo-categories-are

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

More
15 years 9 months ago #68102 by Drew Hendricks
Replied by Drew Hendricks on topic Replicate K2 demo site front page category listing.
I looked at your link, but do not understand. How does adding a page break link up the article titles? The php code only has a simple echo command for the title. A pagebreak would not create an href tag.

In order to recreate the boxes around the subcategories we had to add a div id with its own custom style. We could not figure out how to do this without changing the css. Anyway, we might not have done this correctly, but our 2.0 site looks and feels like 1.0.

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

  • Birger J. Nordølum
  • Birger J. Nordølum's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 9 months ago #68103 by Birger J. Nordølum
Replied by Birger J. Nordølum on topic Replicate K2 demo site front page category listing.
I think it is just easier if they add a Category Frontpage Layout. Or atleast when no categories is selected in the Category Layout, it will only displays the categories itself.

Birger :)

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

More
15 years 9 months ago #68104 by Paul Jones
Drew Hendricks - how did you do that screenshot? Did you do it yourself - the look that you had there is what I want.

I would appreciate if you shared with me how to do it.

Thanks.

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

More
15 years 9 months ago #68105 by bunglehaze
the pagebreak does not break up article titles but it does make that title linkable - dont ask me why as I really dont have a clue but I have found you cannot link to the title without a pagebreak and as a result a read on link!

On the other note I too agree, that was not the query though, the K2 frontpage does not look identical to K2v1 - thats just how things go im afraid when they progress. you can make the layout very similar as standard though but if you REALLY have to make it look identical then yes you will have to use css, my point is there is no NEED to.

cheers

leigh :)

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

More
15 years 9 months ago #68106 by Travis Brackett
Replied by Travis Brackett on topic Replicate K2 demo site front page category listing.
Default view on 1.0 was a lot easier, but this works too. Also it was a worthy exercise to get more familiar with 2.0 layout

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

More
15 years 9 months ago #68107 by Paul Jones
So how do you do it without using CSS? Is the secret using page breaks? If so how and what?

Thanks

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

More
15 years 9 months ago #68108 by Paul Jones
Travis Brackett - how did you do that? It looks really good and is what I want to do!

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

More
15 years 9 months ago #68109 by Paul Jones
OK, you did some code editing...is it complicated?

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

  • Birger J. Nordølum
  • Birger J. Nordølum's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 8 months ago #68110 by Birger J. Nordølum
Replied by Birger J. Nordølum on topic Replicate K2 demo site front page category listing.
I somehow replicated it, but still I need to remove some stuff. Like the sub-category name, etc.

Birger :)

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


Powered by Kunena Forum