Booked Scheduler Community Support
December 16, 2018, 05:38:01 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Booked is proud to recommend Shift Capsule in the employee shift scheduling space
   Home   Help Login Register  
Pages: [1]
Author Topic: Checking presence of custom attributes in tpl file  (Read 1059 times)

Karma: 1
Posts: 35

« on: December 12, 2017, 02:17:51 PM »

Dear all,

I am trying to redesign the reservation page as I did in the past with the Dark Theme.
Now I have some problems with checking the presence of custom attributes
In the older version of Booked, I could change the file tpl/Reservation/create.tpl where the presence of custom attributes was check with {if $Attributes|count > 0}
In the most recent version however, this has been replaced with a div custom-attributes-placeholder.
The if clause {if $Attributes|count > 0} does not work anymore.
Has anyone an idea of how to check the presence of attributes in the create.tpl file?
If I succeed, I am happy to share the adjustments.

Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!