Feature #3791
View helper for resource URIs
| Status: | Resolved | Start date: | 2009-06-28 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Christopher Hlubek | % Done: | 100% |
|
| Category: | ViewHelpers | |||
| Target version: | 1.0.0 alpha 2 | |||
| Has patch: | ||||
| Votes: | 0 |
Description
The public resources in a project should be easier accessible with the help of a new view helper. The view helper should simply take a filename and an optional package key. The current package key should be taken as a default.
So including an image from the public resources could look like:
<img src="{f:uri.resource 'images/flow3-logo.gif'}" alt="FLOW3 logo" />
Associated revisions
History
Updated by Christopher Hlubek almost 4 years ago
- Tracker changed from Bug to Feature
Updated by Christopher Hlubek almost 4 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r2661.
Updated by Robert Lemke almost 4 years ago
- Target version set to 1.0.0 alpha 2