Results 1 to 5 of 5

Thread:

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User badboybadboy's Avatar
    Join Date: Mar:2008
    Location: sofia
    Posts: 10,496

    "My Compare". , , - . .
    - {*...*} .




    nav.tpl

    PHP Code:
    ...
    <!-- <
    div id="contact-link">
        <
    a href="{$link->getPageLink('contact'true)|escape:'html':'UTF-8'}title="{l s='Contact Us' mod='blockcontact'}">{l s='Contact us' 
    mod='blockcontact'}</a>
    </
    div>
    {if 
    $telnumber}
        <
    span class="shop-phone">
            <
    class="icon-phone"></i>{l s='Call us now:' mod='blockcontact'} <strong>{$telnumber}</strong>
        </
    span>
    {/if} -->
    <
    div class="header_links_wrap">
        <
    ul id="header_links">
            {
    $context Context::getContext()}
            <
    li><class="link-myaccount" href="{$link->getPageLink('my-account'true)|escape:'html'}title="{l s='My account' 
    mod='blockcontact'}"
    >{l s='My account' mod='blockcontact'}</a></li>
            
            {*<
    li><class="link-wishlist wishlist_block" href="{$context->link->getModuleLink('blockwishlist''mywishlist')}title="{l s='My 
    wishlist' mod='blockcontact'}"
    >{l s='My wishlist' mod='blockcontact'}</a></li>*}
            
            <
    li><class="link-mycart" href="{$link->getPageLink('order'true)|escape:'html'}title="{l s='My cart' mod='blockcontact'}">{l s='My 
    cart' 
    mod='blockcontact'}</a></li>
            <
    li class="my-compare">
                <
    form method="post" action="{$link->getPageLink('products-comparison')|escape:'html':'UTF-8'}class="compare-form">
                    <
    button type="submit" class="btn btn-default button button-medium bt_compare bt_compare{if isset($paginationId)}_
    {$paginationId}{/if}" disabled="disabled">
                        <
    span>{l s='My Compare'} (<strong class="total-compare-val">{count($compared_products)}</strong>)</span>
                    </
    button>
                    <
    input type="hidden" name="compare_product_count" class="compare_product_count" value="{count($compared_products)}" />
                    <
    input type="hidden" name="compare_product_list" class="compare_product_list" value="" />
                </
    form>
            </
    li>
            {if 
    $logged}
                    <!--<
    a href="{$link->getPageLink('my-account'true)|escape:'html'}title="{l s='View my customer account' 
    mod='blockuserinfo'}" 
    class="account" rel="nofollow"><span>{$cookie->customer_firstname} {$cookie->customer_lastname}</span></a>-->
                    <
    li class="last"><class="link-out" href="{$link->getPageLink('index'trueNULL"mylogout")|escape:'html'}
    title="{l s='Log out' mod='blockcontact'}"  rel="nofollow">{l s='Log out' mod='blockcontact'}</a></li>
                {else}
                    <
    li class="last"><class="link-login" href="{$link->getPageLink('my-account'true)|escape:'html'}title="{l s='Login' 
    mod='blockcontact'}"  
    rel="nofollow">{l s='Login' mod='blockcontact'}</a></li>
            {/if}
            
        </
    ul>
    </
    div

    bg.php

    PHP Code:
    ...
    $_MODULE['<{blockcontact}test>nav_d95cf4ab2cbf1dfb63f066b50558b07d'] = ' ';
    $_MODULE['<{blockcontact}test>nav_dae3b417a0fc4a49e851ce55d6d49551'] = ' ';
    $_MODULE['<{blockcontact}test>nav_99dea78007133396a7b8ed70578ac6ae'] = ''
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	my-compare.jpg‎ 
Views:	291 
Size:	12.7 KB 
ID:	76914  

  2. #2
    Registered User pafffkata's Avatar
    Join Date: Mar:2008
    Location: Bulgaria, Sofia (originally from Pazardzhik)
    Posts: 165
    Nevermind...
    Last edited by pafffkata; 8th July 2015 at 09:29. Reason: .
    Vulnerant omnes, ultima necat

  3. #3
    Registered User
    Join Date: Feb:2011
    Location:
    Posts: 233
    nav.tpl :
    Code:
     <span>{l s='My Compare'} (<strong class="total-compare-val">{count($compared_products)}</strong>)</span>

    Code:
     <span>{l s='My Compare' mod='blockcontact'} (<strong class="total-compare-val">{count($compared_products)}</strong>)</span>
    bg.php :
    Code:
    $_MODULE['<{blockcontact}test>nav_7d425934605357666dc6f2cd0f9a2096'] = '    ';

  4. #4
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    .
    - nav_ MD5 "" tpl ( My Compare) . , /, , .
    , , .

  5. #5
    Registered User badboybadboy's Avatar
    Join Date: Mar:2008
    Location: sofia
    Posts: 10,496
    . ! "7d425934605357666dc6f2cd0f9a2096" .

    . .


    : "My Compare" .
    Last edited by badboybadboy; 8th July 2015 at 10:41.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |