Thread: main page image

Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Aug 2007
    Posts
    25
    Plugin Contributions
    0

    Default main page image

    Hi,
    please don't laugh at me if this question is too stupid.
    Actually I hope it is, so that it's easy to find a solution.
    I couldn't, so I really need your help

    The person who worked at this e-commerce website I have to edit added some intro text to the main page. I had to delete it because the same text was displayed in every page after the products images and descriptions. when I finally found out the text was in the html_includes/define_main_page.php file I just deleted all the text.
    Unluckily I was asked to put an image in the main page only, not to leave it empty, but I don't know how to do it without adding it to all the other pages.

    Any suggestions?


  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: main page image

    If define_main_page text is showing up on all pages, something is wrong. That should only show on the home page.

    Can you give a link to your site?

  3. #3
    Join Date
    Aug 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: main page image

    http://www.testingdomains.co.uk/shop/


    Unluckily this is not my site. I was asked to modify an already exsiting and badly built site.
    They said it was a 1-day job with minor css changes, and it's since Thursday I'm working hard on it (never used zen cart before...)!!!!

    As you see, I'm working on it. I haven't manage to display the categories headings yet, and I will use css to make a better looking menu (colors and fonts).

    I added a string to the define_main_page file to display in the main page.
    You can read it in every file.
    Any idea???'

    thanks a million

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: main page image

    You are not getting the define_main_page text on every page - what you are seeing is the stock "define page" text for each of the respective pages. Edit each of them in the define pages editor and see.

    The "Colours indicated for guidance only..." has been hard-coded into a file, possibly /includes/templates/your_template/common/tpl_main_page.php.

  5. #5
    Join Date
    Aug 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: main page image

    Thanks a lot for spending time on that :)

    The "Colours indicated for guidance only..." is somewhere in the footer, and it has to be in every page.

    The text "This is a test text added to /includes/languages/english/html_includes/classic/define_main_page.php"
    was written by me and saved as said in the text itself.
    I cannot use the text editor, isn't it the same if I just add test to the file?
    I guess I should also learn how to set the right user permissions...

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: main page image

    Yes, editing the file directly has the same result as editing it in the define pages editor - the editor just makes them all easy to get to from any computer where you can log into admin.
    I wasn't quite sure if you thought the Colours text was the problem.

 

 

Similar Threads

  1. Image title showing on product page but not on main page
    By wotnow in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 22 Jul 2010, 06:53 PM
  2. Product page: Image number 2 as main image instead of image number 1
    By p1lot in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Jun 2010, 09:44 AM
  3. Image on main page
    By jpienaar in forum General Questions
    Replies: 4
    Last Post: 28 Feb 2009, 04:18 PM
  4. main page image
    By sparano in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Jul 2008, 09:14 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