Zen Cart Logo
Forums / General Questions / How to get Define Main Page Message from Text Editor on to Index Page??

How to get Define Main Page Message from Text Editor on to Index Page??

Locked

Views: 6,356

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
17 Jun 2007, 4:35 AM
#1
velvita avatar

velvita

New Zenner

Join Date:
Jun 2007
Posts:
23
Plugin Contributions:
0

How to get Define Main Page Message from Text Editor on to Index Page??

How do i get the message I have placed in the Define Main Page form , with the Text Editor under Define Pages Editor onto Index Page?? It doesn't want to display

Cheers
Velvita

17 Jun 2007, 5:12 AM
#2
rush_woman avatar

rush_woman

Zen Follower

Join Date:
Jan 2007
Location:
California
Posts:
328
Plugin Contributions:
0

Re: How to get Define Main Page Message from Text Editor on to Index Page??

Well, I'm not sure why it would not display.

the file is here: **includes/languages/english/html_includes/define_main_page.php

**This is stated right above the text area should you have need of a file's location in the futures. You could try copying this file (define_main_page.php) into the template file for whatever you named your custom template and see if it displays.

for example: /includes/languages/english/html_includes/TEMPLATE_NAME/define_main_page.php

If this does not work, speak up again.

Good luck,

17 Jun 2007, 8:36 AM
#3
velvita avatar

velvita

New Zenner

Join Date:
Jun 2007
Posts:
23
Plugin Contributions:
0

Re: How to get Define Main Page Message from Text Editor on to Index Page??

Are there perhaps are set up instructions in some other module that need to be set? perhaps.

Cheers
Velvita

17 Jun 2007, 9:29 AM
#4
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: How to get Define Main Page Message from Text Editor on to Index Page??

Have you checked the file permissions in your html_includes directory?

17 Jun 2007, 10:09 AM
#5
velvita avatar

velvita

New Zenner

Join Date:
Jun 2007
Posts:
23
Plugin Contributions:
0

Re: How to get Define Main Page Message from Text Editor on to Index Page??

Where abouts do I find this directory. Can i get to it through the admin section??

Cheers
Velvits

https://www.bigkiwiconvictgear.com

17 Jun 2007, 10:35 AM
#6
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: How to get Define Main Page Message from Text Editor on to Index Page??

No - usually you would do that through FTP, but you can do it through your host's Control Panel and File Manager.

As per the installation instructions, this directory (and the equivalent override) should have permissions set to 777.

17 Jun 2007, 10:46 AM
#7
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: How to get Define Main Page Message from Text Editor on to Index Page??

velvita:

Where abouts do I find this directory. Can i get to it through the admin section??

Cheers
Velvits

Not sure why others didn't mention you could?

Admin > Tools > Define Pages Editor
In the drop-down list choose: define_main_page.php

If you get an error msg. at the top (Cannot change file for example) then change permissions.

777 includes/languages/english/html_includes/

  • and -
    777 includes/languages/english/html_includes/define_main_page.php

***** Important *****
When finished editting make sure to put permissions for the "html_includes" dir. back to 755 -- which is the normal setting.

17 Jun 2007, 9:55 PM
#8
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: How to get Define Main Page Message from Text Editor on to Index Page??

Website Rob:

Not sure why others didn't mention you could?

Don't understand what you're getting at, but if you read the initial post of the thread, you can see that velvita has already found that - but it isn't displaying... or at least, that's the way I understood it.

18 Jun 2007, 9:32 AM
#9
velvita avatar

velvita

New Zenner

Join Date:
Jun 2007
Posts:
23
Plugin Contributions:
0

Re: How to get Define Main Page Message from Text Editor on to Index Page??

Hi

Have changed permissions but sorry no joy. Still not displaying.

Any further ideas??

Cheers
Velvita

https://www.bigkiwiconvictgear.com

18 Jun 2007, 1:18 PM
#10
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: How to get Define Main Page Message from Text Editor on to Index Page??

Not without a closer look - if you want to PM me access details for admin and FTP, I'll try to find time to have a peek for you.

BTW - you really must optimise your images for the web. 315kb for a thumbnail is approximately 400 times larger (and therefore 400 times slower to load) than it should be

19 Jun 2007, 8:24 AM
#11
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: How to get Define Main Page Message from Text Editor on to Index Page??

OK, I've had a peek, and it looks to me like a Template Monster template - and if so, you really should have done your research before buying it! :cry:

Basically, whoever did build the template has removed elements from the code to make the template look good, and in this case, they have commented out the main page text display. I have fixed this problem with your current text, but it's possible that if you add much more, then it may break the layout. You may well encounter other problems with this template when you try to add things.

Although you could complain to the supplier of the template, their response is likely to be that you bought what you saw.

FYI, I edited includes/templates/theme046/templates/tpl_index_default.php and replaced (about line 29)

<?php
/**
 * get the Define Main Page Text
 */
 /*
?>
<div id="indexDefaultMainContent" class="content"><?php require($define_page); ?></div>
<?php */ } ?>
```with ```
<?php
/**
 * get the Define Main Page Text
 */
?>
<div id="indexDefaultMainContent" class="content"><?php require($define_page); ?></div>
<?php  } ?>
22 Sep 2007, 7:35 PM
#12
velvita avatar

velvita

New Zenner

Join Date:
Jun 2007
Posts:
23
Plugin Contributions:
0

Re: How to get Define Main Page Message from Text Editor on to Index Page??

Hi

Define_ Main_Page template content wont display on main page.

Any ideas why this may be. Have I not turned something on in admin??

Cheers
Velvita

22 Sep 2007, 8:29 PM
#13
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,604
Plugin Contributions:
0

Re: How to get Define Main Page Message from Text Editor on to Index Page??

Have you added a custom template? Your URL?

23 Sep 2007, 12:51 AM
#14
velvita avatar

velvita

New Zenner

Join Date:
Jun 2007
Posts:
23
Plugin Contributions:
0

Re: How to get Define Main Page Message from Text Editor on to Index Page??

Yes I have a custom template. The URL is

http://sportswell.co.nz/

It seems to be there in the code but wont display

Cheers
Velvita

29 Sep 2007, 2:07 AM
#15
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,604
Plugin Contributions:
0

Re: How to get Define Main Page Message from Text Editor on to Index Page??

Your 2 threads have been merged into one.

The problem is the Template Monster Template.