Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Aug 2004
    Location
    Fountain Hills, AZ
    Posts
    515
    Plugin Contributions
    1

    Issue adding images to main_page

    I have been really struggling with a design that I am trying to implement. this just should not be this tough - I have two additional images - one is to be at the top of the left column before the info boxes and the other the top of the right column before the info boxes. I've set each of the columns to accomdate these images.

    I've created divs for each of these and moved them around like crazy. I can them placed just where I want them, but it breaks the rest of the page, forcing the center column contents to line up below them. And when it looks like I'm getting close - I check IE and forget it - everything is skewed. (I develop in Mozilla and make adjustments for IE).

    I've tried building a fresh template completely with css... that was a disaster. Then I went back and am now trying to use the classic as a model (1.3.5) and I just can't figure this out. Can someone that is smarter than me at this show me where to insert my divs for each of these columns where the center doesn't end up in the basement somewhere? I'm beginning to feel like a total novice that has never built a template before - like I said - this just shouldn't be this hard

    Any help would be hugely appreciated.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Issue adding images to main_page

    Ruth,

    A mock up or the URL would be helpful to see this better.

  3. #3
    Join Date
    Aug 2004
    Location
    Fountain Hills, AZ
    Posts
    515
    Plugin Contributions
    1

    Default Re: Issue adding images to main_page

    I can do better - this is where I have the site "hidden" for the moment . Wait - Is there a way now with these new forums to give a URL with a text link? LOL.. I find my forum posts in the search engines later and I'd rather not have that if possible. Otherwise I'll PM you the url.

  4. #4
    Join Date
    Aug 2004
    Location
    Fountain Hills, AZ
    Posts
    515
    Plugin Contributions
    1

    Default Re: Issue adding images to main_page

    Oh, well.. here's the link - I wish that we could hide links as in the past with "my site"
    http://newagecare.com/zen135/

  5. #5
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Issue adding images to main_page

    Your page contains hard-coded image links like this:

    Code:
    http://localhost/zen-cart135/includes/templates/newagecare/images/header_2.gif
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Aug 2004
    Location
    Fountain Hills, AZ
    Posts
    515
    Plugin Contributions
    1

    Default Re: Issue adding images to main_page

    Ok, I'll try moving them into the css, but that did work earlier. This was another attempt.

    Thanks

  7. #7
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Issue adding images to main_page

    Quote Originally Posted by rwoody
    Oh, well.. here's the link - I wish that we could hide links as in the past with "my site"
    http://newagecare.com/zen135/
    You can!

    type "My Site" highlight it and then click on the link add in the link information and click OK.

    Like this My Site

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

    Default Re: Issue adding images to main_page

    Issue adding images to main_page
    The "MainPage" is a big place...exactly where are you trying to add the image??

    If in the "center" section (if you are 3 column), you can add it through the defines page editor in the admin to the define_mainpage.php file and have it appear something like this:Sample Site

  9. #9
    Join Date
    Aug 2004
    Location
    Fountain Hills, AZ
    Posts
    515
    Plugin Contributions
    1

    Re: Issue adding images to main_page

    In my original post I stated the following -

    I have been really struggling with a design that I am trying to implement. this just should not be this tough - I have two additional images - one is to be at the top of the left column before the info boxes and the other the top of the right column before the info boxes. I've set each of the columns to accomdate these images.

    The right column has an image at the top of the column - not a background image and then there is another image (actually there will be several, but i have to get these to line up first) that will lay inside the right column.


    I've played with it a bit more. If you view the link in FireFox - I'm really close to having the first part of this done - but when you use IE its a disaster. I want the images to be maintained in the appropriate columns so as not to affect the center content, thus they were designed to fit there nicely, but each thing I try creates all kinds of issues.

    Also - Thanks Dr. Bytes - I've done that before when testing - I forget when I upload the files to change the image paths to the normal site path vs. my local path. But since it's cached on my machine.. I still see them. path is fixed now so you can see my delimma.

    Guys I've been at this, what I thought would be simple for hours... can someone please feel sorry for me and tell me I'm doing wrong. I'll do your dishes for you for a week... (and I hate dishes)

    I'm going to finally go eat something - haven't left this computer all day.. maybe when I come back someone will have thought of something I obviously don't. I know its going to be simple... It ususally is and I ususally figure it out myself.. but this just has me beat!!

    Thanks guys for taking a peek and for the help on the link... I had tried the standard brackets and it did not work - so thanks for that bit of information

    mysite

  10. #10
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Issue adding images to main_page

    I *think* that your problems are inside your layout table in tpl_main_page.php:

    1. For the bar under the header area, before you draw the left column, you have inserted a DIV inside a TR, and not closed the TR before opening another one:
    HTML Code:
      <tr>
    <div id="bodytop"><img src="includes/templates/newagecare/images/body_top.gif" width="553" height="84" /></a></div>
    <tr>
    2. Before drawing the right column, you have more mismatched table elements:
    HTML Code:
    </td>
    <div id="imagemap"><img src="includes/templates/newagecare/images/alpha_map2.gif" width="194" height="206" /></a></div>
    You likely don't want to put DIV's directly into TR's ... make TD's for them in order to be more compliant.
    Also, don't put DIV's between TD's ... put them INside TD's.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Rollover images, CSS and main_page
    By rebel tech in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Jul 2010, 04:56 PM
  2. Link issue - main_page=product_info / main_page=_info
    By Chrome Orange in forum General Questions
    Replies: 5
    Last Post: 7 May 2010, 05:34 AM
  3. Contact Page issue and adding to cart issue...
    By techy-sult.com in forum General Questions
    Replies: 2
    Last Post: 1 Oct 2009, 04:45 AM
  4. Adding products and images issue
    By teager in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 11 Jul 2008, 07:42 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
  •  
disjunctive-egg