There is no HTML file per say in the portal, it uses TWIG files which are located in /datamodels/2.x/itop-portal-base/portal/templates.
If you want to make any changes to them, you should not modify them directly as you will loose your changes on the next upgrade. Instead you should make your own template and enable it through an XML extension :)
If you tell us what you want to change, we can point you to the right places.
Hope it helps,
Guillaume
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you Guillaume, I have to make some modifications that are way more simple by changing the HTML code, I have a lot of issues with my XML extension and I will not upgrade iTop version so I shouldn't be a big problem.
Here are some examples of what I want to do :
put a picture on the homepage
put other buttons on the requests.
Change the name of some fields of request...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello !
Does somebody has the location of the html files used for the portal ?
Hello,
There is no HTML file per say in the portal, it uses TWIG files which are located in /datamodels/2.x/itop-portal-base/portal/templates.
If you want to make any changes to them, you should not modify them directly as you will loose your changes on the next upgrade. Instead you should make your own template and enable it through an XML extension :)
If you tell us what you want to change, we can point you to the right places.
Hope it helps,
Guillaume
Thank you Guillaume, I have to make some modifications that are way more simple by changing the HTML code, I have a lot of issues with my XML extension and I will not upgrade iTop version so I shouldn't be a big problem.
Here are some examples of what I want to do :
put a picture on the homepage
put other buttons on the requests.
Change the name of some fields of request...
The home page template is under datamodels/2.x/itop-portal-base/portal/templates/home/layout.html.twig
For the other 2, you will have to do it through an extension. There is no way by just tweaking the TWIGs.
Feel free to tell us what is blocking you in the extension, we could help :)
Should I open a new topic if I need help or can we stay on this one ?
As you wish, it's your topic. :)
We can always rename this one if necessary.
Guillaume