[TYPO3-mvc] Perfoming action based on URL variables
Søren Malling
soren.malling at gmail.com
Wed Mar 3 12:37:23 CET 2010
Hi Nikolas,
I already use a different typenum (as shown in the uribuilder code)
here is my TS
json = PAGE
json {
config {
disableAllHeaderCode = 1
xhtml_cleaning = 0
admPanel = 0
additionalHeaders = Content-type: application/x-json
}
typeNum = 1267537598
10 = COA_INT
10 {
10 = USER_INT
10 {
userFunc = tx_extbase_dispatcher->dispatch
pluginName = JsonData
extensionName = groupmembers
controller = JsonData
action = index
switchableControllerActions {
1.controller = Member
1.actions = index, new, edit, create, update, delete
2.controller = District
2.actions = index, new, edit, create, update, delete
}
persistence {
storagePid = 34
}
settings {
}
view {
}
}
}
}
I hope it clears out my purpose
Regards,
Søren
On Wed, Mar 3, 2010 at 12:09 PM, Nikolas Hagelstein <lists at shr-now.de> wrote:
> Hi,
>
> wouldn't it be better to use a certain pageTypNum instead of a page id?
>
> e.g.
> tx_whatever_ajax= PAGE
> tx_whatever_ajax {
> typeNum = 4711
> config {
> disableAllHeaderCode = 1
> xhtml_cleaning = 0
> admPanel = 0
> }
> 10 = COA_INT
> 10.10 < tt_content.list.20.whatever_ajax
> }
>
> Cheers,
> Nikolas
>
>
>
>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>
--
Officially Certified TYPO3 Integrator
More information about the TYPO3-project-typo3v4mvc
mailing list