Questions tagged [viewhelper]
71 questions
6
votes
3 answers
Zend Framework: How to unset the one stylesheet from the HeadLink helper
I have in Controller init() a list of common…

Zippp
- 448
- 6
- 17
6
votes
1 answer
What is an alternative for using com.nineoldandroids library
I want to replace the dependency of com.nineoldandroids library from my project and replace it with an android native library.
I am trying to make a project based on this http://www.tutecentral.com/android-swipe-listview/ .
However, I don't need…

Roola
- 137
- 1
- 7
5
votes
1 answer
Fluid condition with ContainsViewHelper
i use this condition in my fluid template:
....do something

chicky
- 103
- 1
- 9
5
votes
2 answers
How to use a custom form view helper in Zend Framework 2?
I wrote a form view helper, that extends the Zend\Form\View\Helper\FormMultiCheckbox and overwrites its renderOptions(...) method:

automatix
- 14,018
- 26
- 105
- 230
4
votes
2 answers
Typo3 Fluid: elseif inline notation
Is there an inline notation for the following example?
Value is 1
Value is 2
Thanks for your help

Renato Morell
- 53
- 1
- 8
4
votes
1 answer
ViewHelper newable/injectable dilemma
I'm trying to design an application following Misko Heverys insights. It's an interesting experiment and a challenge. Currently I'm struggling with my ViewHelper implementation.
The ViewHelper decouples the model from the view. In my implementation…

koen
- 13,349
- 10
- 46
- 51
3
votes
2 answers
Fluid Typo3 - How to get variables definded via flux from different page uids
I guess my problem is easily solved, but I'm thinking for days about it, googling didn't help me out. Maybe I just don't understand the concept :-).
In my provider extension I define a simple main page with one configuration option. Depending on…

DerPeer
- 51
- 7
3
votes
4 answers
Extending Zend\View\Helper\Url in Zend Framework 2
I wrote a simple url view helper, that extends Zend\View\Helper\Url and attached it to the ViewHelperManager:
MyNamespace\View\Helper\Url
namespace MyNamespace\View\Helper;
use Zend\View\Helper\Url as ZendUrl;
class Url extends ZendUrl {
…

automatix
- 14,018
- 26
- 105
- 230
3
votes
5 answers
Render custom Form Elements using the FormElement ViewHelper in Zend Framework 2
I've created a new form element class for a special, complex purpose (text input field with an add-on button to open a "search wizard" popup).
To render this element properly, I've also created a form view helper. Everything works and is fine so…

Daniel M
- 3,369
- 20
- 30
2
votes
1 answer
Typo3 - own viewhelper escapes HTML in T3 V8
I have a viewhelper which worked well in Typo3 V7.x, but in V8.x its output is not plain html any more, but it's html-encoded.
Simplified viewhelper class:
namespace MyName\Teaserbox\ViewHelpers;
class TeaserboxViewHelper extends…

ESP32
- 8,089
- 2
- 40
- 61
2
votes
1 answer
Typo3 Translation in Inline Viewhelper
I want to set a translation for my Typo3 template.
But I want a translation with {f:translate ...} of a string within a inline viewhelper like this.
{f:if(condition:"{change.newValue}", then : '{change.newValue}', else:
"{f:translate…

Sebastian Rieger
- 685
- 5
- 20
2
votes
2 answers
How to set the FrontendUserGroup in AllowViewHelper of VHS in a partial?
I'd like to set the frontendUserGroup parameter in the AllowViewHelper but I don't know how to do that.
Sometimes (non-deterministic even if I flush the caches) there pop up this error:
The argument "frontendUserGroup" was registered with type
…

Vertex
- 2,682
- 3
- 29
- 43
2
votes
1 answer
Complex for/if conditions for rendering newsItems in Fluid Template
I am working on a special template for the news extension tx_news in Typo3.
I am completely new to Typo3 and especially Fluid.
What I want is an output of exactly 4 news items, but each of these items must have an image.
What I need is programming…

deadfishli
- 729
- 5
- 17
2
votes
2 answers
Zend Framework 2 form element error-class + custom ViewHelper to render form
This is my third question this week (and overall) - hope I don't get banned here :D
Anyway, searched around and couldn't find an exact explanation to solve my issue(s).
A. I've searched around and found a custom ViewHelper to render my forms. What…

MrCroft
- 3,049
- 2
- 34
- 50
2
votes
2 answers
Typo3 Fluid: What is the correct way to render flux:flexform.field.wizard.link?
I'm working with the Typo3 6.1 and Fluid templates, using the fedext.net set of tools.
I have the content element back-end template defined like this:
{namespace flux=Tx_Flux_ViewHelpers}
{namespace v=Tx_Vhs_ViewHelpers}

Anton Boritskiy
- 1,539
- 3
- 21
- 37