[RSS Feed/News] dynamic table column headers

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Is something like this possible in the template itself, or do i need to pre-generate the list of field names in the viewparams?

idea is that the entity would drive the template. If i add a new field, the table i use to show it will grow/shrink based on the query/columns returned itself.

Code:

Code:
               <tr>
                    <xf:foreach loop="$mydata" key="$key" value="$value">
                        <th>{$mydata[0].colname}</th>...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom