Logo instead of site title

omstef
13 years, 8 months ago
Hello,

I want to know how to replace title with a logo in every template ?

Regards
dryabov
13 years, 8 months ago
In pda template: just change settings of mod_mj_header module.
In iphone template: change the line
<h1><?php /** @var JSite $app */ $app =& JFactory::getApplication(); echo $app->getCfg('sitename'); ?></h1>

in template's index.php.
dallas147
13 years, 1 month ago
Hi

Sorry if this sounds silly, but what do we the line to?

Lets say I want to use this image:

templates/mobile_pda/resources/images/apple-touch-icon.png

dryabov
13 years, 1 month ago
dallas147, in mobile_pda template you can set it with mod_mj_header module by set path to the image in the module's settings. In mobile_iphone template change abovewritten line to smth like
<h1><img src="/templates/mobile_pda/resources/images/apple-touch-icon.png"></h1>
intelgreg
13 years ago
Hi there,

I have managed to get the logo up, but it is cut off, what size should I make it or can I change the size of the header bar to fit? The logo is not very large and should fit. Many thanks
MeanGreen7
12 years, 5 months ago
Can you guys please be more explanatory on this, you are saying what to change and where to change it, but not the path on how to get there. Please can you help to save time by explaining more thorough?

Thanks,
Jeremy
Moranezz
12 years, 2 months ago
I have my logo cropped too, could you explain little more detailed? Thank you!
BillRust
11 years, 9 months ago
MeanGreen7 wrote:
Can you guys please be more explanatory on this, you are saying what to change and where to change it, but not the path on how to get there. Please can you help to save time by explaining more thorough?

Thanks,
Jeremy


The file you edit is at /root-to-joomla/templates/mobile_whichever_pda/index.php

Where joomla path is your home directory and the pda folder is iPhone, smartphone, wap, etc.

Bill
andreacalo
11 years, 7 months ago
I have the same question, is it possible to resize the bar? and is it normal that the settings of module "Header Module" change settings only for every pda and not for Iphone ?

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.