X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   Introducing... xBanners for X-Cart (https://forum.x-cart.com/showthread.php?t=57190)

Will Hayes 08-10-2012 05:49 AM

Re: Introducing... xBanners for X-Cart
 
Hi kevbentz,

Yes, you can always insert your xBanner tag into a <div> structure that have been styled to center any content into the middle of the page. If you are still having trouble, post a ticket to our support design - one of our designers will send you the required code & css.

kevbentz 08-10-2012 07:34 AM

Re: Introducing... xBanners for X-Cart
 
Quote:

Originally Posted by Will Hayes
Hi kevbentz,

Yes, you can always insert your xBanner tag into a <div> structure that have been styled to center any content into the middle of the page. If you are still having trouble, post a ticket to our support design - one of our designers will send you the required code & css.


I tried the <div> thing and edited the css to add margin-right: auto; and margin-left: auto; and it worked momentarily... then it's back to the left.... :?:

I've submitted ticket #GKX-441-52539, thanks!

Will Hayes 08-13-2012 12:19 PM

Re: Introducing... xBanners for X-Cart
 
Hi Kevin,

We received your ticket earlier - I'm glad to hear we've resolved your issue now.
Thanks for getting in touch.

regards
W.

kevbentz 08-14-2012 07:38 AM

Re: Introducing... xBanners for X-Cart
 
Quote:

Originally Posted by Will Hayes
Hi Kevin,

We received your ticket earlier - I'm glad to hear we've resolved your issue now.
Thanks for getting in touch.

regards
W.


Thanks for the excellent support!

philrisk 02-15-2013 07:15 AM

Re: Introducing... xBanners for X-Cart
 
Is there any reason this module is very slow loading the banners in the admin side and also slows the homepage load time down with database calls? Admin is very slow.

Will Hayes 02-15-2013 08:23 AM

Re: Introducing... xBanners for X-Cart
 
Hi Phil,

xBanners should not impact on your sites loading times (frontend or backend), as you know many factors can contribute to a slow loading page (image sizes, server performance, server connections, non use of sprites, compressed JS & CSS, local network, etc) trying to pinpont this can be tricky.

If you could post your question over to our support helpdesk - one of our engineers can investigate your specific problem, you will get a much quicker response from us there - as we don't check the forums out of office hours.

thanks
W.

albertchui 03-09-2013 03:06 PM

Re: Introducing... xBanners for X-Cart
 
Quote:

Originally Posted by Will Hayes
Hi kevbentz,

Yes, you can always insert your xBanner tag into a <div> structure that have been styled to center any content into the middle of the page. If you are still having trouble, post a ticket to our support design - one of our designers will send you the required code & css.


hi, wil, could you give me the sample code for the insert, thanks

albert

Will Hayes 03-11-2013 04:26 AM

Re: Introducing... xBanners for X-Cart
 
Hi Albert,

When you say "the sample code for the insert" - do you mean the xBanners template tag?
If so, then this code is generated automatically when you create a template position tag.
The tag should look something like this (maybe with a different number appended to it)
{$txs_xb_pos_1}

Simply copy & paste this code into your x-cart smarty template file - the file you pate it into will determine where exactly the xBanners will appear on your website.

If you have any more questions, try sending to our support helpdesk
http://support.thexcartstore.com
- they will be responded to much quicker there.

regards
W.

albertchui 03-11-2013 08:25 AM

Re: Introducing... xBanners for X-Cart
 
Quote:

Originally Posted by Will Hayes
Hi Albert,

When you say "the sample code for the insert" - do you mean the xBanners template tag?
If so, then this code is generated automatically when you create a template position tag.
The tag should look something like this (maybe with a different number appended to it)
{$txs_xb_pos_1}

Simply copy & paste this code into your x-cart smarty template file - the file you pate it into will determine where exactly the xBanners will appear on your website.

If you have any more questions, try sending to our support helpdesk
http://support.thexcartstore.com
- they will be responded to much quicker there.

regards
W.



hi, wil, it doesn't work, i tried to insert into home.tpl and /busy-kitchen/customer/menu_cart.tpl, both are not working, below is my /busy-kitchen/customer/menu_cart.tpl

{if $config.General.ajax_add2cart eq 'Y' and $main ne 'cart' and $main ne 'checkout'}
{include file="customer/ajax.minicart.tpl" _include_once=1}
{/if}
{capture name=menu}
<!-- Header Information Box, Navigation & Search Begin -->
<div id="info-box-holder" class="menu-minicart ajax-minicart full-mini-cart"> <!-- Info Box Holder Open -->

<div class="h-left"> <!-- Header Panel Left Open -->

<!-- Info Navigation Begin -->
<ul id="info-box-navi">
{foreach from=$speed_bar item=sb name=tabs}
<li {if $smarty.foreach.tabs.last} class="last"{/if}><a href="{$sb.link|amp}">{$sb.title}</a></li>
{/foreach}
</ul>
<!-- Info Navigation End -->

{include file="customer/search.tpl"}

<!-- Header Controls Begin -->
{include file="customer/cart_checkout_links.tpl"}
<ul class="h-controls2">
<li class="hc-link-a"><a href="help.php" title="{$lng.lbl_help_zone|escape}">{$lng.lbl_help _zone|escape}</a></li>
{if $all_languages|@count gt 1}
<li class="hc-link-b">

{foreach from=$all_languages item=l name=languages}
{if $store_language eq $l.code}
{assign var="lng_dspl" value=$l.language}
{/if}
{/foreach}

<a id="info-lang">{$lng_dspl|default:$store_language}</a>
<div id="languages">
<ul>
{if $config.Appearance.line_language_selector eq 'F'}
{foreach from=$all_languages item=l name=languages}
{if $store_language eq $l.code}
<li>
<strong class="language-code lng-{$l.code}{if $smarty.foreach.languages.last} language-last{/if}"><img src="{if not $l.is_url}{$current_location}{/if}{$l.tmbn_url|amp}" alt="{$l.language|escape}" width="{$l.image_x}" height="{$l.image_y}" title="{$l.language|escape}" /></strong>
</li>
{else}
<li>
<a href="home.php?sl={$l.code}" class="language-code lng-{$l.code}{if $smarty.foreach.languages.last} language-last{/if}">
<img class="language-code-out" src="{if not $l.is_url}{$current_location}{/if}{$l.tmbn_url|amp}" alt="{$l.language|escape}" title="{$l.language|escape}" width="{$l.image_x}" height="{$l.image_y}" onmouseover="javascript:$(this).removeClass('langu age-code-out').addClass('language-code-over');" onmouseout="javascript:$(this).removeClass('langua ge-code-over').addClass('language-code-out');" />
</a>
</li>
{/if}
{/foreach}
{else}
{foreach from=$all_languages item=l}
<li><a href="home.php?sl={$l.code}">{$l.language}</a></li>
{/foreach}
{/if}
</ul>
</div>
</li>
{/if}
</ul>
<!-- Header Controls End -->

</div> <!-- Header Panel Left Close -->

<div class="h-right"> <!-- Header Panel Right Open -->

<!-- Header Phone Number Begin -->
{assign var="phone_num" value=$config.Company.company_phone}
<div class="h-phone"><strong>{if strlen($phone_num) lt 12}{$lng.lbl_txs_bk_tel}{/if}{$phone_num}</strong></div>
<!-- Header Phone Number Close -->

<!-- Header Info Cart Box Begin -->
<div class="h-panel">

<!-- MiniCart Link Begin -->
<div class="minicart-link" title="{$lng.lbl_txs_minicart}">
<img class="icon ajax-minicart-icon" src="{$AltSkinDir}/images/h-minicart-arrow.png" alt="Ajax Minicart" />
</div>
<!-- MiniCart Link End -->

<div class="h-text"><h3><a href="cart.php" title="{$lng.lbl_your_cart|escape}">{$lng.lbl_your _cart|escape}</a></h3></div>

{include file="customer/minicart_total.tpl"}



</div>
<!-- Header Info Cart Box End -->

</div> <!-- Header Panel Right Close -->

</div> <!-- Info Box Holder Open -->
<!-- Header Information Box, Navigation & Search End -->


{$txs_xb_pos_2}
{/capture}



{if $config.General.ajax_add2cart eq 'Y' and $main ne 'cart' and $main ne 'checkout' and $minicart_total_items gt 0}
{assign var=additional_class value="menu-minicart ajax-minicart"}
{else}
{assign var=additional_class value="menu-minicart"}
{/if}
{if $minicart_total_items gt 0}
{assign var=additional_class value="`$additional_class` full-mini-cart"}
{/if}

{$smarty.capture.menu}

thanks

Will Hayes 03-11-2013 08:31 AM

Re: Introducing... xBanners for X-Cart
 
Hi Albert,

It might be easier if you post this this query to support@thexcartstore.com
would you mind doing that - as troubleshooting this issue will be easier this way.

regards
W.


All times are GMT -8. The time now is 07:53 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.