Results 1 to 10 of 10
  1. #1
    Join Date
    May 2008
    Posts
    12
    Plugin Contributions
    0

    Default image on main page only

    I am trying to put an image on the main page only. I want it in the center column.
    I am working on a remote server,MAMP. I think the file on need to change is tpl_main_page.php. I am not sure where on this template I can insert the image.
    Please if someone can tell me the correct code to use.
    In the admin area, under define pages editor this main page template is not there.
    Please help. Thank You

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: image on main page only

    admin > tools > defines page editor > select main_page.php
    Zen-Venom Get Bitten

  3. #3
    Join Date
    May 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: image on main page only

    Thank you for responding. I did look in define pages editor. the main_page.php is not there.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: image on main page only

    Well it should be unless you have deleted it

    Grab a distribution of the same version as you have installed - expand it locally and then with your FTP client compare the /includes/lannguages/english/html_includes folders and transfer any that are missing
    Zen-Venom Get Bitten

  5. #5
    Join Date
    May 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: image on main page only

    Hi
    I have the main page back in define page editor. My image is in a image folder on a remote server. what is the code I put in?
    Thanks

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: image on main page only

    My image is in a image folder on a remote server. what is the code I put in?
    Easiest to copy the image to this server
    Zen-Venom Get Bitten

  7. #7
    Join Date
    May 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: image on main page only

    thank you for your help.
    I did manage to get the image on the main page. When it appeared it was thumbnail size. Is it correct to resize it by going to configuration then images?
    I changed subcategory image width and height.

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: image on main page only

    I did manage to get the image on the main page. When it appeared it was thumbnail size. Is it correct to resize it by going to configuration then images?
    Images entered into the main_page.php area are not subject to the Zen Cart image settings....

    Poat a link so we can see what is up
    Zen-Venom Get Bitten

  9. #9
    Join Date
    May 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: image on main page only

    I am also having a problem putting an image in the right column sidebox. I want to change the stylesheet to do this. I went thru the forum and I tried everything.
    The image still will not appear.
    The image I made will be the buttons for the catergories. I designed my own image for this.
    I spent hours on this to no avail. What should I do?
    Please tell me where on the stylesheet I should put the image code.
    thank you

  10. #10
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: image on main page only

    Post a link to this so I others can also see and advise
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Image only on main page and category pages
    By cracket in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Sep 2012, 02:00 AM
  2. Border around image on main product info page only
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Mar 2011, 06:10 PM
  3. Attribute image replaces main image but only pop up larger image
    By welchyboy in forum Setting Up Categories, Products, Attributes
    Replies: 15
    Last Post: 26 Nov 2010, 11:56 PM
  4. Replies: 1
    Last Post: 17 Oct 2009, 11:50 PM
  5. Remove Main Page Image Only
    By Divalicious Chocolat in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 14 Oct 2008, 05:06 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