Homepage Feature

This is actually great , i have increased number of post to 10 but i only want to show 5 on homepage and add a scroll bar for another 10 can you please help me with that , i have added the

<!-- Left and right controls -->
  <a class="left carousel-control" href="#myCarousel" data-slide="prev">
    <span class="glyphicon glyphicon-chevron-left"></span>
    <span class="sr-only">Previous</span>
  </a>
  <a class="right carousel-control" href="#myCarousel" data-slide="next">
    <span class="glyphicon glyphicon-chevron-right"></span>
    <span class="sr-only">Next</span>
  </a>
</div>

but don’t know how to merge it with your code

@awesomerobot

4 Likes

Thanks for the great component @awesomerobot, I used it on one of my sites today.

I was initially forced to fork it, though, as one feature which would be nice is optionally linking to the first post.

Functionally some sites, like the one I was using it on, might prefer to link to the OP every time instead of latest read post, for e.g. FAQs, Site Guidelines etc., because as it stands, if you’ve read the article, you are subsequently lead to the bottom of the target on future clicks, which is jarring and not helpful.

For single post Topics, one solution is to remove the Topic closure notifications, but if you want to get to the OP when there is more than one real Post, you are out of luck.

I may at some point PR a setting for this if it would be accepted, but for now the very simple changes are here in this template:

5 Likes

Topic List Previews might be more suitable for you, it supports an unlimited number of “Featured Images” (topics) with a scroll bar. You can disable the rest of the features and use only that. Demo: Rideables - A forum to talk and share ideas about everything to do with rideables: modern personal electric mobility solutions, like electric scooters, skateboards and one wheels.

1 Like

Is it possible to make it look like on https://realtimevfx.com/ (desktop version) on mobile version? As in, left-right swap and topic title on the thumbnail?

2 Likes

Hello,

I’m having an issue where on mobile it keeps featuring a post that isn’t tagged, and it’s always the same untagged post. On desktop or anywhere not displaying the mobile version everything works great and exactly like it should. Any chance anyone knows why it may be doing that? Thanks for any help!

1 Like

Hi, really appreciate this!

Any guidance on the recommended size for the thumbnail images?

1 Like

Hi, did you get your carousel working?

1 Like

We are having the same issue on our forum! Only happening on mobile versions:
If you go to the forum directly, the bug will occur (non-tagged threads will appear there).
If you happen to go the front page from another forum page (e.g. you are in thread and click on the home icon), the featured threads will appear in the list.

Maybe @awesomerobot could take a look at this?

Testing this today it doesn’t seem to consistently pick up the featured tags. It will randomly swap between showing the correct featured topics and other times it will just grab the most recent topics with activity Changing the tag names or toggling any of the theme component settings doesn’t seem to make a difference, it just randomly swaps between showing the topics with the specified featured tag or the latest topics with activity. Theme component and discourse at at latest versions.

2 Likes

Could the random picked threads (especially on mobile) be caused by this?

If yes, maybe it can be fixed as equally ‘quick’ (although hacky) as in that thread? :thinking:

1 Like

@awesomerobot recently have an issue with no Featured showing at all. Running Latest Stable all elements are updated. To test the theme component directly. I ran a preview so no other theme/components would not be active.

Is there maybe changes for Test passed that requires stable to install with a fall back option maybe?

site

Thank you for any feedback/assistance.

1 Like

Yes, there was an update to the component that relies on a helper that’s not present in the stable version.

There’s not a great way to downgrade a component, so at the moment it might be easiest to reinstall it from a different branch. I’ve setup a stable-compatible branch for this.

If you reinstall the component, and click advanced, you should be able to add the branch name.

2 Likes

Awrsome will give it shot. It was working earlier. Thanks for the speedy response!

EDiT: Worked perfectly aa before. Thanks again!

1 Like