Feature #3791

View helper for resource URIs

Added by Christopher Hlubek over 11 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Should have
Category:
ViewHelpers
Target version:
Start date:
2009-06-28
Due date:
% Done:

100%

Estimated time:
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" />
#1

Updated by Christopher Hlubek over 11 years ago

  • Tracker changed from Bug to Feature
#2

Updated by Christopher Hlubek over 11 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r2661.

#3

Updated by Robert Lemke over 11 years ago

  • Target version set to 1.0.0 alpha 2

Also available in: Atom PDF