Welcome, Guest
Username Password: Remember me
  • Page:
  • 1

TOPIC: include the logo

include the logo 11 years, 12 months ago #9231

  • mhcreativo
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Hi!! congratulations for this component is  great!!! and i´m a beginner in joomla... sorry for my little english so, i will try to explain my question i need include my logo in template smartphone How can i do it? and if i can do it it´s the best component for mobile!!! so thank you very much!!!!

Re: include the logo 11 years, 12 months ago #9245

Hi,
I have not idea how this plugin works, but I found a way to put my logo on the header, you can try this way.
You need to locate the index.php on the folder of the mobile template that you want to change, in my case I used the one from Smartphones.
Go to line 69 and you can see:
?><div id="<?php echo $modulepos; ?>"><?php $MobileJoomla->loadModules($modulepos); ?></div><?php

Then you can instert your image on code, in my case, my image "Logo.png" is on the default images folder from Joomla!, which is: "myWebSite/images/Logo.png".
In the code, I erased the code that displays the name of the site and added the code to show the image, it looks like this:
?><div id="<?php echo $modulepos; ?>"><img src="<?php echo $home;?>/images/Logo.png" border="0"></div><?php

I´ve tried to make this easier from the Administrator page, but I`ve not been able to do so, then this is my way, hope this works for you!!! 
Last Edit: 11 years, 12 months ago by f.guerrero.cda.
  • Page:
  • 1
Time to create page: 0.17 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.