Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How do I edit my text on main page

How do I edit my text on main page

Locked

Views: 3,899

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
23 Sep 2007, 11:59 AM
#1
lizar5 avatar

lizar5

Zen Follower

Join Date:
Sep 2007
Posts:
116
Plugin Contributions:
0

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"

23 Sep 2007, 12:12 PM
#2
lizar5 avatar

lizar5

Zen Follower

Join Date:
Sep 2007
Posts:
116
Plugin Contributions:
0

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?

23 Sep 2007, 12:43 PM
#3
lizar5 avatar

lizar5

Zen Follower

Join Date:
Sep 2007
Posts:
116
Plugin Contributions:
0

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?

24 Sep 2007, 7:40 AM
#4
carolight avatar

carolight

New Zenner

Join Date:
Aug 2007
Posts:
27
Plugin Contributions:
0

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.

24 Sep 2007, 1:50 PM
#5
lizar5 avatar

lizar5

Zen Follower

Join Date:
Sep 2007
Posts:
116
Plugin Contributions:
0

Re: How do I edit my text on main page

carolight:

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.

9 Oct 2007, 5:07 AM
#6
sneader avatar

sneader

New Zenner

Join Date:
Mar 2007
Posts:
20
Plugin Contributions:
0

Re: How do I edit my text on main page

carolight:

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
10 Oct 2007, 5:53 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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. :eek:

/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 ...

14 Oct 2007, 9:57 PM
#8
sneader avatar

sneader

New Zenner

Join Date:
Mar 2007
Posts:
20
Plugin Contributions:
0

Re: How do I edit my text on main page

Ajeh:

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. :eek: ...

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