show footer customizations excluding the detailed view of a table

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
fgazza
Veteran Member
Posts: 205
Joined: 2019-04-30 17:37

show footer customizations excluding the detailed view of a table

Post by fgazza » 2020-07-14 19:35

Hi everyone.
I have a code to show some links in the footer of some tables.
What I can't do is add a condition that makes these links visible only in the table view but not in the detail view.

here is my code (inserted in the file footer_extra.php).

Code: Select all

<?php
	$script_name = basename($_SERVER['PHP_SELF']);
	if($script_name == 'partecipazione_riunione_evento_partner_view.php' || $script_name=='partecipazione_riunione_evento_partner_e_non_view.php' || $script_name=='partecipazione_evento_pubblico_view.php'){
		?>
		<div class="navbar-fixed-bottom hidden-print alert alert-info">
				<a title="Clicca qui per scaricare le ISTRUZIONI PER ISCRIVERTI AD UNA ATTIVITA'" href="http://www.sullabuonastrada.org/governance/istruzioni_iscrizione_attivita_sulla_buona_strada.pdf" target="_blank" >Clicca qui per scaricare le ISTRUZIONI PER ISCRIVERTI AD UNA ATTIVITA'</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a title="Clicca qui per scaricare le ISTRUZIONI PER STAMPARE E SCARICARE GLI ATTESTATI di partecipazione alle attività" href="http://www.sullabuonastrada.org/governance/istruzioni_attestati.pdf" target="_blank" >Clicca qui per scaricare le ISTRUZIONI PER STAMPARE E SCARICARE GLI ATTESTATI di partecipazione alle attività</a>
		</div>	
		<?php
	}
?>
Can anyone help me make the code valid only if the current view is the table view?

Thank you!

Fabiano

Post Reply