Booked Scheduler Community Support
June 20, 2018, 04:07:09 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 www.ShiftCapsule.com
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Checking presence of custom attributes in tpl file  (Read 594 times)
pvdemael
Newbie
*

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.
Best

P
Logged
Pages: [1]
  Print  
 
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!