Carousel sliders with Featured Tiles component on mobiles?

Hi, I install your component successfully, but can’t show my images. I upload images into discourse shared folder and google drive. No results and only spinner loading

You need at least two items in the settings, is that the case?

1 Like

Hi,about this component,may I ask what’s the size of image I should upload?

Hey guys

Regarding this TC here: GitHub - discourse/discourse-big-carousel-component: Work in progress

I see that it’s being worked on, but could not find anything about it on Meta?
When I try to install it on “3.5.0.beta8-dev”, the TC is not being displayed (tested via tc preview)

It’s still a WIP by the looks of it. Did you modify the plugin_outlet setting?

Edit: never mind, just realized it only is displayed in the categories route…

How should I set it up if I want users to see the carousel as soon as they enter the homepage? Because your video seems to require clicking on the category to display the carousel, but I hope that users can see it as soon as they enter the homepage, rather than having to manually click on the category to see it, because some people may not be interested in the category.

I think you’d need to fork it. The logic limiting the route is here:

I think you’d need to import defaultHomepage and then do something like:

import { defaultHomepage } from "discourse/lib/utilities";

...

@discourseComputed("router.currentRouteName")
shouldDisplay(currentRouteName) {
  return currentRouteName === `discovery.${defaultHomepage()}`;

You may have to adjust this further, it may not be fully accurate (but perhaps something along the lines of what you are trying to do). I haven’t tested this. Though, from what I see, this is how the Robotime community does it.

Oh my god, it’s so difficult :sob:

Where should I upload the image to get this image link?

Just a heads-up: The repository was archived.

2 Likes

Try this:

  1. In your theme component, upload a picture:


  2. Copy the URL of the picture you uploaded:


  3. Paste it into the image_url setting:

Save it and it should work.


Note that the background repeats, if you upload too small a picture.

here to uploads?

No, the theme component uploads. In the Big Carousel component, go to the settings at the button; there will be an Upload button.

Why don’t I have this button?

1 Like

Very odd… I took a look at your forum, and it seems that your Big Carousel component has a file in templates/components/big-carousel. You should move it to components/big-carousel.

I was using this component, should I delete it now and re-download GitHub - discourse/discourse-big-carousel-component: Work in progress

right?

It’s just a warning, you don’t have to follow it. But it seems that you installed Topic List Previews twice, and it’s causing a bunch of errors. You’ll have to remove one of them.

I still don’t know why you are missing the upload button though :thinking:.

I deleted the previous one and downloaded it again, but there seems to be no upload button.

1 Like

I think the button is not visible on themes installed from GitHub. A workaround could be a custom component where the images are uploaded.