Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2007
    Posts
    116
    Plugin Contributions
    0

    Default How do I edit my text on main page

    In includes/languages/ENGLISH/index.php is where ive been editing , problem is what ever i have typed out first on my index page surrounded by font commands, it copys over to the the new products for this month box below and the featured products. If after those commands in index.php, I type a new line followed by different font commands , nothing is copied over. Its only the first line or sentence IE " Welcome to my HomePage" , ill make that message appear a differnt way then i ll have stuff below it much smaller and in differnt colors but non of it is affected. Only the fonts from featured prodcuts and New Products boxes are affcted by the "Welcome to my HomePage"

  2. #2
    Join Date
    Sep 2007
    Posts
    116
    Plugin Contributions
    0

    Default Re: How do I edit my text on main page

    Tried editing my text but couldnt, heres my new message

    In includes/languages/ENGLISH/index.php is where ive been editing , problem is what ever i have typed out first in my define('HEADING_TITLE', surrounded by font commands, it copys over to the the new products for this month box below and the featured products. How do i fix this so i can Type various fonts and styles on my main page without it affecting anything else?

  3. #3
    Join Date
    Sep 2007
    Posts
    116
    Plugin Contributions
    0

    Default Re: How do I edit my text on main page

    Tried editing my text but couldnt, heres my new message

    In includes/languages/ENGLISH/index.php is where ive been editing , problem is what ever i have typed out first in my define('HEADING_TITLE', surrounded by font commands, it copys over to the the new products for this month box below and the featured products. How do i fix this so i can Type various fonts and styles on my main page without it affecting anything else?

  4. #4
    Join Date
    Aug 2007
    Posts
    27
    Plugin Contributions
    0

    Default Re: How do I edit my text on main page

    Make a copy of:
    includes/languages/english/html_includes/define_main_page.php

    into your template:
    includes/languages/english/html_includes/your_template/define_main_page.php


    Then go into Admin > Tools > Define Pages Editor

    Choose define_main_page.php from the drop down list. Choose HTMLarea from the Text Editor dropdown list.

    You can then type in the text you want to see on the main page, and format it too.

  5. #5
    Join Date
    Sep 2007
    Posts
    116
    Plugin Contributions
    0

    Default Re: How do I edit my text on main page

    Quote Originally Posted by carolight View Post
    Make a copy of:
    includes/languages/english/html_includes/define_main_page.php

    into your template:
    includes/languages/english/html_includes/your_template/define_main_page.php


    Then go into Admin > Tools > Define Pages Editor

    Choose define_main_page.php from the drop down list. Choose HTMLarea from the Text Editor dropdown list.

    You can then type in the text you want to see on the main page, and format it too.
    Thank you very much for your help, however a new problem occurred. Instead of staying on only my home page, all the text that I typed in the define pages editor that you told me to is copied over on other pages such as the categories pages. I only want the text to stick to the homepage.

  6. #6
    Join Date
    Mar 2007
    Posts
    20
    Plugin Contributions
    0

    Default Re: How do I edit my text on main page

    Quote Originally Posted by carolight View Post
    Make a copy of:
    includes/languages/english/html_includes/define_main_page.php

    into your template:
    includes/languages/english/html_includes/your_template/define_main_page.php


    Then go into Admin > Tools > Define Pages Editor

    Choose define_main_page.php from the drop down list. Choose HTMLarea from the Text Editor dropdown list.

    You can then type in the text you want to see on the main page, and format it too.
    When I do this, the Define Pages Editor says:

    "Error: I can not write to this file. Please set the right user permissions on: /home/username/public_html/cart/includes/languages/english/html_includes/classic/define_main_page.php"

    This is a fresh install, and I thought I followed the file/folder permissions instructions closely. Anyway, this is easy to fix, but what are the "right permissions"?

    - Scott

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: How do I edit my text on main page

    This is telling you that the directory and or files are not writable in:
    /cart/includes/languages/english/html_includes/classic
    /cart/includes/languages/english/html_includes/classic/define_main_page.php

    It is also telling you that you have not setup the templates and overrides for your site and next upgrade all of your customizations will be wiped out, destroyed, lost, etc. etc. etc.

    /includes/languages/english/html_includes

    and all files and subdirectories need to be set to 777 if you wish to edit them via the Admin ...

    Later, when done, you can change this for better security ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    Mar 2007
    Posts
    20
    Plugin Contributions
    0

    Default Re: How do I edit my text on main page

    Quote Originally Posted by Ajeh View Post
    This is telling you that the directory and or files are not writable in:
    /cart/includes/languages/english/html_includes/classic
    /cart/includes/languages/english/html_includes/classic/define_main_page.php

    It is also telling you that you have not setup the templates and overrides for your site and next upgrade all of your customizations will be wiped out, destroyed, lost, etc. etc. etc. ...
    Thanks for that reminder... I had forgotten or missed that... I've read up on the override system and I think am good to go.

    Thanks for catching that -- that saved me a LOT of work doing it now, versus later!!

    - Scott

 

 

Similar Threads

  1. v150 How to edit head section HTML of main page?
    By marcsullivan in forum Basic Configuration
    Replies: 8
    Last Post: 17 Sep 2012, 02:21 PM
  2. How to edit my main page?
    By rainbow_pixie_star in forum General Questions
    Replies: 1
    Last Post: 26 Apr 2012, 02:59 PM
  3. how to edit main page help please
    By kevin baker in forum Templates, Stylesheets, Page Layout
    Replies: 19
    Last Post: 29 Oct 2011, 12:42 AM
  4. How do I edit html of main page?
    By ejhernandez in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 29 Dec 2010, 12:38 AM
  5. How do I edit my home page text???
    By Pink Pineapple in forum General Questions
    Replies: 3
    Last Post: 9 Nov 2009, 03:05 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