[TYPO3-extbase-kickstarter] Problem with Backend module

Robert Schneider r.schneider at artworx.at
Tue Jun 26 11:13:02 CEST 2012


I've encountered the problem again. The constants.txt is configured 
correctly. However the file is not used, I guess.

DI(FH) Robert Schneider
Web Development



artworx® GmbH
Dr.-Schauer-Straße 26
A-4600 Wels
Tel: +43(0)7242 908099 - 19
Fax: +43(0)7242 908099 - 99
Mail: _r.schneider at artworx.at <mailto:r.schneider at artworx.at>_
Web: www.artworx.at <http://www.artworx.at/>

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
Informationen.
Wenn sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich 
erhalten haben, informieren Sie bitte sofort den Absender und vernichten 
Sie diese E-Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe der Inhalte 
dieser E-Mail ist nicht gestattet.
.......................................................................................................................................................................................................
This e-mail contains confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail in 
error) please notify the sender immediately and destroy this e-mail.
Any unauthorised copying, disclosure or distribution of the material in 
this e-mail is strictly forbidden.

Am 04.06.2012 09:32, schrieb Thomas F.:
> Hi,
>
> the Folder 'Backend' is just fine (when starting with backend module 
> programming, i ran into the same problem, so i found out what to do). 
> What if you're planning on adding some Frontend Plugin which needs the 
> path? You need to configure the paths for 
> module.tx_yourextension.[...] as follows (don't forget to include the 
> static template, but i assume you already did that, as the change of 
> the path had some effect):
>
> The files are located in Configuration/TypoScript:
>
> setup.txt:
>
> # Module configuration
> module.tx_yourextension {
>
>     view {
>         templateRootPath = 
> {$module.tx_yourextension.view.templateRootPath}
>         partialRootPath = {$module.tx_yourextension.view.partialRootPath}
>         layoutRootPath = {$module.tx_yourextension.view.layoutRootPath}
>     }
> }
>
>
> constants.txt:
>
> module.tx_yourextension {
>     view {
>         # cat=module.tx_yourextension/file; type=string; label=Path to 
> template root (BE)
>         templateRootPath = 
> EXT:wr_yourextension/Resources/Private/Backend/Templates/
>         # cat=module.tx_yourextension/file; type=string; label=Path to 
> template partials (BE)
>         partialRootPath = 
> EXT:wr_yourextension/Resources/Private/Backend/Partials/
>         # cat=module.tx_yourextension/file; type=string; label=Path to 
> template layouts (BE)
>         layoutRootPath = 
> EXT:wr_yourextension/Resources/Private/Backend/Layouts/
>     }
> }
>
> Am 04.06.2012 08:00, schrieb Robert Schneider:
>> Hay anyone noticed my report?
>>
>> Regards,
>> Robert
>>
>>
>> Am 30.05.2012 17:13, schrieb Robert Schneider:
>>> Hi,
>>>
>>> just an potential issue report from a t3-newbie:
>>>
>>> I have tried to create a backend module with the extension builder 
>>> (2.2.0). I have created two model objects. All seemed to work fine 
>>> so far. However, after installing the extenstion and clicking on the 
>>> menu item I've got an "No template was found. View could not be 
>>> resolved for action 'index'." message. The reason seems to be that 
>>> the template files were at the wrong location. To solve the problem 
>>> I have moved the folders Templates, Partials and Layouts from 
>>> <extname>/Resources/Private/Backend/ to 
>>> <extname>/Resources/Private/. The folder Backend was the problem. 
>>> I'm not sure if I get other problems with this action...
>>>
>>> Was that okay? Or should I configure anything? But if you reply keep 
>>> in mind that I'm a newbie and don't understand most of the things 
>>> about t3.
>>>
>>> Regards,
>>> Robert
>>>
>> _______________________________________________
>> TYPO3-project-extbase-kickstarter mailing list
>> TYPO3-project-extbase-kickstarter at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-extbase-kickstarter 
>>
>
> _______________________________________________
> TYPO3-project-extbase-kickstarter mailing list
> TYPO3-project-extbase-kickstarter at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-extbase-kickstarter 
>




More information about the TYPO3-project-extbase-kickstarter mailing list