Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post How To Put Logo In All Pages But Not In A Specific Page 
 
I want to be able to visualize a logo in all forum pages, but NOT in the home (renamed portal.php after changing PORTAL_MG constant in includes/constants.php ).

I have written in overall_header.tpl

Code: [Download] [Hide] [Select]
<?php if ($page_name == "portal.php"): ?>
<div align="center"></div>
<?php else: ?>
<div align="center"><img src="images/my_logo.png" /></a></div>
<?php endif; ?>


but it doesn't work... any suggestion? Thanks!


---------------------

Solved in this way....  

Code: [Download] [Hide] [Select]
<?php if ($_SERVER['SCRIPT_NAME'] == "/portal.php" ): ?>
<?php else: ?>
<div align="center"><img src="images/my_logo.png" /></a></div>
<?php endif; ?>

 



 
raphael10Send private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: SOLVED - How To Put Logo In All Pages But Not In A Specific Page 
 
Glad you solved it yourself and thanks for sharing the solution.
 




____________
TheSteffen
Often SEARCH is the quickest way to get support.
IcyPhoenix German Support
 
TheSteffenSend private message  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron