Feature #3791
View helper for resource URIs
Status: | Resolved | Start date: | 2009-06-28 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Christopher Hlubek | % Done: | 100% |
|
Category: | ViewHelpers | |||
Target version: | 1.0.0 alpha 2 | |||
Has patch: |
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
#1 Updated by Christopher Hlubek about 6 years ago
- Tracker changed from Bug to Feature
#2 Updated by Christopher Hlubek about 6 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r2661.
#3 Updated by Robert Lemke about 6 years ago
- Target version set to 1.0.0 alpha 2