Solution to display webcams in a teaser list
kriskd - August 2, 2008 - 12:12
| Project: | Webcams |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
Moonray suggested starting a new topic if anyone had any suggestions and I figured out a simple way to show the webcams in a teaser list such as on the front page. Previously I had that view set up to show full nodes when I really wanted just the teasers so the user doesn't have to view the node to find out if there are any comments.
The fix was quite simple. In the modules file I simply commented out if (!$teaser) { on line 379 and the matching closing brace on line 405. Now the webcam display regardless if the view is a teaser or page.
