Hi Guys, Hope someone can help with this as I now there a lot of smart people here (wish i was one of those ) I currently have a SmartyPHP editor which allows my clients to control certain parts of their eBay store and it uses TPL's and XML's I need to be able to insert a URL into the TPL / XML files below so when the clients add an image they can also link it. In the XML below I added the 3 lines from Line 21 to Line 23 to try and add the URL but it doesn't work, all it does is allow them to insert the URL in the editor however when in 'Preview' mode or when publishing no URL is added and the person who wrote the script is away for a while. If someone can help with this I would really appreciate it. This is the content to my current TPL file {if $_PREVIEW_}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <!-- Initialize ScriptLoader --> <script type="text/javascript"> if(typeof window.scriptLoader === 'undefined') window.scriptLoader = (function(){ var e=document.createElement('script'),c=function(s,d){ e.defer=!!d;for(i in s){ e.src=s;document.write(e.outerHTML)}},l=function(){ c.call(this,arguments,0);return l};l.load = l;l.defer=function(){ c.call(this,arguments,1);return l};return l})(); if(typeof window.compareVersion === 'undefined') window.compareVersion = function(c,d){ c=c.split('.');d=d.split('.');while(c.length){ var b=c.shift(),a=d.shift();if(b!=a) return(b>a)} return true}; </script> <!-- Import jQuery --> <script type="text/javascript"> if(typeof jQuery === 'undefined' || !compareVersion(jQuery.fn.jquery, '1.8.3')) scriptLoader('https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js'); </script> <style type="text/css"> /* REMOVE THIS when you use */ body { background: #333; font-family: sans-serif; font-size: 10pt; line-height: 1.4; text-align: center; } h1 { color: #666; text-shadow: 0 -.05em black; text-align: center; font-size: 150%; } div#GlobalPromoFeatured { width: 25em; margin: .5em auto; padding: .5em 1em; box-shadow: 0 .2em 1em black; border-radius: .3em; background: white; } div#GlobalPromoFeatured>h3 { display: block; margin: 0 0 1em; padding: .5em 0; margin: 0 0 1em; border-bottom: solid .1em #ccc; text-align: center; font-size: 120%; color: #666; } div#GlobalPromoFeatured>div p { margin: .5em 0; } </style> </head> <body> <h1>FEATURED ITEM BANNER</h1> {if $notice_active} <div id="GlobalPromoFeatured" style="display: none;"></div> {else} <div id="GlobalPromoFeatured"> <div> <p align="center"><strong><br /> YOU ARE ABOUT TO DEACTIVATE THE FEATURED BANNER</strong> </p> <p align="center"> </p> <p align="center"> Confirm by clicking on Publish Twice</p> <p align="center"> </p> </div> </div> {/if} <script type="text/javascript"> {/if}{* ---------------------------------------------------------------------------------------------------- *}(function($){ // Configure notice {if $notice_active} var notice = $('div#GlobalPromoFeatured').show(); {if $notice_title} $('<h3/>') .html({$notice_title|json_encode}) .appendTo(notice); {/if} {if $notice_message} $('<div/>') .append($('<img/>') .attr({$notice_message|json_encode})) {if $notice_message} $('<div/>') .append($('<img/>').attr('src', {$notice_message|thumbnail:188:262|json_encode})) .appendTo(notice); {/if} {/if} {/if} })(jQuery);{* ---------------------------------------------------------------------------------------------------- *}{if $_PREVIEW_} </script> </body> </html> {/if} HTML: This is the content of the XML <?xml version="1.0" encoding="utf-8" standalone="yes"?> <template version="1.0"> <meta> <title>Featured Promo Banner</title> <description>eBay Template For Generating Featured Banner</description> </meta> <editor> <field> <id>notice_active</id> <label>Status</label> <type>checkbox</type> <append> Active</append> <content>true</content> </field> <field> <id>notice_message</id> <label>Message</label> <type>browser</type> <append> Recommended Size 188px(w) X 262px(h) Max</append> </field> <field> <label>URI</label> </field> </editor> <publisher> <title>READY TO GO</title> <message> <content>Click the following button to apply the Promo Banner</content> </message> <export>promofeatured-global.js</export> </publisher> <preset> <autosave /> <autoload /> </preset> </template> HTML: This is the current OUTPUT of the 2 files above after publishing it in the editor (function($){ // Configure notice var notice = $('div#GlobalPromoFeatured').show(); $('<div/>') .append($('<img/>') .attr("http:\/\/www.EXAMPLE.com\/ebay\/assets\/79wxw4mq962g.jpg")) $('<div/>') .append($('<img/>').attr('src', "http:\/\/www.EXMAPLE.com\/ebay\/thumbnail.php\/79wxw4mq962g_w188h262f.jpg")) .appendTo(notice); })(jQuery); HTML: thanks heaps guys Danny