Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to customize the template of items like Accordion? #77

Open
baden32 opened this issue Aug 19, 2024 · 0 comments
Open

How to customize the template of items like Accordion? #77

baden32 opened this issue Aug 19, 2024 · 0 comments

Comments

@baden32
Copy link

baden32 commented Aug 19, 2024

Under Resources/Private/Templates/Standard/Accordion.html, I can find the html definition of an item like accordions.
Now I would like to customize this content for my own website.

Usually, in order to preserve my changes if I upadate the extension, I copy this Accordion.html into my own website extension template and make my changes into this copy.

For that, I have to give the alternate filepath to find my own file

In exemple for news:
plugin.tx_news {
view {
# cat=plugin.tx_news/file; type=string; label=Path to template root (FE)
templateRootPath = EXT:site_builder/Resources/Private/Templates/EXT_news/
# cat=plugin.tx_news/file; type=string; label=Path to template partials (FE)
partialRootPath = EXT:site_builder/Resources/Private/Partials/EXT_news/
# cat=plugin.tx_news/file; type=string; label=Path to template layouts (FE)
layoutRootPath = EXT:site_builder/Resources/Private/Layouts/EXT_news/
}

}

I cannot find/see how to define my own path for bootstrap_grids. Could someone let me know how to do that?
Thanks in advance for your help.
Bads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant