2 issues with sliders (not working correctly in Elementor editor and not showing anything on front-end when not logged in)

Hi first of all thanks for the great plugin, I use it a lot on a lot of different sites and it’s very useful!

I only constantly (on all sites I have developed) walk into the same issue(s) when using Tangible L&L to create a post slider in combination with Elementor.

  1. The slider doesn’t work within the Elementor editor, it just shows each “slide” on a separate row and there is no slider functionality. However, it does show up fine on the front end (at least while logged in, see next issue).

Screenshot of a Tangible Template with a slider in the Elementor editor:

  1. When using the “Tangible Template element” within Elementor and selecting a template that uses a slider, it will only display on the front end when logged in as an admin, but when logged out (or eg. using private browsing) nothing is shown at all.

However, if I instead add the template to Elementor using a shortcode eg. [template id=5665], it does show up on the front end for all visitors (whether or not they are logged in).

Screenshot of shortcode in Elementor (also no slider functionality just like the last screenshot):

Screenshot of front-end when logged in (both normal Tangible Template Element as the shortcode version show up):

Screenshot while private browsing (only the shortcode version shows up):

BTW other Tangible Templates without slider functionality work and show up fine.

For now, I have fallen back to using the shortcode and just told my customers that the slider won’t work while editing in Elementor, but does work on the front end however, this is obviously not ideal.

For reference here is the code and CSS for the above slider template I created, the issues happen with all sliders though on all sites where I use Elementor.

Template Code:

<List name=responsive_options>
  <Map>
    <Key break>1024</Key>
    <Key items>2</Key>
  </Map>
  <Map>
    <Key break>767</Key>
    <Key items>1</Key>
  </Map>
</List>

<div class="bedrijvenslider-wrapper">
  <Slider items=3 pager=false auto=true controls=true responsive="{Get list=responsive_options}">
    <Loop type=bedrijven orderby=date order=desc>
      <Slide>
        <a href="{Field url}" class="bedrijfslogo-link">
          <img src="{Field acf_image=bedrijf_logo field=url}" />
        </a>
      </Slide>
    </Loop>
  </Slider>
</div>

CSS/Style Code:

.bedrijvenslider-wrapper .tslider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bedrijvenslider-wrapper .tslide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bedrijvenslider-wrapper .tslider-action > a:hover {
  color: var(--e-global-color-primary);
}

.bedrijvenslider-wrapper .tslider-action > a:before {
  font-family: dashicons;
  speak: none;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 36px;
}

.bedrijvenslider-wrapper .tslider-action > .tslider-prev {
  left: 0;
  background: none;
}

.bedrijvenslider-wrapper .tslider-action > .tslider-next {
  right: 0;
  background: none;
}

.bedrijvenslider-wrapper .tslider-action > .tslider-prev:before {
  content: "\f341";
}

.bedrijvenslider-wrapper .tslider-action > .tslider-next:before {
  content: "\f345";
}

Hopefully this can be resolved!

Best regards,
Sven

Hi there!
I’m glad that you love and use our plugin a lot! I have tested what you have said here and indeed it does confirm to be a bug somewhere here with the Elementor.
I’ll let the devs know!

Hi Emma,

Thanks for your reply!

Good to know it’s being looked at, let me know if you need any more info!

Hi Emma,

Just checking in.
Is there any update/development on the issue?
(not trying to push or anything just curious)

Hey Sven,
The devs have started to work on this issue but it’s not quite done yet, they have been working on some more high-priority bugs lately, but I can assure you this issue is already taken into consideration and I’ll let you know as soon as I get an update from them!

Hey Emma,

Alright great, thanks for the response!

Totally understand there might be more pressing matters/bugs to work out first and glad to know it’s being worked on!

Best regards,
Sven

Hi!
It seems like the issue has been solved and it is now fixed in Loops&Logic version 3.2.1!

Hi Emma,

Great to hear!

I tested it out and one of the issues is indeed resolved, the sliders now do show up on the front end also when not logged in (/in private browser), when using the “tangible template” widget in Elementor. So I don’t have to use the shortcode anymore, great!

However, the sliders still don’t load in the backend/elementor editor itself, there all “slides” are just listed below each other without any slider controls/functionality. See screenshot (still the same as in first post):

hmm, that seems very odd. I’m thinking it might be a conflict somewhere. On my test site, I don’t have this weird issue and I think it is because it’s a fresh site, with little addons on it. I might be wrong, but I tried to replicate it on my end and it’s working as expected after the update.

Odd you aren’t able to replicate it, are you sure you’re testing with a slider? All other tangible templates work and render fine also in the Elementor Editor, just sliders don’t seem to work (guessing the slide JS isn’t loaded while in the Elementor Editor or something, but I don’t see errors about that in the console). And this is still the case on all websites I used Tangible L&L to create post sliders.

Since you say you don’t have the issue on a fresh site (with little addons), I tried it out on my test domain, running the latest version of Wordpress with just Elementor & Tangible Loops & Logic plugins active. And I am getting the exact same issue there still, just a list of the content (in this case images but also happens with other fields) that was supposed to be rendered as “slides” while editing in Elementor, but rendering just fine with slider controls on the actual front-end. So it does not seem to be a conflict between plugins.

Screenshot in elementor:

But works fine on front-end if you go to the page: Tangible Slider test – Testomgeving

Would it help if I setup an admin account for you guys on this test site, so you can check out what’s happening there? I could share the credentials in a PM or something.

what do you mean by a slider? If you mean a slider in the Loops&Logic template, yes, I am, I have used the exact code you wrote a few replies above.

<List name=responsive_options>
  <Map>
    <Key break>1024</Key>
    <Key items>2</Key>
  </Map>
  <Map>
    <Key break>767</Key>
    <Key items>1</Key>
  </Map>
</List>

<div class="bedrijvenslider-wrapper">
  <Slider items=3 pager=false auto=true controls=true responsive="{Get list=responsive_options}">
    <Loop type=bedrijven orderby=date order=desc>
      <Slide>
        <a href="{Field url}" class="bedrijfslogo-link">
          <img src="{Field acf_image=bedrijf_logo field=url}" />
        </a>
      </Slide>
    </Loop>
  </Slider>
</div>

and here is a screenshot of how it looks on the backend:

Unfortunately, I can’t see anything than the header & footer on this test you are showing me. Since I am not able to replicate this on my end, I think it is safe to say we could give it a shot to try working on your end, if you are comfortable with it. Make sure it is a test site and there is nothing we can break and cause problems for you by mistake haha! Shoot me a PM. :nerd_face:

Hi Emma!

Oh sorry, with a slider I mean anything within the tangible <Slider></Slider> tag, like indeed in the template code I wrote. Strange that it’s working on your end, looks great in your screenshot.

I will send you the account details in a PM and it’s a test environment, so feel free to do whatever you want (haha besides nefarious obviously).

Hope you can find out what the issue is.

1 Like

Hey Sven!

The devs just got back to me and it seems like the problem should be solved for you now! :partying_face: Please update to the new version 3.2.4 and let me know if it works now for you!

1 Like

Hi Emma,

Great it is working in the elementor editor as wel now!

Thanks for the help and fix!

BTW I will remove the account for the test site now :wink:

1 Like

Glad to hear that! :partying_face: