• Priority: Medium
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 12.11.21, 11:45
  • Opened by: Lynda
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #22585 - Header items display code in tpl file

Hi Fred!

I’m trying to make my own customized header template. But I can’t display header items with the hook “displayHeaderItemsLinks”.
What is the problem ?

Thank you.


Fred 12 Nov 2021, 15:13

Hi, Lynda.
Try to call it as a widget like this

{widget name="pkheaderitems"}
Lynda 12 Nov 2021, 15:41

It doesn't work, error 500.


Fred 13 Nov 2021, 10:26

What file I can use to try it myself?

Lynda 13 Nov 2021, 16:11

/themes/child_alysum/templates/_partials/header.tpl of my development site (add "dev." before the domain name to access to the dev site).

Fred 13 Nov 2021, 22:49

I'm not able to connect to your dev server

Response: 	331 User caly0887@dev.kalyca.fr OK. Password required
Command:	PASS ************
Response: 	530 Login authentication failed
Error:        	Critical error: Could not connect to server
Lynda 14 Nov 2021, 08:18

I don't understand, FTP credentials are corrects. It works for me.

Fred 14 Nov 2021, 20:30

I just updated header items module, now the shortcode seem to work

Lynda 15 Nov 2021, 17:57

Thank you Fred. How can I update the module on my production site? Does the Promokit module updates happen automatically during the theme update?

Fred 16 Nov 2021, 11:10

just copy files from dev server /modules/pkheaderitems/ to your production