[Vtigercrm-developers] Include template file based on JavaScript condition
Uma S
uma.s at vtiger.com
Tue Feb 25 09:52:51 GMT 2014
Hi Vipul,
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.
On Fri, Feb 21, 2014 at 10:41 AM, Vipul <vipul.zalavadiya at commercepundit.com
> wrote:
> Hi All,
>
>
>
> 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".
>
>
>
> Any help will be appreciate.
>
>
>
>
>
> Thanks
>
>
>
>
>
> *Vipul Zalavadiya*
>
> Software Engineer
>
>
>
> Phone: 079-26400638
>
> Email: vipul.zalavadiya at commercepundit.com
>
> ________________________________________________
>
> *commerce**pundit*
>
> WEB DESIGN & DEVELOPMENT
>
> SEO l MARKETPLACE MANAGEMENT
>
> *[image: Description: Description: cid:image001.jpg at 01CEAA55.19464220]*<https://www.facebook.com/ecommercepundit>
> *[image: Description: Description: cid:image002.jpg at 01CEAA55.19464220]*<https://twitter.com/ecommercepundit>
> *[image: Description: Description: cid:image003.jpg at 01CEAA55.19464220]*<http://www.linkedin.com/company/commerce-pundit>
> *[image: Description: Description: cid:image004.jpg at 01CEAA55.19464220]*<http://pinterest.com/ecommercepundit/>
>
>
>
>
> ------------------------------
> <http://www.avast.com/>
>
> This email is free from viruses and malware because avast! Antivirus<http://www.avast.com/>protection is active.
>
>
> _______________________________________________
> http://www.vtiger.com/
>
--
With
Best Regards
Uma.S
Vtiger Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140225/682ca9fe/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image011.jpg
Type: image/jpeg
Size: 708 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140225/682ca9fe/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.jpg
Type: image/jpeg
Size: 715 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140225/682ca9fe/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image010.jpg
Type: image/jpeg
Size: 705 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140225/682ca9fe/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image012.jpg
Type: image/jpeg
Size: 725 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140225/682ca9fe/attachment-0003.jpg>
More information about the vtigercrm-developers
mailing list