Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [beta@beta xxxx]$ cat views-view-fields--HomeSlideshows.tpl.php
- <xobject>
- <?php foreach ($fields as $id => $field): ?>
- <?php if (!empty($field->separator)): ?>
- <?php print $field->separator; ?>
- <?php endif; ?>
- <?php if ($field->class == 'field-slideimage-fid') : ?>
- <ximg><?php print $field->content ?></ximg>
- <? elseif ($field->class == 'field-link-to-nid') : ?>
- <xlink><?php print $field->content ?></xlink>
- <? elseif ($field->class == 'title') : ?>
- <xalttitle><?php print $field->content ?></xalttitle>
- <? elseif ($field->class == 'field-nav-title-value') : ?>
- <xtitle><?php print $field->content ?></xtitle>
- <? else : ?>
- <xcontent><?php print $field->class ?>: <?php print $field->content ?></xcontent>
- <? endif; ?>
- <?php endforeach; ?>
- </xobject>
- [beta@beta xxxl]$ php -l views-view-fields--HomeSlideshows.tpl.php
- PHP Warning: PHP Startup: memcache: Unable to initialize module
- Module compiled with module API=20050922, debug=0, thread-safety=0
- PHP compiled with module API=20060613, debug=0, thread-safety=0
- These options need to match
- in Unknown on line 0
- PHP Parse error: syntax error, unexpected T_ENDFOREACH in views-view-fields--HomeSlideshows.tpl.php on line 19
- Errors parsing views-view-fields--HomeSlideshows.tpl.php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement