Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

X-Cart Smart Template v4.4.x

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #241  
Old 02-05-2011, 08:38 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: X-Cart Smart Template v4.4.x

@ Soft-Seller post 228

The iframe you have is inside a table. Keep the width=100% for the iframe and add same (width="100%") for the table container
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #242  
Old 02-05-2011, 08:55 PM
  Soft-Reseller.com's Avatar 
Soft-Reseller.com Soft-Reseller.com is offline
 

Advanced Member
  
Join Date: Jul 2009
Posts: 68
 

Default Re: X-Cart Smart Template v4.4.x

Quote:
Originally Posted by cflsystems
@ Soft-Seller post 228

The iframe you have is inside a table. Keep the width=100% for the iframe and add same (width="100%") for the table container

Hello

Thank you for your reply.

where I will find this table container. I have tried but didnt find anywhere.

regards
Kashif
Reply With Quote
  #243  
Old 02-06-2011, 04:10 AM
 
JacksmithxD JacksmithxD is offline
 

X-Adept
  
Join Date: Oct 2010
Posts: 400
 

Default Re: X-Cart Smart Template v4.4.x

Quote:
Originally Posted by open
HI,
We all purchased xcart also and over 218,400 posts for help in the forums do show that asking and reading will get you the solution and improved features you are looking for. Then you can help other new users with your experiences. When researching what cart system to use the forum real life help files available will make a difference as to people's software choice. Keep up the super support people.
Read what I posted, I said template aka this template not xcart itself. People are expecting to much of Phil.
__________________
Xcart 4.5.2
Reply With Quote
  #244  
Old 02-06-2011, 04:58 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: X-Cart Smart Template v4.4.x

Quote:
Originally Posted by Soft-Reseller.com
Hello

Thank you for your reply.

where I will find this table container. I have tried but didnt find anywhere.

regards
Kashif

It's the one you are inserting the iframe in

<table cellspacing="0" cellpadding="0" summary="Description">
<tbody><tr>
<td class="descr"><iframe height="1500" frameborder="0" align="center" width="100%"
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
PhilJ (02-06-2011)
  #245  
Old 02-06-2011, 05:02 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart Smart Template v4.4.x

I use this script for IFRAME's - it auto resizes the frame height according to the content, so no need for fixed height...

http://www.phpmix.org/iframe_height_auto_resize

http://www.phpmix.org/iframe_height_auto_resize/iframe_height_auto_resize_the_code

Example usage...

Code:
{* IE7 Compatibility *} {literal} <style type="text/css"> .my_iframe { position:relative; left:0px; top:0px; z-index:0; width:100%; height:auto; opacity:1.0; -moz-opacity:1.0; } </style> {/literal} {* /IE7 Compatibility *} <div class="my_iframe"><iframe src="PATH_TO_CONTENT.html" onload="DYNIFS.resize('my_iframe')" id="my_iframe" name="my_iframe" allowtransparency="true" frameborder="0" scrolling="no" style="background-color:transparent; margin:0px; padding:0px; border:0px; width:100%; height:auto;">Sorry, your browser doesn't support iframes.</iframe></div>
__________________
xcartmods.co.uk
Reply With Quote
  #246  
Old 02-06-2011, 07:11 AM
  Soft-Reseller.com's Avatar 
Soft-Reseller.com Soft-Reseller.com is offline
 

Advanced Member
  
Join Date: Jul 2009
Posts: 68
 

Default Re: X-Cart Smart Template v4.4.x

Quote:
Originally Posted by cflsystems
It's the one you are inserting the iframe in

<table cellspacing="0" cellpadding="0" summary="Description">
<tbody><tr>
<td class="descr"><iframe height="1500" frameborder="0" align="center" width="100%"


Hello

In my post

http://forum.x-cart.com/showpost.php?p=309710&postcount=228

I raised a problem I was facing. I write the problem again so it may help anybody facing the same.

---------------------------------------------------------------------------------------------

In detail description of a product I am using iframe.

The details with simple details shows in full Tab space.

http://www.soft-reseller.com/eshop/WinRAR.html
http://demos.soft-reseller.com/x-cart/forum_pics/description_without_Iframe.png

and where I use iframe and call a webpage there it shows like this

http://www.soft-reseller.com/eshop/AVG-PC-TuneUP-2011.html
http://demos.soft-reseller.com/x-cart/forum_pics/description_with_Iframe.png

---------------------------------------------------------------------------------------------


I want to say Thanks to cflsystems who helped me and gave me idea to solve the problem.

in File "tabs.tpl" in "custom" Folder line No. 55

"<table cellspacing="0" cellpadding="0" summary="{$lng.lbl_description|escape}">"

add width="100%" i.e

"<table cellspacing="0" cellpadding="0" width="100%" summary="{$lng.lbl_description|escape}">"

this will solve the problem.

Thanks cflsystems for help.

And PhilJ really great Template I love it there are some issues initially and that might be due to my very little knowledge in php but I know this Template will give my site a very impressive look.

Best Regards to both of you.
Soft-reseller.com
Reply With Quote
  #247  
Old 02-06-2011, 08:15 AM
 
sparker2 sparker2 is offline
 

eXpert
  
Join Date: Feb 2007
Posts: 290
 

Default Re: X-Cart Smart Template v4.4.x

Hello, can someone please tell me how to resize this drop-down list that I am using below. Someone was so kind to share this code to create this drop list for my product categories but for some reason it will not re-size the width automatically to show the full category names and the names are being cut off on the right hand side. List works great, just needs to be wider and I have no idea where to start.


<select name="listCategories" onchange="window.location=this.options[selectedIndex].value">
<option value=""><font class="VertMenuItems">Select A Product Category</font></option>
{foreach from=$categories_menu_list item=c name=categories}
{if $c.order_by < 899 && $c.product_count ne 0}
<option value="home.php?cat={$c.categoryid}">{$c.category} </font></option>
{/if}
{/foreach}
</select>







I created a template called dropdown_categories.tpl and I have placed it here on my header page:

<div id="st_menu_container">
<div id="st_menu">
{if $config.Smart_Template.st_horiz_menu eq "Y"}
{include file="custom/horiz_categories.tpl"}
{else}
{include file="custom/dropdown_categories.tpl"}
{/if}
</div>
</div>

--------------------------------------------------------------------
Inside my css the style is set to:

#st_menu_container { float: left; width: 42%; }
#st_menu { margin-right: 0px; }

These settings do nothing for the size though.

Thank you for your help and time. Shareen
__________________
Shareen
sparker2@cox.net
http://www.stitches4u.com
X-Cart Version 4.5.0 with Smart Template vs 4.4.x
Reply With Quote
  #248  
Old 02-06-2011, 09:09 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart Smart Template v4.4.x

Code:
<select name="listCategories" onchange="window.location=this.options[selectedIndex].value" style="width:100%"> <option value=""><font class="VertMenuItems">Select A Product Category</font></option> {foreach from=$categories_menu_list item=c name=categories} {if $c.order_by < 899 && $c.product_count ne 0} <option value="home.php?cat={$c.categoryid}">{$c.category} </font></option> {/if} {/foreach} </select>
You can adjust the % value or use a fixed pixel value - style="width:200px"
__________________
xcartmods.co.uk
Reply With Quote
  #249  
Old 02-06-2011, 09:20 AM
 
sparker2 sparker2 is offline
 

eXpert
  
Join Date: Feb 2007
Posts: 290
 

Default Re: X-Cart Smart Template v4.4.x

Phil, Thank you so much! You have made my day because I have been stuck on this for weeks. Thanks again! Take Care!
__________________
Shareen
sparker2@cox.net
http://www.stitches4u.com
X-Cart Version 4.5.0 with Smart Template vs 4.4.x
Reply With Quote
  #250  
Old 02-06-2011, 12:49 PM
 
sparker2 sparker2 is offline
 

eXpert
  
Join Date: Feb 2007
Posts: 290
 

Default Re: X-Cart Smart Template v4.4.x

I would like to know if there is a way to increase the size of the logo field and drop everything else down a bit. I would like to use a logo that does not fit in the current logo space at the moment and everything up there seems to be bunched up and crowed. I would like to change my logo and and more space between logo and main page area.
__________________
Shareen
sparker2@cox.net
http://www.stitches4u.com
X-Cart Version 4.5.0 with Smart Template vs 4.4.x
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:25 PM.

   

 
X-Cart forums © 2001-2020