Questions tagged [viewhelper]
71 questions
1
vote
2 answers
Typo3 Fluid Image ViewHelper and uploads directory
I am trying to use page content images in typo3 pages. I have uploaded 2 images and in DB only the filenames are stored.
OK - I found the images in uploads direcory!
But now how I have to display the image?!
I can hrdcode the upload dir url and add…

Lachezar Todorov
- 903
- 9
- 21
1
vote
1 answer
Modifying Zend_ViewHelper_Pagination_Controller Partial-Path
I've got a Zend-Framework application. I'm using the module-structure which Zend_Controller_Frontprovides. Here is a small excerpt from my directory-structure (only the important parts for this question):
root-directory
- modules
- blog
-…

Fidi
- 5,754
- 1
- 18
- 25
1
vote
2 answers
how to sometimes switch baseUrl when calling url view helper
i have a question about the best practice on urls in a zend application.
My application will run in two different contexts (facebook and standalone).
Normally my baseUrl is empty. But when run in Facebook (as canvas app) I set my baseUrl to be…

teebee
- 43
- 1
- 4
1
vote
1 answer
migration from TYPO3 6 to 7 view helper error
I have migrated a TYPO3 6.2.31 page to TYPO3 7.6.23
Most stuff works fine.
At the moment I have the Problem with a view helper.
I got this error:
Could not analyse class: "FluidTYPO3\Vhs\ViewHelpers\SwitchViewHelper" maybe not loaded or no…

Felix
- 5,452
- 12
- 68
- 163
1
vote
0 answers
How to sort ViewHelper array?
I have the following template:

Marlon
- 197
- 2
- 16
1
vote
1 answer
How can I get the TYPO3 "appearance" media images by using "ViewHelper"?
thanks for reading and answering...
I have some TYPO3 gridelements in my TYPO3 pagecontent.
Each gridelement has a tab "appearance", where I define an image file.
The database relation from tt_content to the media image are in sys_file_reference.
My…

Lukaschel
- 13
- 3
1
vote
0 answers
Declaration of __invoke in viewhelper should be compatible with parents class
Please help me, I am newbie with zend framework and OPP.
I am building a viewhelper class, which contain a input hidden (called: ITinputhidden) extends from FormHidden (use Zend\Form\View\Helper\FormHidden and use Zend\Form\Element). I also declared…

ngoCham
- 17
- 3
1
vote
3 answers
TYPO3 Language Switch with FLUID
I've made a language menu (switch) for TYPO3 7.6 with Fluid only, no TypoScript. Just a Dropdown, see screenshot below. I also used the Ext:vhs, here's my code example:
{namespace v=FluidTYPO3\Vhs\ViewHelpers}
- 1,654
- 1
- 25
- 52

user2310852
1
vote
2 answers
How to add and render multiple images/files in typo3 Fluid content element(flux)?
I am using flux and fluid content element for making content editable by user. i added field for image which allows multiple images to upload.
But now i am not able to show these images.
my value of field image is like :
image =>…

Ashish Patel
- 1,011
- 13
- 27
1
vote
1 answer
typo3 viewhelper is only called once
I have made an own viewhelper for getting external images (thanks to robert pflamm see Typo3 fluid image from external resource). if i use only ImageViewHelper everything is working finde.
But if i use…

matin
- 303
- 2
- 13
1
vote
2 answers
TYPO3 Using data from ViewHelper in Fluid
How can I use data coming from a custom ViewHelper in my Fluid Template.
I have made a custom ViewHelper that is returning data like this:
{cars: {
0: {car:'VW Golf V TDi 140 GT Sport DSG Van',price:'144900'},
1: {car:'Citroën C5 HDi…

Jeppe Donslund
- 469
- 9
- 25
1
vote
1 answer
String manipulation to HTML list
I have this string:
var audit = "Id:1;Name:John;Address:|||Id:123;Street:123 Main St.;City:LA;State:|||Id:234;Name:California;Code:CA|||;ZipCode:12345|||;IsActive:true";
How do I turn it into:
- Id: 1
- Name: John
- …

Serj Sagan
- 28,927
- 17
- 154
- 183
1
vote
2 answers
TYPO3 returns "Array" to Fluid as String
I try to pass an array within my Viewhelper to the Fluidtemplate.
It always shows the string "Array". If I try to use it as parameter in the f:for each viewhelper, I get an exception because it is a string and not an array.
I used Typo3 6.2 before,…

ellei
- 73
- 1
- 7
1
vote
2 answers
TYPO3 ViewHelper is not laded
I am trying to write my own ViewHelper for TYPO3 Fluid
I have the file here:typo3conf/ext/ff_invest/Classes/ViewHelpers/LoremIpsumViewHelper.php
In this file I have this code:

Jeppe Donslund
- 469
- 9
- 25
1
vote
1 answer
TYPO3 viewhelper date in condition
I want to compare two dates in a condition with fluid in an extension in Typo3 6.2. Here is, what I have tried for now:

akunz
- 21
- 5