Results 1 to 2 of 2
  1. #1
    Join Date
    May 2012
    Posts
    1

    Question How can i change the header image to a flash image and create module positions?

    Hi!!! i have a question about j15-32 template. how can i make a new position under the gray area in the main banner??? and i want to change the image banner to a flash banner and it doesn't show it. it only supports png files?? how can i do it? which code should i modify so it cas show it???
    thank you

  2. #2
    Join Date
    Apr 2008
    Location
    At home
    Posts
    788

    Default

    Hello,

    That change would require few modifications of the template.

    First, open the index.php file. In it find these lines:

    <div id="header">
    <div id="logo">
    <a href="index.php"><?php echo $mainframe->getCfg('sitename') ;?></a>
    </div>
    </div>

    If you want to remove your site name from being displayed over the image, comment out or remove this line:

    <a href="index.php"><?php echo $mainframe->getCfg('sitename') ;?></a>


    Now, to add a new position in a div for easy styling:

    <div id="header">
    <div id="flashbanner">
    <jdoc:include type="modules" name="flashbanner" />
    </div>
    <div id="logo">
    <a href="index.php"><?php echo $mainframe->getCfg('sitename') ;?></a>
    </div>
    </div>


    Next, open the templateDetails.xml file in your tempalte folder. In it, locate the positions section:

    <positions>
    <position>user3</position>
    <position>left</position>
    <position>user4</position>
    <position>debug</position>
    </positions>

    In it you have to add the newly added position. It should look like this:

    <positions>
    <position>user3</position>
    <position>left</position>
    <position>user4</position>
    <position>debug</position>
    <position>flashbanner</position>
    </positions>

    Now, you can simply publish your flashbanner module into the new position - "flashbanner". It will be displayed in that area.

    However, you will need to tinker the css/template.css file to make it look the way you want

Similar Threads

  1. how to change header image in siteground j15-115
    By oldngreen in forum Customers' experience and suggestions
    Replies: 1
    Last Post: 04-26-2011, 09:01 AM
  2. j15-14 Header image position
    By robinhaynes in forum General Joomla Discussions
    Replies: 1
    Last Post: 12-01-2009, 07:33 PM
  3. Header image change on siteground-j15-46
    By Louise in forum Free Joomla Templates
    Replies: 1
    Last Post: 07-20-2009, 07:46 AM
  4. Help! Header image won't change in Joomla 1.0!
    By Mad Jack in forum General Joomla Discussions
    Replies: 3
    Last Post: 11-27-2008, 04:49 PM
  5. Change the image in header
    By sture in forum General Joomla Discussions
    Replies: 1
    Last Post: 01-22-2008, 08:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •