Feature #3791

View helper for resource URIs

Added by Christopher Hlubek about 6 years ago. Updated almost 5 years ago.

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

Revision beffb7b1
Added by Christopher Hlubek about 6 years ago

  • [TASK] Fluid (ViewHelpers) Implemented a resource URI view helper, resolves #3791
  • [TASK] Fluid (ViewHelpers) A basic errors view helper (f:form.errors) to display form errors, resolves #3802

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

Also available in: Atom PDF