---
title: "Use your own template files"
manual: "operations"
version: "8.2"
permalink: "https://docs.typo3.org/permalink/kanow/operations:fluid-template-files@8.2"
source: "Configuration/Templates/Index.rst"
rendered: "2026-11-29T21:14:31+00:00"
---

# Use your own template files {#fluid-template-files}

If you need changes on the Fluid template files, you should copy the needed
files to your [Site Package](https://docs.typo3.org/m/typo3/tutorial-getting-started/main/en-us/FirstProject/CreateSitePackage.html#creating-a-site-package).
You need the same folder structure as described her:
[Fluid Templates](https://docs.typo3.org/m/typo3/tutorial-sitepackage/main/en-us/FluidTemplates/Index.html#fluid-templates).
Please copy the needed folders and files in your
[Site Package](https://docs.typo3.org/m/typo3/tutorial-getting-started/main/en-us/FirstProject/CreateSitePackage.html#creating-a-site-package) `Resources/Private` folder.

You find those structure also in the extension:

-   Resources/Private/Layouts
-   Resources/Private/Templates
-   Resources/Private/Partials

You don't need to copy all files. Just copy the files and folders you need.

> [!NOTE]
> If you copy files from subfolders, you must keep the existing subfolder
> structure also in your Site Packages!
> That means `Templates/Operation/List.html` must be copied to a subfolder
> `Operation` in your `Templates` folder.

After that you can change the paths in constants to your own
[Site Package](https://docs.typo3.org/m/typo3/tutorial-getting-started/main/en-us/FirstProject/CreateSitePackage.html#creating-a-site-package) or in
[Constants Editor](https://docs.typo3.org/m/typo3/reference-typoscript/main/en-us/UsingSetting/Entering.html#constant-editor).
This way you can edit some files but not all. It's easier to check differences
if you upgrade `operations`.
Probably you have to change less files after updating.

## Change the templates paths in TypoScript constants {#change-the-templates-paths-in-typoscript-constants}

Here an example for TypoScript constants to change the paths to Fluid templates.

```typoscript
plugin.tx_operations {
        view {
                templateRootPath = EXT:your_site_package/Resources/Private/Extensions/operations/Templates/
                partialRootPath = EXT:your_site_package/Resources/Private/Extensions/operations/Partials/
                layoutRootPath = EXT:your_site_package/Resources/Private/Extensions/operations/Layouts/
        }
}
```

> [!TIP]
> Some setting should be placed in Site Package and some are better placed
> in database.
> Example: `storagePid` should better set in database, but
> `itemsPerPage` is more an default setting which can be used in
> different environments in generally. It doesn't depends on the data in
> database (e.g. different pages/uids)
