View Single Post
  #1  
Old 04-08-2009, 09:39 AM
  CC's Avatar 
CC CC is offline
 

eXpert
  
Join Date: Jun 2004
Posts: 349
 

Default Diaglog box problem, still displays but should be blank

Hi guys

Please can you look at this custom code and help me a little?
I am attempting to place code on the homepage using a custom mod, and it should not include the dialog.tpl box template.
It should simply be a single item with no surround at all, this is my code:
Code:
{capture name=dialog} {section name=product loop=$products} <div> <div id="dotdContainer"> <div style="float:left; margin-right:10px; position:relative; left:175px; top:15px;"><a href="{include file='customer/fts_featured_makelink.tpl' product=$products[product]}"> {include file="product_thumbnail.tpl" productid=$products[product].productid image_x="$thumb_x" image_y="$thumb_y" product=$products[product].product tmbn_url=$products[product].tmbn_url}</a> </div> <div style="position:relative; left:185px; top:20px;"> <a href="{include file='customer/fts_featured_makelink.tpl' product=$products[product]}">{$products[product].product}</a> <br style="line-height: 1em;"> {$products[product].descr|truncate:200:"...":true} </div> <div id="dotdBox"> <div id="dotdPrice"> <br style="line-height: 1em;">Now:<span style="font-size: 1.2em;" class="red bold"> {* Price *} {include file='customer/fts_featured_price.tpl' product=$products[product] show_price='Y' show_listprice='Y' show_discount='Y' show_alternatecurrency='Y' show_taxes='Y'} {include file='customer/fts_featured_comparison.tpl' mode='foot' show='Y'}</span> </div> <br style="line-height: 1em;"> </div> </div> </div> {/section} {/capture} {include file="customer/dialogblank.tpl" title=$title content=$smarty.capture.dialog extra="width=100%"}

The code within the dialogblank.tpl file called is:
Code:
<div> {$content} </div>

So it should contain no border box or title at all, but for some reason it STILL displays the code from the dialog.tpl file!!
2 days I have been looking into this on and off, and I can not fix it.

Please, if you have any idea at all why it would do this please let me know.
TIA
__________________
XC 4.2 inc (unofficial) patch release.
Reply With Quote