The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Wed Mar 21, 2012 9:14 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Thu Jul 01, 2010 9:11 am
Posts: 115
Location: India
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.


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: Wed Mar 21, 2012 10:14 pm 
Joomla! Intern
Joomla! Intern

Joined: Mon Mar 19, 2012 2:17 pm
Posts: 73
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.


Top
 Profile  
 
PostPosted: Fri Mar 23, 2012 8:00 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Thu Jul 01, 2010 9:11 am
Posts: 115
Location: India
And, which folder will that be?


Top
 Profile  
 
PostPosted: Fri Mar 23, 2012 8:15 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Thu Jul 01, 2010 9:11 am
Posts: 115
Location: India
I have located the folder


Top
 Profile  
 
PostPosted: Mon Apr 30, 2012 12:21 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Apr 21, 2012 2:15 am
Posts: 240
Location: Sri Lanka
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:
<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.


Top
 Profile  
 
PostPosted: Sat Jun 02, 2012 6:31 pm 
Joomla! Ace
Joomla! Ace

Joined: Wed Nov 05, 2008 11:28 pm
Posts: 1256
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:
<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.

_________________
regards un-leash,
a big fan for ++ 8 years now: With Joomla you can easily create and extend your website: see the site, that offers you ideas & modules - extensions.joomla.org - it lists over 4000 extensions


Top
 Profile  
 
PostPosted: Sat Jun 02, 2012 6:49 pm 
Joomla! Ace
Joomla! Ace

Joined: Wed Nov 05, 2008 11:28 pm
Posts: 1256
for any body who looks for a good solution... ifound some thing great & useful:

imanickam states in this thread

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:
<img src="<?php echo $this->baseurl ?>/templates/beez5/images/fruits.jpg" alt="<?php echo JText::_('TPL_BEEZ5_LOGO'); ?>" />

Quote:
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

_________________
regards un-leash,
a big fan for ++ 8 years now: With Joomla you can easily create and extend your website: see the site, that offers you ideas & modules - extensions.joomla.org - it lists over 4000 extensions


Top
 Profile  
 
PostPosted: Sun Jun 03, 2012 3:18 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Apr 21, 2012 2:15 am
Posts: 240
Location: Sri Lanka
unleash_it wrote:

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

Code:
<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.


Top
 Profile  
 
PostPosted: Sun Jun 03, 2012 10:48 pm 
Joomla! Ace
Joomla! Ace

Joined: Wed Nov 05, 2008 11:28 pm
Posts: 1256
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 ;-)

_________________
regards un-leash,
a big fan for ++ 8 years now: With Joomla you can easily create and extend your website: see the site, that offers you ideas & modules - extensions.joomla.org - it lists over 4000 extensions


Top
 Profile  
 
PostPosted: Wed Jan 16, 2013 1:09 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Jan 16, 2013 1:06 pm
Posts: 1
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!


Top
 Profile  
 
PostPosted: Tue Feb 19, 2013 4:48 pm 
Joomla! Intern
Joomla! Intern

Joined: Mon Mar 19, 2012 2:17 pm
Posts: 73
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 



Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group