Welcome, Guest
Username Password: Remember me

Logo instead of site title
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Logo instead of site title

Logo instead of site title 12 years, 10 months ago #4488

  • omstef
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Hello,

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

Regards

Re: Logo instead of site title 12 years, 10 months ago #4496

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4866
  • Karma: 105
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.

Re: Logo instead of site title 12 years, 3 months ago #6982

  • dallas147
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
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

Re: Logo instead of site title 12 years, 3 months ago #6989

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4866
  • Karma: 105
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>

Re: Logo instead of site title 12 years, 2 months ago #7184

  • intelgreg
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
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

Re: Logo instead of site title 11 years, 7 months ago #11871

  • MeanGreen7
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
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

Re: Logo instead of site title 11 years, 4 months ago #13143

  • Moranezz
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
I have my logo cropped too, could you explain little more detailed? Thank you!

Re: Logo instead of site title 10 years, 11 months ago #14721

  • BillRust
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
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

Re: Logo instead of site title 10 years, 9 months ago #15192

  • andreacalo
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
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 ?
  • Page:
  • 1
Time to create page: 0.16 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.