Hi,
I am using Additional pages plugin for custom home page. In the home page i want to hide page title. How to check the current page is home page or not? If i know current page i can hide the following code
on theme index.php page. Currently i am developing my site on local system using wamp server
<div class="head_title">
<h2>{$TITLE}</h2>
</div>
Is there any smarty variable to check the current page is homepage or not ?
Piwigo version: 2.6.0
PHP version: 5.3.27
MySQL version: 5.5.15
Piwigo URL: http://
Offline
Hello
you will have to set your own Smarty variable in a custom plugin
But in fact the best way is to unassign the TITLE variable.
In order to know is that's the home check the global var $page
Use the skeleton plugin and other plugins to help you
Offline