Hi,

I have this weird issue for few days now. My new backend module can not locate the template file in Typo3 7.x but it works good in Typo3 8.x though. Here are my TS:

module.tx_t3inamp_amp {
  view {
# cat=module.tx_t3inamp_amp/file; type=string; label=Path to template root (BE)
    templateRootPath = EXT:t3in_amp/Resources/Private/Templates/Backend/
# cat=module.tx_t3inamp_amp/file; type=string; label=Path to template partials (BE)
    partialRootPath = EXT:t3in_amp/Resources/Private/Partials/Backend/
# cat=module.tx_t3inamp_amp/file; type=string; label=Path to template layouts (BE)
    layoutRootPath = EXT:t3in_amp/Resources/Private/Layouts/Backend/
  }
  persistence {
    # cat=module.tx_t3inamp_amp//a; type=string; label=Default storage PID
    storagePid =
  }
}

--------
module.tx_t3inamp_web_t3inampamp {
  persistence {
    storagePid = {$module.tx_t3inamp_amp.persistence.storagePid}
  }
  view {
    templateRootPaths {
        0 = EXT:t3in_amp/Resources/Private/Templates/Backend/
        1 = {$module.tx_t3inamp_amp.view.templateRootPath}
    }
    partialRootPaths {
        0 = EXT:t3in_amp/Resources/Private/Partials/Backend/
        1 = {$module.tx_t3inamp_amp.view.partialRootPath}
    }
    layoutRootPaths {
        0 = EXT:t3in_amp/Resources/Private/Layouts/Backend/
        1 = {$module.tx_t3inamp_amp.view.layoutRootPath}
    }
  }
}

----

The template files are under
/typo3conf/ext/t3in_amp/Resources/Private/Templates/Backend/

I have tried chnaging the locations to
/typo3conf/ext/t3in_amp/Resources/Private/Backend/Templates/

But these also did not work out.

I keep getting this error:
Sorry, the requested view was not found.

The technical reason is: No template was found. View could not be resolved for action "start" in class "T3IN\T3inAmp\Controller\AMPController".

I do have the file at
/typo3conf/ext/t3in_amp/Resources/Private/Templates/Backend/Start.html

regards
Vikram
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to