Okay
  Public Ticket #2221998
Revolution Slider Integration
Closed

Comments

  • ClientsInAbundance started the conversation

    Hi there, I was just wondering if there was a way to get Revolution Slider event specific meta values to work outside of the RS editor.

    In RS, I have a post based slider that queries stec_events and pulls in any events there as slides.

    Available in the content options are meta values for all sorts of post types installed, including events.
    https://scrn.li/56Yof8z39WHg7l

    In RS Editor, it pulls in the value from the post
    https://scrn.li/6515oPcdrW7n89

    But on the output page the meta tag code is shown and not resolved
    https://scrn.li/zv2GC5SZJw7s3B

    Any ideas as to why this happens and maybe a way around it?

    Awesome plugin, thanks in advance
    (Unfortunately developing on a local environment so no url to give sorry)

  •  894
    Zhivko replied

    Hi,

    We're not working with Revolution Slider so I'm not very familiar how their code works.

    The screenshots you've attached are returning 404. Is it possible to resend them so I can take a look what's going on?


    Stachethemes Developer

  • ClientsInAbundance replied

    Hi Zhivko,

    Apologies for the delay in my response, I've been away.

    Sorry about the screenshots, I didn't think they'd expire so quickly.

    Essentially RevSlider pulls meta data in from post-types and I was wondering if there was a way to make this integration better with stachethemes.

    However, the event section in RevSlider wasn't displaying the meta in the slider on the frontend only in the edtior, using these event meta tags.

    By looking in the database though I've seen the meta tags for the stec_event posts and by using {{meta:start_date}} I can pull in the info, I just need to use date_format or something to reformat the result.

    I guess the only other thing I'd like to know is the best way to pull in some of the other values for each event that aren't clear results in the database as meta data.

    e.g. Guest Info / Attachments etc. given that some are encrypted values, some are stored in arrays etc.

    If it's possible that is.


    *edit*

    If I have the calendar embedded on the page, what is the best way to trigger pushing the "Tickets button" for an event from another button on the same page?

    I've looked at the button which says

    data-action="open-tickets" 

    I'm trying to add that button to the slider for each event to just show the pop-up. If I use the post link it goes to the single-page which I'm trying to avoid using cheers


    Thanks for the quick response.

  • ClientsInAbundance replied

    I managed to get what I needed in RevSlider by using a meta query instead:

    {{meta:start_date}} works instead of the preset Events options listed and then I format it with php to look the way I want so that's done.

    However I'm still trying to figure a way of triggering the correct popup  / tickets based on a button in the slider. Setup is like this:

    • I have Sachethemes set to open events in Popup mode
    • I have a button in a slider that is dynamic based on the event-id current context
    • I want to trigger the correct event popup from the button in the slider

    Would appreciate advice on this.

  •  894
    Zhivko replied

    Hi,

    I've tried to make this work but currently it's very hard to open the calendar modal content from outside the calendar so I'd suggest you to redirect the users to the envet's single page on click.


    Stachethemes Developer

  • ClientsInAbundance replied

    Ok I understand, and appreciate you looking into this for me.

    Obviously I'm running into some issues with the single page template with my theme so hopefully that can be sorted.


    Thanks again