[FLOW3-general] Sub folder in Controller

Martin titusmailing at googlemail.com
Mon Jul 16 17:04:24 CEST 2012


Hey Jeff,

thanks for ur reply.

I don't get it running, I get this Error instead: #1301650951: No 
controller object was found for package "abgabe", subpackage "", 
controller "administration" in route "FLOW3 :: default with action and 
format", as I did before.

My Folder structure looks like this 
<Package>/Classes/Controller/Administration/AdministrationController.php

As long as I am not familiar with routing I didn't change any.

Can I access this AdministrationController.php directly?
Or what has to be change that this setup will work, I tried to get a 
clue from TYPO3 or the Conference package but didn't get anything working.

How do I setup the <f:link.action...

Cheers

Martin

On 07/16/2012 04:38 PM, Jeff Segars wrote:
> Hey Martin,
>
> Try Administration/Controllers/AdministrationController instead. This
> will make Administration act as a subpackage and you can group View
> Helpers, Domain Models, and Repositories within that subpackage if you'd
> like.
>
> In your view, you can now use <f:link.action action="index"
> subpackage="Administration" controller="Administration"> ...
>
> Hope that helps!
> Jeff
>
>
> On 7/16/12 8:14 AM, Martin wrote:
>> Dear List,
>>
>> how can i access a subfolder in Controllers?
>>
>> I want to organize my controllers a little bit, but we don't become
>> friends.
>>
>> What do I have to do, to get for examlple
>> Controllers/Administration/AdministrationController running.
>>
>> In the View I tried: <f:link.action action="index"
>> controller="Administration[/,\]Administration"
>> >Administration</f:link.action>
>>
>> And calling it directly is also not working.
>> I also tried to put up a subroute but I am not familiar with routes
>> ether.
>>
>> Cheers Martin
>
>


More information about the FLOW3-general mailing list