Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    May 2006
    Posts
    82
    Plugin Contributions
    0

    Default Main Page layout

    Ok here are my list of questions. I have seen shops that have the New Products box at the bottom be broken into 6 different boxes. How can I do this? Also I want to take out the outline on that as well.

    The next one is at the top I want to add tabs in place of the words of the links.'
    So instead of figurines and magnets I want tabs that I want in their place.

    TY SOmuch for all the help.

  2. #2
    Join Date
    May 2006
    Posts
    82
    Plugin Contributions
    0

    Default Re: Main Page layout

    The other thing is how this persons site I just saw. http://www.jelcards.com/
    He has the top bar taken off....how can I get that off the top as well?

  3. #3
    Join Date
    Dec 2005
    Location
    Cincinnati Ohio
    Posts
    1,026
    Plugin Contributions
    13

    Default Re: Main Page layout

    Making a custom template would do the job, or mess around with tpl_main_page.php and tpl_header.php in includes/templates/yourtemplate/common file this is for 1.3 version not sure about earlier versions depends on the template you have.

    Good Luck

    http://www.wilson-cellular.com use our website for example

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Main Page layout

    Quote Originally Posted by SonyaT
    The other thing is how this persons site I just saw. http://www.jelcards.com/
    He has the top bar taken off....how can I get that off the top as well?
    He hasn't actually taken the top bar off, he's just swapped it with the logo section. This is done in tpl_header.php in the common directory of your template by swapping the section that starts <!--bof-navigation display--> and ends <!--eof-navigation display--> with the one starting <!--bof-branding display--> and ending <!--eof-branding display-->. A surprisingly high number of designers do this (including me).

  5. #5
    Join Date
    May 2006
    Posts
    82
    Plugin Contributions
    0

    Default Re: Main Page layout

    TY that is exactly what I wanted. I was looking at my store and I know I will need the log in and was wondering how that would work. TY so much.

    Now if only I could get an answer on how to replace at the top where the text links to the products are to tabs or buttons

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Main Page layout

    Quote Originally Posted by SonyaT
    The next one is at the top I want to add tabs in place of the words of the links.'
    So instead of figurines and magnets I want tabs that I want in their place.
    Those category links across the top are referred to as "category tabs".
    You can style them however you like, using the tpl_modules_category_tabs.php and the related styles in the stylesheet.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    May 2006
    Posts
    82
    Plugin Contributions
    0

    Default Re: Main Page layout

    Quote Originally Posted by kuroi
    He hasn't actually taken the top bar off, he's just swapped it with the logo section. This is done in tpl_header.php in the common directory of your template by swapping the section that starts <!--bof-navigation display--> and ends <!--eof-navigation display--> with the one starting <!--bof-branding display--> and ending <!--eof-branding display-->. A surprisingly high number of designers do this (including me).
    I did that but it is not like that in my classics tplheader php.
    This is whats in that one.

    <?php
    /**
    * Common Template - tpl_header.php
    *
    * this file can be copied to /templates/your_template_dir/pagename<br />
    * example: to override the privacy page<br />
    * make a directory /templates/my_template/privacy<br />
    * copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_header.php<br />
    * to override the global settings and turn off the footer un-comment the following line:<br />
    * <br />
    * $flag_disable_header = true;<br />
    *
    * @package templateSystem
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: tpl_header.php 3192 2006-03-15 22:37:24Z wilt $
    */
    // Display all header alerts via messageStack:
    if ($messageStack->size('header') > 0) {
    echo $messageStack->output('header');
    }
    ?>
    <table class="centershop" border="0" cellspacing="0" cellpadding="0">
    <?php
    if (!isset($flag_disable_header) || $flag_disable_header == false) {
    ?>
    <tr><td>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="headerNavigation">
    <tr>
    <td align="left" valign="top" width="35%" class="headerNavigation">
    <a href="<?php echo zen_href_link(FILENAME_DEFAULT, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CATALOG; ?></a>&nbsp;|&nbsp;
    <?php if (isset($_SESSION['customer_id'])) { ?>
    <a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a>&nbsp;|&nbsp;
    <a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>
    <?php
    } else {
    if (STORE_STATUS == '0') {
    ?>
    <a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a>
    <?php } } ?>
    </td>
    <td align="center" width="30%" class="headerNavigation"><?php require(DIR_WS_MODULES . 'sideboxes/' . 'search_header.php'); ?></td>
    <td align="right" valign="top" width="35%" class="headerNavigation">
    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>&nbsp;|&nbsp;<a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?>&raquo;</a>
    <?php }?>
    </td>
    </tr>
    </table>
    <table border="0" width="100%" cellspacing="0" cellpadding="0" class="header">
    <tr><!-- All HEADER_ definitions in the columns below are defined in includes/languages/english.php //-->
    <td valign="middle" height="<?php echo HEADER_LOGO_HEIGHT; ?>" width="<?php echo HEADER_LOGO_WIDTH; ?>">
    <?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT) . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?>
    </td>
    <td align="center" valign="top">
    <?php
    if (HEADER_SALES_TEXT != '') {
    echo HEADER_SALES_TEXT;
    }
    if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
    if ($banner->RecordCount() > 0) {
    echo zen_display_banner('static', $banner);
    }
    }
    ?>
    </td>
    </tr>
    </table>
    <?php
    if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) {
    ?>
    <table border="0" width="100%" cellspacing="0" cellpadding="2">
    <tr class="headerError">
    <td class="headerError"><?php echo htmlspecialchars(urldecode($_GET['error_message'])); ?></td>
    </tr>
    </table>
    <?php
    }
    if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) {
    ?>
    <table border="0" width="100%" cellspacing="0" cellpadding="2">
    <tr class="headerInfo">
    <td class="headerInfo"><?php echo htmlspecialchars($_GET['info_message']); ?></td>
    </tr>
    </table>
    <?php
    }
    ?>
    <?php
    } else {
    ?>
    <tr><td>
    <?php
    }
    ?>
    <!--bof-optional categories tabs navigation display-->
    <?php
    if (CATEGORIES_TABS_STATUS == '1') {
    require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php');
    }
    ?>
    <!--eof-optional categories tabs navigation display-->

    <!--bof-header ezpage links-->
    <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
    <?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
    <?php } ?>
    <!--eof-header ezpage links-->

    So I don't know which one to switch there because I switched them in the default templete but it hasn't changed the main page. GRRRR

  8. #8
    Join Date
    May 2006
    Posts
    82
    Plugin Contributions
    0

    Default Re: Main Page layout

    Bump in hopes of getting help

  9. #9
    Join Date
    May 2006
    Posts
    82
    Plugin Contributions
    0

    Default Re: Main Page layout

    nevermind I figured it out myself.

  10. #10
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Main Page layout

    Quote Originally Posted by SonyaT
    nevermind I figured it out myself.
    Always the best way. Glad to hear you're making progress.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Front page or main page layout - start with certain category
    By gloerick in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Aug 2009, 07:07 AM
  2. main page layout
    By shiningfaery in forum Basic Configuration
    Replies: 4
    Last Post: 26 Mar 2009, 08:23 PM
  3. Main Page Layout
    By a4tech in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Jul 2007, 05:00 PM
  4. Main Page Layout
    By beth99 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 15 Nov 2006, 08:12 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