template array

  1. fahad ashraf

    How to use Variable within variable in xenforo Template?

    I am passing two variable in view like $viewParams = array( 'calendar' => $yearCalender, 'currentMonth' => $currentMonth, ); calender is array that have html code on each index and currentMonth is integer value when i am trying to access it in template with {xen:raw $calendar.$currentMonth}...
  2. Stuart Wright

    XF 1.5 How do I determine the size of an array in a template?

    I have a review with no Pros or Cons https://www.avforums.com/review/datawind-ubisurfer-review.153#sectionAnchor24933 and the template is supposed to only display the Pros and Cons if there are any. <xen:if is="{$content.pros} AND {$content.cons}"> yet the Pros and Cons are displayed resulting...
Top Bottom