I have certain parts of the website that sit inside the Dialog section that I don't want to. I am currently customising the skin1/modules/Discount_Coupons/add_coupon.tpl file (code below)
My Dialog title has a graphic (the leaves of my logo) at the left, but I want to remove it. I have successfully managed to get rid of the text that sits after it, but I can't get rid of the image (which is what's left of the Dialog Title).
Here's the code I have left:-
--------------------
{* $Id: add_coupon.tpl,v 1.11.2.3 2006/10/25 13:58:54 svowl Exp $ *}
{capture name=dialog}
{if $gcheckout_enabled}
{$lng.txt_gcheckout_add_coupon_note}
<br />
<br />
{/if}
<div class="discountcouponwrapper">
<form action="cart.php" name="couponform">
<table>
<tr>
<td width="300"><span class="limesubheading">Redeem Discount Coupon</span><br />
If you have a discount code, type it in here</td>
<td class="FormButton">Code</td>
<td><input type="text" size="25" name="coupon" /></td>
<td>{if $js_enabled}
{include file="buttons/submit.tpl" href="javascript
: document.couponform.submit();" js_to_href="Y"}
{else}
<input type="submit" value="{$lng.lbl_submit|strip_tags:false|escape}" />
{/if} </td>
</tr>
</table>
<input type="hidden" name="mode" value="add_coupon" />
</form>
</div>
{/capture}
{ include file="dialog.tpl" content=$smarty.capture.dialog extra='width="100%"' }
-------------------
Every time I try to remove what I think is giving me the Dialog Title, I either get a Smarty Error or the dialog title moves UNDERNEATH my discount box.
When I remove
name=dialog from the opening {capture} tag, the whole discount coupon section vanishes and I'm left with my leaf image.
When I remove
file="dialog.tpl" from the last line, I get smarty errors.
When I remove the {capture} tags (opening and closing) I'm still left with the leaf UNDERNEATH by discount coupon div.
What exactly am I supposed to get rid of to remove the Dialog Title?
www.shopnaturally.com.au v.4.1.11 - feel free to add something to the shopping cart to take a look.