• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Marek
  • Private: No
  • Open Date: 30.10.18, 12:53
  • Opened by: Hiper Egodulce
  • Closed by: Marek
  • Closed on: 02.01.19, 14:29
  • Reason: Closed
  • Comment: Glad to help!

Ticket #13169 - Accordion Home

Hi,

the accordion module of the home always appears with the first option displayed. How do I avoid that?

Thanks

Comments

Marek 30 Oct 2018, 13:30

do you want to have all sections closed?

Hiper Egodulce 31 Oct 2018, 09:38

yes,

thanks

Marek 31 Oct 2018, 10:18

I just make a fix, please clear prestashop ache to see the changes

Anonymous Submitter 08 Dec 2018, 05:53

Hello,
Could you tell me how did you do for this request? I search to do the same thing :)

Marek 08 Dec 2018, 09:42

Open the file
/modules/pspagebuilder/views/templates/front/widgets/widget_accordion.tpl
Find the line

{if $key==0} in {else} out{/if}

and replace it with

out