Ok let's start with a simpler question.
In template/context.php the variables
In ucp_header.htmlAnd there is also this:That all implies that But that causes a white page (no body tag content). Does anyone know why?
Also, does anyone know if or how
ETA: Where is S_BLOCK_NAME recorded?
In template/context.php the variables
'S_FIRST_ROW', 'S_LAST_ROW', 'S_BLOCK_NAME', 'S_NUM_ROWS', 'S_ROW_COUNT', 'S_ROW_NUM'
are defined.In ucp_header.html
S_FIRST_ROW
and S_LAST_ROW
are used like this.Code:
<!-- IF S_PRIVMSGS and not t_block2.S_LAST_ROW --><!-- IF (S_PRIVMSGS and t_block2.S_LAST_ROW) or not S_PRIVMSGS -->
Code:
<!-- IF folder.UNREAD_MESSAGES > 0 -->
S_ROW_COUNT
and S_ROW_NUM
should be able to be used like this (test case only):Code:
<!-- IF (t_block1.S_ROW_COUNT = 4) --> style="background:red;"<!-- ENDIF -->
Also, does anyone know if or how
S_ROW_COUNT
and/or S_ROW_NUM
being equal to a defined integer could be used in a template?ETA: Where is S_BLOCK_NAME recorded?
Statistics: Posted by Gumboots — Tue Sep 17, 2024 5:38 am