וויג'טים של סליידרים עם מרכיב Featured Tiles בטלפונים ניידים?

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

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)

זה עדיין עובד בפיתוח, לפי מה שזה נראה. האם שינית את הגדרת ה-plugin_outlet?

ניסיתי את שניהם, כרגע מוגדר ל-above-main-container

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 לייקים

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?

לא, רכיב הנושא מעלה קבצים. ברכיב Big Carousel, עבור להגדרות בלחצן; יהיה שם לחצן העלאה.

Why don’t I have this button?

לייק 1

מוזר מאוד… בדקתי את הפורום שלך, ונראה שיש לך קובץ ברכיב Big Carousell בנתיב templates/components/big-carousell. כדאי להעביר אותו ל-components/big-caousell.

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

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