Helpers Questions
Ad
Why aren't rails helpers more object-oriented?
For example, why are the date helpers written like this: time_ago_in_words(@from_time) instead of like this:
How do I test helpers in Rails?
I'm trying to build some unit tests for testing my rails helpers, but i can never remember how to access them. annoying. suggestions?
In rails, whether to use form helpers or not to?
In rails, is it recommended to use form helpers? internally, everything boils down to plain html then why not write the html directly? performance
Should Class Helpers be used in developing new code?
Delphi 8 introduced class helpers for the purposes of mapping the vcl/rtl to the .net object hierarchy. they allow injecting methods into an
Laravel helpers - removing the facade
I have a file called \app\helpers, which contains a couple of functions one it to check if the user is an admin
Undeclared arguments passed to ViewHelper maxRange
After updating typo3, i get a typo3fluid\fluid\core\viewhelper\exception "undeclared arguments passed to viewhelper ... maxrange valid
TYPO3 10 Viewhelper class not found, Fluid error
There is some small detail i seem to be missing but i just can't find out what it is... i get this error:
usign foreign model in own viewhelper as argument
From fluid, i call my viewhelper-class <ext:thehelper adr="{adr}" /> {adr} is an array of tt_address →
How do I solve a strange problem with VHS ViewHelper v:replace?
I have an array ('db-titles') whose items are strings composed in the form 'texta*textb'. i want to create the following html structure from these
TYPO3 VHS only get image Tag
I want to get only the img tag not the whole cobject. this is what i´ve done:
Ad
TYPO3: How to use flux:field.inline.fal image as background
In a template in my extension i use the field.inline.fal viewhelper:
TYPO3 - Howto disable cache for specific content element on a page?
Is it possible to disable the caching for one specific element on pages? i tried already the following typoscript, as described in
"Undeclared arguments passed to ViewHelper" Exception
After updating typo3, i get a typo3fluid\fluid\core\viewhelper\exception "undeclared arguments passed to viewhelper ... valid
How to rework TYPO3 8 AbstractViewHelper for TYPO3 9.5
We have a class called amazmenu.php which extends from the class abstractviewhelper. it does some stuff on 600 lines of code but now the baseclass
CropViewHelper show HTML tags
I'm using format.crop viewhelper in the template to crop the text. the problem that the output display html tags : viewhelper
How to use Fluid cObject data in Typoscript
I have following fluid script to insert a typoscript lib: <f:cobject typoscriptobjectpath="lib.artteaser" data="{imgclass:
Prestashop User group 'group' form helper in custom module
I wanto to use customer group componnet (i find it in adminpattern controller) in my module in from helper method. i can save checked checkboxes
Create TYPO3 VHS Bootstrap-Navbar
I have a problem with typo3 vhs. i want to declare a navbar within my own extension which i created with builder-extension. it works perfectly,
How to compare a string with a variable in TYPO3 Fluid
I would like to do a simple comparisons, such as the equivalent of: if ($somevar === 'somestring') now, i have found
TYPO3: Render a plugin via Typoscript or ViewHelper and change settings
I would like to load a plugin dynamically according to some data. first i tried to do it with typoscript, but after some research i figured out,
What is the difference between render() and renderStatic() and what should be used when writing a ViewHelper in TYPO3
There are several examples for writing a custom viewhelper and different ways to do things. i have seen examples with render() and with
Ad
How to use the ifAuthenticated view helper correctly in regards to TYPO3 cache?
When using the <f:security.ifauthenticated> view helper to render content only if the user is logged in, that content sometimes
In a TYPO3 template, v:variable.set works... but f:variable doesn't
The problem i have customized something in a file overriding this news extension file
Laravel add new item to foreach loop from outside
I am curious. is laravel giving us an easier way to add foreign items to foreach array? for example i have: $video_url =
Expansion files, importing downloader library, Studio not liking it
I have been trying to work through android developers' bogus description on how to implement the expansion files madness into my perfectly working
Ad
Blog Categories
Ad