Forums / Templates, Stylesheets, Page Layout / New EZ page-- no text

New EZ page-- no text

Views: 611

Results 1 to 7 of 7
25 Jan 2011, 9:56 PM
#1
maxy007 avatar

maxy007

Zen Follower

Join Date:
Dec 2010
Posts:
248
Plugin Contributions:
0

New EZ page-- no text

Hellooo and Happy Australia day :clap:

I've created an EZ page and have it showing up under my heading "Good to Know" When I click on the E-Juice link there is no information. I wrote a whole lot of text for the page and it is visible in Admin> tools> Define pages editor.

I think I'm getting EZ pages mixed up with define pages!!

What file do I need to edit to have text appear under the E-Juice EZ page?

Also how do I get rid of the text "You can include text, links, images, HTML markup and even PHP code" This is showing up under the E-Juice link.

Please help. I'm going greyer!!!

cheers,

Maxy

Mitch B
www.lovetovape.com.au
love the Zen-Cart forums!!!

25 Jan 2011, 10:01 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: New EZ page-- no text

Edit/create EZpages in admin>tools>ez-pages

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

25 Jan 2011, 10:04 PM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: New EZ page-- no text

That text will be in your sidebox's module or tpl_ file.

To make a define page show in the ez-page links menu, make an "internal link" ez-page. The only content of that will be the link to the define page, entered at the bottom in the "internal link" box. Name the ez-page the way you want the link to appear, and give it appropriate sort orders.

25 Jan 2011, 10:05 PM
#4
maxy007 avatar

maxy007

Zen Follower

Join Date:
Dec 2010
Posts:
248
Plugin Contributions:
0

Re: New EZ page-- no text

Excellent!!
Off to a BBQ then I'll get stuck into it... if I haven't had one to many beverages :wink:

Mitch B
www.lovetovape.com.au
love the Zen-Cart forums!!!

26 Jan 2011, 6:14 AM
#5
maxy007 avatar

maxy007

Zen Follower

Join Date:
Dec 2010
Posts:
248
Plugin Contributions:
0

Re: New EZ page-- no text

I kept the EZ pages and removed the text from Lines #**19 & 20 of the TPL_blank_sidebox **file as shown in red below:

<?php /** * blank sidebox - allows a blank sidebox to be added to your site * * @package templateSystem * @copyright 2007 Kuroi Web Design * @copyright Portions Copyright 2003-2007 Zen Cart Development Team * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: blank_sidebox.php 2007-05-26 kuroi $ */ $content = ''; $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">'; // Replace the text and HTML tags between the apostophes on lines 19 and 20. // Use as many or as few lines using this model as you need for your custom content. // If you have a multilingual site define your text in the languages/YOUR_LANGUAGE/extra_definitions/blank_sidebox_defines.php and include it as shown in line 19. // If your site is monolingual, you can put the text right here as shown on line 20 (and nobody will know!) $content .= '<p>' . TEXT_BLANK_SIDEBOX . '</p>'; $content .= '<p>You can include text, links, images, HTML markup and even PHP code</p>'; $content .= '</div>'; ?>

I thought I'd post this in case it helps someone else.

Cheers,

Maxy

Mitch B
www.lovetovape.com.au
love the Zen-Cart forums!!!

26 Jan 2011, 6:43 AM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: New EZ page-- no text

$content .= '</div>';
?>

You shouldn't remove that </div>, as it balances the '<div id="' . str_replace(... at the top of the file.
If your output needs one less </div> to be correct, it would be better to remove it from the $content accumulation in the module file, or add one at the beginning of the module sequence if really necessary.

26 Jan 2011, 6:50 AM
#7
maxy007 avatar

maxy007

Zen Follower

Join Date:
Dec 2010
Posts:
248
Plugin Contributions:
0

Re: New EZ page-- no text

Thanks Glenn,
I put that back with no problems!! :D

Mitch B
www.lovetovape.com.au
love the Zen-Cart forums!!!