Page 1 of 1

How to remove "Enjoy Fresh Fruite" Banner?

Posted: Wed Mar 21, 2012 9:14 pm
by maanojrakhit
How can I remove the "Enjoy Fresh Fruite" Banner? Please help me with the steps.

Before aprroaching you all, I tried the following approach but I may have been on wrong track -

In IE9, I right clicked and selected "View Source". Between line 92 and 96 I found the following code which I suspect may relate to "Enjoy Fresh Fruite" banner as "Search box" related code ends at line 91 and "Breadcrumb" related code begins from line 97. In Firefox 11, using Firebug I found the same.

<div id="header-image">
<img src="/templates/beez5/images/fruits.jpg" alt="Logo" />
</div>
</div><!-- end header -->

Then, I went to Template Manager: Templates >> Options >> Enable Preview >> Beez5 Details, Files & Preview >> Edit main page template (and also) Edit css/template.css --- But could not locate the following codes, just in case deleting <img src="/templates/beez5/images/fruits.jpg" alt="Logo" />
could bring desired result.

Any help that can educate me on this will be much appreciated. Thank you, all.

Re: How to remove "Enjoy Fresh Fruite" Banner?

Posted: Wed Mar 21, 2012 10:14 pm
by wypaq
The simplest way is to replace the image fruits.jpg with your own jpg image (Same size as the original : 1050 x 180 pixels).
With a file manager or ftp, transfer your own image in the same directory and change the code. if you dont want to change anything in the code, change the name of the original image to Fruit_old.jpg and rename your own image to fruit.jpg.

Re: How to remove "Enjoy Fresh Fruite" Banner?

Posted: Fri Mar 23, 2012 8:00 pm
by maanojrakhit
And, which folder will that be?

Re: How to remove "Enjoy Fresh Fruite" Banner?

Posted: Fri Mar 23, 2012 8:15 pm
by maanojrakhit
I have located the folder

Re: How to remove "Enjoy Fresh Fruite" Banner?

Posted: Mon Apr 30, 2012 12:21 pm
by Chamira Athauda
I think this fruit banner only displays if there is no module targeted to template module position-15

The index.php is something like this:

Code: Select all

<div id="header-image">
			<jdoc:include type="modules" name="position-15" />
			<?php if ($this->countModules('position-15')==0): ?>
				<img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/images/fruits.jpg"  alt="<?php echo JText::_('TPL_BEEZ5_LOGO'); ?>" />
			<?php endif; ?>
		</div>
Create a Banner and use the Manager to target it to that postion and the fruit banner should disappear.

Re: How to remove "Enjoy Fresh Fruite" Banner?

Posted: Sat Jun 02, 2012 6:31 pm
by unleash_it
hello dear maanojakhit

many thanks for raisin this question. Tanks for doing this. I am pretty sure that many many of the joomla-fans want to do exactly this step.
maanojrakhit wrote:And, which folder will that be?
well in the next posting you said that you found out the folder. Do me a favour and let the world know this. Otherwise this thread is pretty useless tot the world. If you do not publish your insights then we will rest on our own.

So please let us know where the folder is!?

thx in advance
greetings...



@ crojoa
- where do you find the follwing code - which index-file did you menton in your message !?

Code: Select all

<div id="header-image">
         <jdoc:include type="modules" name="position-15" />
         <?php if ($this->countModules('position-15')==0): ?>
            <img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/images/fruits.jpg"  alt="<?php echo JText::_('TPL_BEEZ5_LOGO'); ?>" />
         <?php endif; ?>
      </div>
Create a Banner and use the Manager to target it to that postion and the fruit banner should disappear.

Re: How to remove "Enjoy Fresh Fruite" Banner?

Posted: Sat Jun 02, 2012 6:49 pm
by unleash_it
for any body who looks for a good solution... ifound some thing great & useful:

imanickam states in this thread

http://forum.joomla.org/viewtopic.php?f=675&t=685062

I believe that you are referring to the file fruits.jpg that is located in the directory /templates/beez5/images.

This image is referenced in the following line of code.

Code: Select all

<img src="<?php echo $this->baseurl ?>/templates/beez5/images/fruits.jpg" alt="<?php echo JText::_('TPL_BEEZ5_LOGO'); ?>" />
In these situations, you could use the tool FireBug to inspect elements and view the css entries.

The tool FireBug that is available in browsers such as FireFox and Chrome could be used for this purpose. With FireBug you can inspect an element in a web page and find out its css entries and in which file the entries are located. You could even change the css entries to see how it affects the look and feel of your site. Once you are satisfied you could incorporate the changes in the actual file.

Review the document http://docs.joomla.org/Tutorial:Using_F ... la_Website for more information about how to use FireBug.
end of cit


thx to the great imanickam

greetings

Re: How to remove "Enjoy Fresh Fruite" Banner?

Posted: Sun Jun 03, 2012 3:18 pm
by Chamira Athauda
unleash_it wrote:
@ crojoa
- where do you find the follwing code - which index-file did you menton in your message !?

Code: Select all

<div id="header-image">
         <jdoc:include type="modules" name="position-15" />
         <?php if ($this->countModules('position-15')==0): ?>
            <img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/images/fruits.jpg"  alt="<?php echo JText::_('TPL_BEEZ5_LOGO'); ?>" />
         <?php endif; ?>
      </div>
Create a Banner and use the Manager to target it to that postion and the fruit banner should disappear.

The file in question is the index.php file of the Beez 5 template. Each template has its own index.php which sets up the template look & module positions.

You could just put a small transparent gif within a custom HTML component in there and make it go away. I prefer that to deleting template code. You could of course just comment that php code out too.

Sorry for not making it clear.

Re: How to remove "Enjoy Fresh Fruite" Banner?

Posted: Sun Jun 03, 2012 10:48 pm
by unleash_it
hello dear coruja

many thanks for sharing! Your explanations are of good help!

Valid source of information for all Joomla-Fans!! Keep up your great support!

greetings ;-)

Re: How to remove "Enjoy Fresh Fruite" Banner?

Posted: Wed Jan 16, 2013 1:09 pm
by blongro
Hello!
How can i hide the banner image in other pages than home page?
I mean that the image being shown only in home page.
Thanks!

Re: How to remove "Enjoy Fresh Fruite" Banner?

Posted: Tue Feb 19, 2013 4:48 pm
by wypaq
Go to the module manager and select the banner module. At the bottom of the page, you can select on which pages the module will be displayed.