0
Welcome Guest! Login
0 items Join Now

work html in particle Owl Carousel?

    • gigi's Avatar
    • gigi
    • Elite Rocketeer
    • Posts: 1396
    • Thanks: 8

    work html in particle Owl Carousel?

    Posted 8 years 11 months ago
    • David Goode's Avatar
    • David Goode
    • Preeminent Rocketeer
    • Posts: 17058
    • Thanks: 890
    • Web Designer and Host

    Re: work html in particle Owl Carousel?

    Posted 8 years 11 months ago
    • Hi Gigi,

      Are you using owlcarousel in newsslider mode? Is it taking content from Joomla articles?

      If yes, then you need to edit line 45 of /rt_topaz/particles/owlcarousel/newsslider-joomla.html.twig - this is the default code...

      {% if particle.jintrotext == 'enabled' and item.introtext %}{{ item.introtext|e }}{% endif %}

      The |e means that it will treat all content as text. To get it to use html you must change |e to |raw

      If this resolves your problem then please edit your first post in this thread by adding [SOLVED] at the start of the title and click on the icon and select the 'tick' icon. This lets the moderators know that it can be moved to the solved section.

      Thanks for your cooperation :)

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information

Time to create page: 0.060 seconds