<div dir="ltr">Hi Vipul,<div><br></div><div>If you are doing a ajax request to load iframe contents through JS file, Then you can write an api which will give contents of only iframe without headers. If on load iframe is getting loaded then (modules/Vtiger/views/Basic.php) file preProcess api is responsible for loading BasicHeader.tpl. Which can be overwritten to stop rendering headers.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 21, 2014 at 10:41 AM, Vipul <span dir="ltr"><<a href="mailto:vipul.zalavadiya@commercepundit.com" target="_blank">vipul.zalavadiya@commercepundit.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">Hi All,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I need to include header file based on JavaScript if else. If my page is load inside the frame than I don’t need to load “BasicHeader.tpl”.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">
Any help will be appreciate.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">
<u></u> <u></u></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#58595b">Vipul Zalavadiya</span></b><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Software Engineer</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""> </span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Phone: 079-26400638</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Email:</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""> <span style="color:#58595b"><a href="mailto:vipul.zalavadiya@commercepundit.com" target="_blank"><span style="color:blue">vipul.zalavadiya@commercepundit.com</span></a></span></span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#58595b">________________________________________________</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:14.0pt;font-family:"Arial","sans-serif";color:#86be41">commerce</span></b><b><span style="font-size:14.0pt;font-family:"Arial","sans-serif";color:#30a4d6">pundit</span></b><span style="font-size:14.0pt;font-family:"Times New Roman","serif""><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray">WEB DESIGN & DEVELOPMENT<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray">SEO l MARKETPLACE MANAGEMENT</span><span style="font-family:"Arial","sans-serif";color:gray"><u></u><u></u></span></p>
<p class="MsoNormal"><a href="https://www.facebook.com/ecommercepundit" target="_blank"><b><span style="font-size:16.0pt;font-family:"Arial","sans-serif";color:#58595b;text-decoration:none"><img border="0" width="14" height="14" src="cid:image009.jpg@01CF2EF1.6E90E7A0" alt="Description: Description: cid:image001.jpg@01CEAA55.19464220"></span></b></a><b><span style="font-size:16.0pt;font-family:"Arial","sans-serif";color:#58595b"> </span></b><a href="https://twitter.com/ecommercepundit" target="_blank"><b><span style="font-size:16.0pt;font-family:"Arial","sans-serif";color:#58595b;text-decoration:none"><img border="0" width="14" height="14" src="cid:image010.jpg@01CF2EF1.6E90E7A0" alt="Description: Description: cid:image002.jpg@01CEAA55.19464220"></span></b></a><b><span style="font-size:16.0pt;font-family:"Arial","sans-serif";color:#58595b"> </span></b><a href="http://www.linkedin.com/company/commerce-pundit" target="_blank"><b><span style="font-size:16.0pt;font-family:"Arial","sans-serif";color:#58595b;text-decoration:none"><img border="0" width="14" height="14" src="cid:image011.jpg@01CF2EF1.6E90E7A0" alt="Description: Description: cid:image003.jpg@01CEAA55.19464220"></span></b></a><b><span style="font-size:16.0pt;font-family:"Arial","sans-serif";color:#58595b"> </span></b><a href="http://pinterest.com/ecommercepundit/" target="_blank"><b><span style="font-size:16.0pt;font-family:"Arial","sans-serif";color:#58595b;text-decoration:none"><img border="0" width="14" height="14" src="cid:image012.jpg@01CF2EF1.6E90E7A0" alt="Description: Description: cid:image004.jpg@01CEAA55.19464220"></span></b></a><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p></div>
<br><br>
<hr style="border:none;color:#909090;background-color:#b0b0b0;min-height:1px;width:99%">
<table style="border-collapse:collapse;border:none">
<tbody><tr>
<td style="border:none;padding:0px 15px 0px 8px">
<a href="http://www.avast.com/" target="_blank">
<img border="0" src="http://static.avast.com/emails/avast-mail-stamp.png">
</a>
</td>
<td>
<p style="color:#3d4d5a;font-family:"Calibri","Verdana","Arial","Helvetica";font-size:12pt">
This email is free from viruses and malware because <a href="http://www.avast.com/" target="_blank">avast! Antivirus</a> protection is active.
</p>
</td>
</tr>
</tbody></table>
<br>
</div><br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div>
</div>