Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2009
    Location
    Limerick, Ireland
    Posts
    91
    Plugin Contributions
    0

    Default Adding an Image to the Homepage?

    Hello,

    I have added an image to the homepage of my new site. I added it through "define main page". It can be seen here: http://www.buyright.ie/store/ (work in progress)

    What I would like to do is add the image so that it appears above the "centerColumn" or above the bordered white section which contains the main content.

    I do not want it appearing inside the "centerColumn" (as it currently does) as it does not look as good.

    Any help would be great.

  2. #2
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Adding an Image to the Homepage?

    You should have a look at:

    includes/templates/yourtemplate/tpl_index_default.php

    or

    includes/templates/default_template/tpl_index_default.php

    (If the first version does not exist you should create it by copying the second file to this position. Then you can edit the top version.)

    It is pretty straight forward file so you should find your way around it. If you need more help just post again.

    ## that file might be tpl_index_categories.php depending on whether you are displaying categories on the home page. ##
    Last edited by niccol; 3 Nov 2009 at 06:46 PM. Reason: changed

  3. #3
    Join Date
    Aug 2009
    Location
    Limerick, Ireland
    Posts
    91
    Plugin Contributions
    0

    Default Re: Adding an Image to the Homepage?

    Nick,

    Thank you so much for your help, it worked perfectly.

    I first tried editing the existing file "tpl_index_categories.php" but nothing happened.

    I then created the file "tpl_index_default.php", added the image and it worked perfectly.

    My only question is what is the difference between these two files?

    Thanking you again, Noel.

  4. #4
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Adding an Image to the Homepage?

    One is used when category images are displayed on the home page and the other is used when category images are not displayed on the home page.

    This is a setting in admin.

  5. #5
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Adding an Image to the Homepage?

    Hey, that looks much better!

 

 

Similar Threads

  1. back to the admin homepage after adding item
    By fonzie in forum Basic Configuration
    Replies: 2
    Last Post: 20 Feb 2013, 01:22 PM
  2. adding image border to the sides of homepage
    By Verushka in forum General Questions
    Replies: 14
    Last Post: 9 Jun 2010, 05:07 AM
  3. How do I add an image to the homepage
    By jwashburn in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 11 Feb 2009, 01:50 PM
  4. adding my homepage link to the start of store breadcrumb.
    By fl33140 in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 21 Nov 2007, 08:55 PM
  5. Adding an image to the homepage
    By szaffino in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 8 Sep 2006, 06:12 PM

Posting Permissions

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