first of all in pligg.tpl file...
1. I copied sidebar div and pasted under header div
2.in css file .find sidebar id and make a copy of it and rename to sidesomething.(I did sidereklam reklam means advertiment in Turkish
)in css picture that I attached you can see properties of sidereklam id.
3.now we have a new block showing 1 more side bar. inside of sidereklam div should be like this
Code:
<div id="sidereklam"> {include file=$the_template_sidebar_modules."/reklam.tpl"}</div>
lets go to dreamweaver for a new tpl file after creating a tpl file. (reklam.tpl)
now lets show some flash movie inside.
4.in reklam.tpl fileI put a flash object in to a div . and php code for including javascript file
Code:
<div><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="165" height="320" align="top">
<param name="movie" value="http://localhost/haberci/resim/gazete.swf" />
<param name="quality" value="high" />
<embed src="http://localhost/haberci/resim/gazete.swf" width="165" height="320" align="top" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>
</object>
</div>
{php} include('reklam.js'); {/php}
Code:
<script src="templates/yget3/Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','165','height','320','src','http://localhost/haberci/resim/gazete.swf','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','http://localhost/haberci/resim/gazete.swf' ); //end AC code </script>
That is it I hope I will help our community. for any problems you can write me here or msn : nevermoonarch@hotmail.com.





Linear Mode




