• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 21.04.20, 14:37
  • Opened by: Marco Montanari
  • Closed by: Fred
  • Closed on: 15.06.20, 12:44
  • Reason: Closed
  • Comment: Glad to help!

Ticket #17437 - AMP - missing top header

Is possible to add a Top Header like in desktop version?
https://gyazo.com/b57e09e417422bc385e28019997ba473

thanks

Comments

Fred 21 Apr 2020, 14:50

There is no such option,
but you can add it in the file /themes/alysum/templates/mobile/_partials/header.tpl

Marco Montanari 24 Apr 2020, 20:52

ok thanks

Marco Montanari 24 Apr 2020, 20:54

the problem is will not manage the language change.
is there a way to implement you top heaer multilanguage?

https://gyazo.com/f20ac13831378d06385efe5fad6c085d

Fred 25 Apr 2020, 11:57

you can try to use following construction to display different content

{if $language.iso_code == 'en'}
ENGLISH
{/if}
{if $language.iso_code == 'it'}
ITALIAN
{/if}

or just use translation domains to change translation through back office

{l s='Text' d='Shop.Theme.Amp'}
Marco Montanari 26 Apr 2020, 04:14

thanks.
Anyway try to implement, in next version, for top bar short message a language selector
https://gyazo.com/f20ac13831378d06385efe5fad6c085d

Fred 15 Jun 2020, 12:44

ok