Results 1 to 10 of 10
  1. #1
    Join Date
    Apr 2006
    Location
    Columbus, OH
    Posts
    99
    Plugin Contributions
    0

    Default problem with EZpages

    I created a couple of pages for my site using the EZpages option in the admin. The problem I'm having is that I don't know where they reside so I can add links to them in the navigation. Anyone know where the default location for EZpages is?

    Also with a similar issue, I downloaded a couple of additional pages for the site (about_us.php). Are there any issues in moving these into the main directory (eg, breaking links to essential files to make them work properly)?

  2. #2
    Join Date
    Jun 2006
    Location
    Michigan
    Posts
    196
    Plugin Contributions
    0

    Default Re: problem with EZpages

    To link to an EZ-page:

    index.php?main_page=page&id=15

    The ID is the Id number of the EZ-page you created. For some reason this doesn't seem to be documented anywhere. I should add it to the wiki.

    I wouldn't go moving things around within Zen. If you use Ezpages correctly you can link directly to anything you create.

    Good luck!

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: problem with EZpages

    If you load the demo mysql db, there is a good outline for ez-page setup & use. among many other useful items

  4. #4
    Join Date
    Apr 2006
    Location
    Columbus, OH
    Posts
    99
    Plugin Contributions
    0

    Default Re: problem with EZpages

    madk,

    I added the link but the page shows up blank. The copy I entered in admin for that page doesn't show up for some reason. I'm not sure if the problem is with the page/copy itself or with the link. Any suggestions?

  5. #5
    Join Date
    Jun 2006
    Location
    Michigan
    Posts
    196
    Plugin Contributions
    0

    Default Re: problem with EZpages

    Post a bit more info like the link itself and the page contents/id number.

  6. #6
    Join Date
    Apr 2006
    Location
    Columbus, OH
    Posts
    99
    Plugin Contributions
    0

    Default Re: problem with EZpages

    Here's how the link is coded in includes/languages/english/header.php:

    <li><a href="http://royalcoffeeandtea.com//index.php?main_page=page&id=5">BREWING TIPS</a></li>

    in the admin widow, I have No selected for Open New Window, Page in SSL, Sidebox, and TOC. I have Yes selected for Header and Footer, with the number 5 as the Order Number for both.

    The following text is in the HTML area box:
    <h1>How to Brew the Best-Tasting Coffee at Home</h1>
    <h2 class="firsttext">How often would you choose a bad cup of coffee over a well-brewed cup? If you enjoy your coffee, probably hardly ever if at all. However, most people think the best-brewed coffee is only available in expensive coffee shops. The truth is, you CAN make a great cup of coffee at home. The trick is knowing what you're doing. So many factors go into determining the difference between a great cup of coffee and a bad one. Here's some tips on improving your own coffee.</h2>

    <h3>Great coffee starts with great beans</h3>
    <p>This should be a no-brainer. If its not 100% arabica beans, its not the best. Most inexpensive coffee available in the grocery store is either 100% robusto beans (inferior quality) or a combination of arabica and robusto.</p>

    <h3>The best beans are fresh-roasted in small batches</h3>
    <p>Coffee beans begin to lose their flavor in about three weeks after their roasted. Unfortunately, you usually have no idea how long coffee has sat on the shelf, whether in the grocery store or in the coffee shop chain. We date every bag of coffee we sell with a roast date. That way you know when your coffee has sat too long.</p>
    <p>Also, roasting in small batches enables a more-even roasting, giving your coffee a more consistent flavor. Large batch roasting can lead to some beans being either under-roasted or burnt.</p>

    <h3>Grind your beans to the brewers specifications</h3>
    <p>Each coffee maker is different, and coffee beans should be ground in the way that brings out the best flavor. French presses require a coarser ground, while espresso makers require very fine grounds. Even the average coffee maker could require different grounds, depending on what filter they take. For example, cone-shaped filters need a finer ground than flat-bottomed filters.</p>
    <p>The best way to grind your beans is to use a bore-style grinder. The common blade grinders can burn the coffee if ground too long, and affect the taste. However, the best bore grinders are also fairly expensive. The best advice is be careful to not overgrind your coffee.</p>

    <h3>Measure your coffee</h3>
    <p>For many this is a measure of taste, but we find the best coffee grounds-to-water ratio is two level teaspoons of grounds to 8 oz. of water. Try it and see if it makes a difference.</p>

    <h3>Brew your coffee at proper temperatures</h3>
    <p>Coffee is best when brewed between 190 and 205 degrees F. Unfortunately, most inexpensive coffee brewers only get to around 180-185 degrees. Which leads us to our next tip...</p>

    <h3>Use proper brewing equipment</h3>
    <p>We recommend investing in a AquaBrew or Bunn coffee maker. They make brewers that use proper brewing temperatures and saturation. You will pay a bit more though. Better yet, invest in a French Press.</p>

    <h3>Use clean-filtered water</h3>
    <p>Coffee is primarily water, so it makes sense that the quality of that water affects the taste. We recommend using filtered water (bottled or from a filtration system). Try it once. We guarantee you won't want to use anything else.

    <h3>Store brewed coffee in thermal servers</h3>
    <p>We can't emphasize this enough...DO NOT USE BURNERS. They do more that keep your coffee warm, they actually burn it. Thermal carafes do a great job in preserving coffee's warmth without affecting the taste.

    <h3>Drink as nature intended...black</h3>
    <p>Many won't agree on this point, and that's ok. We think you experience the true flavor of our coffee without adding anything to it. Save the cream and sugar for the cheaper brands.</p>

    Nothing is in the internal and external URL areas

  7. #7
    Join Date
    Jun 2006
    Location
    Michigan
    Posts
    196
    Plugin Contributions
    0

    Default Re: problem with EZpages

    I checked out the link and you have 2 problems.

    1. Your link contains a double /. This shouldn't affect the link but you may want to correct it as I don't know how other browsers handle it.

    2. Your errors are:

    Code:
    Warning: main(includes/templates/template_default/sideboxes/tpl_blank_sidebox.php): failed to open stream: No such file or directory in /home/content/r/o/y/royalcoffee/html/includes/modules/sideboxes/testbox.php on line 31
    Looks like did a no no and edited something in the default dir. I would double check that file and make sure it exists. If not grab a default one from a fresh install and then when you edit your makes sure you do it in an override folder.

    Once you get that figured out we'll move onto why you can't see your ez pages.

    Good luck!

  8. #8
    Join Date
    Apr 2006
    Location
    Columbus, OH
    Posts
    99
    Plugin Contributions
    0

    Default Re: problem with EZpages

    I'm trying to create custom sideboxes and didn't code the display text properly, hence the error message. I shut off the box for now.

  9. #9
    Join Date
    Jun 2006
    Location
    Michigan
    Posts
    196
    Plugin Contributions
    0

    Default Re: problem with EZpages

    After looking over your HTML source I cannot see anything wrong. All your content just seems to be missing. Did you happen to edit tpl_main_page.php? If so post it's contents.

  10. #10
    Join Date
    Apr 2006
    Location
    Columbus, OH
    Posts
    99
    Plugin Contributions
    0

    Default Re: problem with EZpages

    All I remember doing is commenting out a few items (like the banners). Here's the code:

    if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes _on_here,separated_by_commas,and_no_spaces')) ) {
    $flag_disable_right = true;
    }


    $header_template = 'tpl_header.php';
    $footer_template = 'tpl_footer.php';
    $left_column_file = 'column_left.php';
    $right_column_file = 'column_right.php';
    $body_id = str_replace('_', '', $_GET['main_page']);
    ?>
    <body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
    <?php
    if (SHOW_BANNERS_GROUP_SET1 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET1)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerOne" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
    <?php
    }
    }
    ?>

    <div id="mainWrapper">
    <?php
    /**
    * prepares and displays header output
    *
    */
    require($template->get_template_dir('tpl_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header.php');?>

    <table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentMainWrapper">
    <tr>
    <?php
    if (COLUMN_LEFT_STATUS == 0 or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '')) {
    // global disable of column_left
    $flag_disable_left = true;
    }
    if (!isset($flag_disable_left) || !$flag_disable_left) {
    ?>


    <?php
    }
    ?>
    <td valign="top">
    <!-- bof breadcrumb
    <?php if (DEFINE_BREADCRUMB_STATUS == '1') { ?>
    <div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div>
    <?php } ?>
    eof breadcrumb -->

    <?php
    if (SHOW_BANNERS_GROUP_SET3 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerThree" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
    <?php
    }
    }
    ?>

    <?php
    /**
    * prepares and displays center column
    *
    */
    require($body_code); ?>

    <?php
    if (SHOW_BANNERS_GROUP_SET4 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET4)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerFour" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
    <?php
    }
    }
    ?></td>

    <?php
    if (COLUMN_RIGHT_STATUS == 0 or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '')) {
    // global disable of column_right
    $flag_disable_right = true;
    }
    if (!isset($flag_disable_right) || !$flag_disable_right) {
    ?>
    <td id="navColumnTwo" class="columnRight" style="width: <?php echo COLUMN_WIDTH_RIGHT; ?>">
    <?php
    /**
    * prepares and displays right column sideboxes
    *
    */
    ?>
    <div id="navColumnTwoWrapper" style="width: <?php echo BOX_WIDTH_RIGHT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_right.php')); ?></div></td>
    <?php
    }
    ?>
    </tr>
    </table>

    <?php
    /**
    * prepares and displays footer output
    *
    */
    require($template->get_template_dir('tpl_footer.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer.php');?>
    </div>
    <!--bof- parse time display -->
    <?php
    if (DISPLAY_PAGE_PARSE_TIME == 'true') {
    ?>
    <div class="smallText center">Parse Time: <?php echo $parse_time; ?> - Number of Queries: <?php echo $db->queryCount(); ?> - Query Time: <?php echo $db->queryTime(); ?></div>
    <?php
    }
    ?>
    <!--eof- parse time display -->
    <!--bof- banner #6 display
    <?php
    if (SHOW_BANNERS_GROUP_SET6 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET6)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerSix" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
    <?php
    }
    }
    ?>
    eof- banner #6 display

    <p><a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0 Transitional</a></p> -->

 

 

Similar Threads

  1. v154 Problem with Ezpages side box
    By dfontana in forum General Questions
    Replies: 3
    Last Post: 12 May 2015, 07:16 PM
  2. ezpages sidebar problem
    By mvstudio in forum General Questions
    Replies: 2
    Last Post: 29 Jun 2011, 08:43 PM
  3. Problem with ezpages on site map
    By Halollet in forum General Questions
    Replies: 0
    Last Post: 15 Aug 2010, 07:31 PM
  4. 1.3.6 upgrade problem with ezpages
    By kookiewookie in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 2 Nov 2006, 10:09 AM
  5. Problem with EZPages
    By darkswan in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Jun 2006, 01:32 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