-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where does the $icon for the site go? #3
Comments
The images should go in the LocalHomePage/img folder. That's where the only images are now in the project. From the config file, the icons from the img folder are created in an array of strings called $icons. Then in the index.php file, foreach( $icons as $icon ), then if it exists append it to the site root and display it on the site! I hope this helps |
Thanks for the reply but I figured it out-
|
Hi...what do the icons need to be named so that they can be displayed? I tried It would be nice if, instead of the grey square to the left of the site name, the favicon of the site would be displayed. I am guessing that is the purpose of the icons...but I can't seem to get it to work. Also, you have a Wordpress test that displays a wordpress logo to the right of the site name. Is there a way to extend that so it can detect different platforms (wordpress, joomla, drupal, laravel, etc.) and display the appropriate icon. And if it cannot determine the platform, at least display a generic technology icon (eg, php, html, etc)? Thanks |
// Display an icon for the site
$icon_output = '';
foreach( $icons as $icon ) {
Where is this image placed?
The text was updated successfully, but these errors were encountered: