[TYPO3-english] ViewHelper from another extension / extending ViewHelper (Typo3 6.2.4)

Anupam Chatterjee anupam at vrisini.com
Thu Aug 7 11:40:51 CEST 2014


Error count is insignificant! TYPO3 6.2.x onwards, you can only use 
namespaced reference.

Please try looking into the TYPO3 log. What is your development environment?

On 8/7/2014 3:04 PM, Dipankar Das wrote:
> On 08/07/2014 02:53 PM, Anupam Chatterjee wrote:
>> Yes! If you are still getting an error, maybe a look into the logs might
>> point towards what is missing.
>
>
> Doing this way gives more error:
> Namespace could not be resolved. This exception should never be thrown!
>
> nothing in apache error log !!
>
>
>
>
>>
>> On 8/7/2014 2:41 PM, Dipankar Das wrote:
>>> On 08/07/2014 12:36 PM, Dipankar Das wrote:
>>>> On 08/07/2014 12:04 PM, Anupam Chatterjee wrote:
>>>>> Hi Dipankar,
>>>>>
>>>>> Did you try using namespaced classname to your viewhelpers?
>>>>> ----------------------------
>>>>> {namespace sbp2=Tx_SbPortfolio2_ViewHelpers}}
>>>>> {namespace fivee=Tx_FiveePortfoliofilter_ViewHelpers}
>>>>> ----------------------------
>>>>>
>>>
>>> Did you mean some thing like ?
>>>
>>> {namespace fivee=FiveETechnologies/FiveePortfoliofilter/ViewHelpers}
>>>
>>>
>>>
>>>>
>>>> Can you please tell more about this.
>>>> I do not get what you want to say.
>>>>
>>>> - Dipankar
>>>>
>>>> >> Regards,
>>>>> Anupam
>>>>>
>>>>> On 8/7/2014 11:23 AM, Dipankar Das wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I am new to ViewHelp thing and I am stuck for few days now with this.
>>>>>> Please help.
>>>>>>
>>>>>> I want to add a new viewhelper to an existing extension
>>>>>> (SbPortfolio2).
>>>>>> So I created a new extension and added a new viewhelper to the new
>>>>>> extension.
>>>>>>
>>>>>> Then called this new viewhelper in the template of the existing
>>>>>> extension (SbPortfolio2). I have added the namespace to my new
>>>>>> extension
>>>>>> as well.
>>>>>>
>>>>>> Modified SbPortfolio2 extension template file:
>>>>>> ---------------
>>>>>>
>>>>>> {namespace sbp2=Tx_SbPortfolio2_ViewHelpers}}
>>>>>> {namespace fivee=Tx_FiveePortfoliofilter_ViewHelpers}
>>>>>> ..
>>>>>> ...
>>>>>> <p class="{fivee:category(categories: item.categories)}">test</p>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> I get Error
>>>>>> -------------
>>>>>> Could not analyse
>>>>>> class:Tx_FiveePortfoliofilter_ViewHelpers_CategoryViewHelper maybe
>>>>>> not
>>>>>> loaded or no autoloader?
>>>>>>
>>>>>> I am using Typo3 6.2.4
>>>>>>
>>>>>> Can anyone point me where to look for the problem.
>>>>>> Is there a way to debug/trace the problem.
>>>>>>
>>>>>> thanks
>>>>>> Dipankar Das
>>>>>> --
>>>>>> FiveE Technologies
>>>>>> http://fiveetech.com
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
>



More information about the TYPO3-english mailing list