How To Install php-pear-HTML-Template-IT on Fedora 36
Introduction
In this tutorial we learn how to install php-pear-HTML-Template-IT
on Fedora 36.
What is php-pear-HTML-Template-IT
HTML_Template_IT The Isotemplate API is somewhat tricky for a beginner although it is the best one you can build. Source and target can be block names or even handler names. This API gives you a maximum of flexibility but you always have to know what you do which is quite unusual for php developer like me. If all blocks are within one file, the script knows how they are nested and in which way you have to parse them. IT knows that inner1 is a child of block2, there’s no need to tell him about this. Features * Nested blocks * Include external file * Custom tags format HTML_Template_ITX With this class you get the full power of the php lib template class. You may have one file with blocks in it but you have as well one main file and multiple files one for each block. This is quite useful when you have user configurable websites. Using blocks not in the main template allows you to modify some parts of your layout easily.
We can use yum
or dnf
to install php-pear-HTML-Template-IT
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-pear-HTML-Template-IT.
Install php-pear-HTML-Template-IT on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install php-pear-HTML-Template-IT
using dnf
by running the following command:
sudo dnf -y install php-pear-HTML-Template-IT
Install php-pear-HTML-Template-IT on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install php-pear-HTML-Template-IT
using yum
by running the following command:
sudo yum -y install php-pear-HTML-Template-IT
How To Uninstall php-pear-HTML-Template-IT on Fedora 36
To uninstall only the php-pear-HTML-Template-IT
package we can use the following command:
sudo dnf remove php-pear-HTML-Template-IT
php-pear-HTML-Template-IT Package Contents on Fedora 36
/usr/share/doc/pear/HTML_Template_IT
/usr/share/doc/pear/HTML_Template_IT/LICENSE
/usr/share/doc/pear/HTML_Template_IT/examples
/usr/share/doc/pear/HTML_Template_IT/examples/sample_it.php
/usr/share/doc/pear/HTML_Template_IT/examples/sample_itx_addblockfile.php
/usr/share/doc/pear/HTML_Template_IT/examples/templates
/usr/share/doc/pear/HTML_Template_IT/examples/templates/addblockfile_list.tpl.htm
/usr/share/doc/pear/HTML_Template_IT/examples/templates/addblockfile_main.tpl.htm
/usr/share/doc/pear/HTML_Template_IT/examples/templates/main.tpl.htm
/usr/share/pear/HTML
/usr/share/pear/HTML/Template
/usr/share/pear/HTML/Template/IT.php
/usr/share/pear/HTML/Template/ITX.php
/usr/share/pear/HTML/Template/IT_Error.php
/usr/share/tests/pear/HTML_Template_IT
/usr/share/tests/pear/HTML_Template_IT/tests
/usr/share/tests/pear/HTML_Template_IT/tests/AllTests.php
/usr/share/tests/pear/HTML_Template_IT/tests/ITTest.php
/usr/share/tests/pear/HTML_Template_IT/tests/ITXTest.php
/usr/share/tests/pear/HTML_Template_IT/tests/templates
/usr/share/tests/pear/HTML_Template_IT/tests/templates/__include.html
/usr/share/tests/pear/HTML_Template_IT/tests/templates/addblock.html
/usr/share/tests/pear/HTML_Template_IT/tests/templates/blockiteration.html
/usr/share/tests/pear/HTML_Template_IT/tests/templates/blocks.html
/usr/share/tests/pear/HTML_Template_IT/tests/templates/bug_9853_01.tpl
/usr/share/tests/pear/HTML_Template_IT/tests/templates/bug_9853_02.tpl
/usr/share/tests/pear/HTML_Template_IT/tests/templates/globals.html
/usr/share/tests/pear/HTML_Template_IT/tests/templates/include.html
/usr/share/tests/pear/HTML_Template_IT/tests/templates/loadtemplatefile.html
/usr/share/tests/pear/HTML_Template_IT/tests/templates/placeholderreplacementscope.html
/usr/share/tests/pear/HTML_Template_IT/tests/templates/replaceblock.html
/var/lib/pear/pkgxml/php-pear-HTML-Template-IT.xml
References
Summary
In this tutorial we learn how to install php-pear-HTML-Template-IT
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).