Welcome to Geeklog Saturday, May 25 2013 @ 12:50 AM EDT
|
||||||||
![]() |
Forum Index > Support > General Geeklog Support |
New Topic
|
Post Reply
|
Use Sitename if no LOGO image |
|||
| squatty |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member ![]() Status: offline ![]() Registered: 01/21/02 Posts: 269 |
Try this:
PHP Formatted Code <?php global $_CONF; $filename = '/var/www/html/internetsider/public_html/layout/CDCblues/images/logo.gif'; if (file_exists($filename)) { print '<a href="'.$_CONF['site_url'].'/index.php"><img src="$filename" alt="'.$_CONF['site_name'].'"></a>'; } else { print '<font size="6" color="#BEA982">'.$_CONF['site_name'].'</font>'; } ?> If the above doesn't work, replace the print with echo. This should return the code to your browser. Reply back with what you see. In a world without walls and fences, who needs Windows and Gates? |
||||||
|
|||||||
| Anonymous: CDC |
|
||||||
|
|
This is the place of my logo:
http://www.internetsider.dk/internetsider/public_html/layout/CDCblues/images/logo.gif This is what i se when using the code above with and without echo: http://www.internetsider.dk/internetsider/public_html/test-1.jpg |
||||||
|
|||||||
| Content generated in: 0.74 seconds |
|
|
|