Thread: Nifty Corners?
View Single Post
  #9  
Old 11-29-2005, 06:13 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

just looking at the phpmyborder page.

so where and how would i place this code then
Code:
<? require_once("phpMyBorder.class.php"); $pmb = new PhpMyBorder(); ?> <=$pmb -> begin("260px","DDDDFF","78AAFF") ?> -- YOUR CONTENT GOES HERE -- <=$pmb -> end() ?>

im looking at changing the rounded border on products_t.tpl

so the code that i would need to put in the bith where it says your content goes here would be

Code:
<TABLE cellpadding="0" cellspacing="0" border="0" ><TR><TD align="center"> {*{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url} *} {*** Cart-Lab.com mod ***} {if $product.image_type ne "application/x-shockwave-flash"} {* SAFETYNET DSEFU MOD *} {if $enable_seo_links == "Y"} {include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url} {else} {include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url} {/if} {* END SAFETYNET DSEFU MOD *} {else} {capture name="myurl"}{strip}product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}{/strip}{/capture} {include file="flash.tpl" productid=$products[product].productid image_y=$config.Appearance.thumbnail_width image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url myurl=$smarty.capture.myurl} {/if} {*** Cart-Lab.com mod ***} {* BCSE Begin *} {if $products[product].new_arrival ne ""} {$lng.txt_new_arrival_products} {/if} {* BCSE END *} </TD></TR> <TR> {* SAFETYNET DSEFU MOD *} {if $enable_seo_links == "Y"} <TD align="center" ><u><h2>{$products[product].product}</h2></u> {else} <TD align="center" ><u><h2>{$products[product].product}</h2></u> {/if} {* END SAFETYNET DSEFU MOD *} </TD> </TR> <TR> <TD align="center" valign="top"> {if $active_modules.Subscriptions ne "" and $products[product].catalogprice} {include file="modules/Subscriptions/subscription_info_inlist.tpl"} {else} {if $products[product].taxed_price ne 0} {if $products[product].list_price gt 0 and $products[product].taxed_price lt $products[product].list_price} {math equation="100-(price/lprice)*100" price=$products[product].taxed_price lprice=$products[product].list_price format="%d" assign=discount} {if $discount gt 0} {$lng.lbl_market_price}: <S> {include file="currency.tpl" value=$products[product].list_price} </S> {/if} {/if} {* <FONT class="tprice"> {include file="currency.tpl" value=$products[product].taxed_price}</FONT> {include file="customer/main/alter_currency_value.tpl" alter_currency_value=$products[product].taxed_price}{if $discount gt 0}, save {$discount}%{/if} *} {* xcp - start alternate currencies module *} {* replaces 1 line comment out above *} <span class="fromprice">{$products[product].other_prices}</span><FONT class="tprice">{include file="currency.tpl" value=$products[product].taxed_price}</FONT> {include file="customer/main/alter_currency_value.tpl" alter_currency_value=$products[product].taxed_price}{if $discount gt 0}save {$discount}%{/if} {* xcp - end alternate currencies module *} {* comment out by Adam {if $products[product].taxes} {include file="customer/main/taxed_price.tpl" taxes=$products[product].taxes}{/if} *} {else} <FONT class="ProductPrice">{$lng.lbl_enter_your_price}</FONT> {/if} {/if} {*** Uncomment it if you need 'Buy Now' button *** {if $usertype eq "C" and $config.Appearance.buynow_button_enabled eq "Y"} {include file="customer/main/buy_now.tpl" product=$products[product]} {/if} *** Uncomment it if you need 'Buy Now' button ***} {*** Cart-lab.com (Votes on products listing) ***} {if $active_modules.Customer_Reviews ne ""} {section name=votes loop=$allvotes} {if $allvotes[votes].vote_max_cows gte 1} {if $products[product].productid eq $allvotes[votes].productid} Customer ratings: ({$allvotes[votes].vote_max_cows}/5) {section name=full_cows loop=$allvotes[votes].vote_max_cows} [img]{$ImagesDir}/star_4.gif[/img] {/section} {if $allvotes[votes].vote_little_cow ne "0"} [img]{$ImagesDir}/star_{$allvotes[votes].vote_little_cow}.gif[/img] {/if} {section name=free_cows loop=$allvotes[votes].vote_free_cows} [img]{$ImagesDir}/star_0.gif[/img] {/section} {/if} {/if} {/section} {/if} {*** Cart-lab.com (Votes on products listing) ***} </TD> </TR> </TABLE>
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote