Page 43 of 68 FirstFirst ... 33414243444553 ... LastLast
Results 421 to 430 of 672
  1. #421
    Join Date
    Sep 2006
    Posts
    405
    Plugin Contributions
    0

    Default Re: Acadame - Another Professional Template

    Hi Jaskarn,

    honestly I quite cant remember anymore how and what i did exactly.
    I just looked over my files and I guess it was in

    includes/templates/YOUR_TEMPLATE/sideboxes/tpl_login_header.php

    I just compared the original mod files and my changed file and I found out that there was another difference which I cant remember have done, so not complicating things too much here is the entire file and replace it with yours, please back up yours first in case it doesnt work for you...

    <?php
    //
    // +----------------------------------------------------------------------+
    // |zen-cart Open Source E-commerce |
    // +----------------------------------------------------------------------+
    // | Copyright (c) 2003 The zen-cart developers |
    // | |
    // | http://www.zen-cart.com/index.php |
    // | |
    // | Portions Copyright (c) 2003 osCommerce |
    // +----------------------------------------------------------------------+
    // | This source file is subject to version 2.0 of the GPL license, |
    // | that is bundled with this package in the file LICENSE, and is |
    // | available through the world-wide-web at the following url: |
    // | http://www.zen-cart.com/license/2_0.txt. |
    // | If you did not receive a copy of the zen-cart license and are unable |
    // | to obtain it through the world-wide-web, please send a note to |
    // | [email protected] so we can mail you a copy immediately. |
    // +----------------------------------------------------------------------+
    //

    // Designed for Zen Cart v1.00 Alpha
    // Created by: Linda McGrath [email protected]
    // Modified by: Eggert Johannesson [email protected]
    // Second Modification by: Iasmin B. [email protected]

    $content = '<div align="left">';

    if(!$_SESSION['customer_id']) {
    echo zen_draw_form('account_box', zen_href_link(FILENAME_LOGIN, 'action=process', 'SSL'));

    $account_box_content = "
    <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
    <tr>
    <td align=\"right\" valign=\"middle\" class=\"boxText\">" . ACCOUNT_BOX_EMAIL_ADDRESS .
    "</td>
    <td align=\"right\" valign=\"middle\" class=\"boxText\">" . zen_draw_input_field('email_address',
    '', 'size="10"') . "</td>
    <td align=\"right\" valign=\"middle\" class=\"boxText\">" . ACCOUNT_BOX_PASSWORD . "</td>
    <td align=\"right\" valign=\"middle\" class=\"boxText\">" . zen_draw_password_field('password',
    '', 'size="10"') . "</td>
    <td align=\"right\" valign=\"center\" class=\"boxText\">" . '&nbsp;<input type="submit" value="' . HEADER_TITLE_LOGIN . '" style="width:40px" />' . "</td>
    <table> <br />" . ' <a class="menu" href="' . zen_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">'
    . ACCOUNT_BOX_PASSWORD_FORGOTTEN . '</a>&nbsp;' . " " . '&nbsp;<a class="menu" href="' . zen_href_link(FILENAME_LOGIN, '', 'SSL') . '">'
    . ACCOUNT_BOX_CREATE_ACCOUNT . '</a>' . "</table></tr>

    </table></form>
    ";
    } else {
    $account_box_content = '
    <a class="headerNavigation" href="' . zen_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . ACCOUNT_BOX_ACCOUNT . '</a>&nbsp;' .
    '&nbsp;<a class="headerNavigation" href="' . zen_href_link(FILENAME_LOGOFF, '', 'SSL') . '">' . ACCOUNT_BOX_LOGOFF . '</a>&nbsp;'
    ;
    }

    $content .= $account_box_content;

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

    Let me know if it worked for you...

    Best regards,
    kruna

  2. #422
    Join Date
    Nov 2007
    Location
    Auckland, New Zealand
    Posts
    61
    Plugin Contributions
    0

    Default Re: Acadame - Another Professional Template

    Hi Kruna,
    Thanks for that. It did make the 2 texts go underneath the login boxes, although still the 2 header are not aligned on one lline. I guess i have probably made a mistake in the some code somewhere, since there should be enough space now.

  3. #423
    Join Date
    Sep 2006
    Posts
    405
    Plugin Contributions
    0

    Default Re: Acadame - Another Professional Template

    Hi Jaskarn,

    do you have a link to see? Maybe it is just something in the stylesheet...

    regards,
    kruna

  4. #424
    Join Date
    Nov 2007
    Location
    Auckland, New Zealand
    Posts
    61
    Plugin Contributions
    0

    Default Re: Acadame - Another Professional Template

    Hi Kruna,
    Thank you for the prompt reply. The link is www.dgtech.co.nz

  5. #425
    Join Date
    Sep 2006
    Posts
    405
    Plugin Contributions
    0

    Default Re: Acadame - Another Professional Template

    Hi Jaskarn,

    try to change teh following in your stylesheet:

    In line 232 it says

    #cart_header
    float:left;

    change it to

    float:right;

    Did this help? Dont forget to cache the browser to see if really the change was applicated...

    regards,
    kruna

  6. #426
    Join Date
    Sep 2006
    Posts
    405
    Plugin Contributions
    0

    Default Re: Acadame - Another Professional Template

    Hi JAskarn...

    wait!!!

    sorry but just found out that you have another stylesheet too...

    Please change the float:right; in you stylesheetdef.css

    I guess still it is necessary to adjust it a bit, but at least it is on the left side

    regards,
    kruna

  7. #427
    Join Date
    Nov 2007
    Location
    Auckland, New Zealand
    Posts
    61
    Plugin Contributions
    0

    Default Re: Acadame - Another Professional Template

    Hi Kruna,
    I will try it out right now. the stylesheetdef.css is ment be the default file (backup). I hope zencart it not using it.

  8. #428
    Join Date
    Sep 2006
    Posts
    405
    Plugin Contributions
    0

    Default Re: Acadame - Another Professional Template

    Hi JAskarn,

    I guess it is...

    I tried to make edit/change your stylesheet in FIREFOX and the change was made successfully in the stylesheetdef.css.

    I am afraid I dont know enough to tell you why and whether the backup file is used or not...

    Give it a try and let me know and please back up first...I know this is nasty to repeat it, but better tell it than not...

    regards,
    kruna

  9. #429
    Join Date
    Sep 2006
    Posts
    405
    Plugin Contributions
    0

    Default Re: Acadame - Another Professional Template

    Hi Jaskarn,
    just saw that you made the change...and I also saw the result...

    You would also need to change in line 209
    #topBar{
    width:1200px;
    margin:auto;
    color:#2C2C2C;
    font-weight:bold;
    padding: .8em;
    }
    to width:750px

    and then we will try to adjust a bit more...


    regards,
    kruna

  10. #430
    Join Date
    Nov 2007
    Location
    Auckland, New Zealand
    Posts
    61
    Plugin Contributions
    0

    Default Re: Acadame - Another Professional Template

    Hi Kruna,
    I have deleted the stylesheetdef.css file now. And made the same changes in the normal stylesheet.css file. The login header is on the left top and the cart header is on the right bottom, but still not on one line. I guess another solution would be to make a new header file with both headers intgrated into one. I am willing to provide you the ftp user and password so that you can make changes as you wish.

 

 
Page 43 of 68 FirstFirst ... 33414243444553 ... LastLast

Similar Threads

  1. New to Zencart, using Acadame template
    By bellabel in forum Addon Templates
    Replies: 5
    Last Post: 27 Jun 2011, 07:52 PM
  2. Replies: 2
    Last Post: 16 Dec 2008, 03:44 AM
  3. Installing Acadame Template
    By jbreezy in forum Addon Templates
    Replies: 2
    Last Post: 19 Nov 2008, 11:29 AM
  4. Acadame Template Help
    By trisha1581 in forum Addon Templates
    Replies: 0
    Last Post: 13 May 2008, 08:44 PM
  5. Plz help me! Acadame Template
    By wardah15 in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 12 Feb 2008, 10:26 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR