User login

Field templates are run before row templates, not vice versa

Field template are run before the row template.


is processed before this:

The individual fields are run and then handed off to the row.

That is, the row template isn't run and given the chance to call and pass info into the field templates.

Too much of a pain to create sub-nested lists for these subheadings, especially when it is divided into unsemantic columns anyhow, meaning that we have to close and open all the nested list stuff at the end and beginning of each column, with a special-case for when an effect category happens to be at the top of a column...

Thus, taken out of views-view-field--products--page-4--tid.tpl.php

  <?php if (genarts_static('groupincrement', NULL, 1) : ?>
  <?php endif; ?>

Searched words: 
count the rows in a grouping


Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Syntax highlight code surrounded by the {syntaxhighlighter SPEC}...{/syntaxhighlighter} tags, where SPEC is a Syntaxhighlighter options string or "class="OPTIONS" title="the title".
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.