<div dir="ltr">Great, thanks. I will give it a try and let you know.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 13, 2020 at 1:37 PM Uma S <<a href="mailto:uma.s@vtiger.com">uma.s@vtiger.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Nilay,<br><div><br></div><div>Yes, That's the way to introduce new layout changes. These are the following steps to be taken care of while porting a new layout.</div><div><br></div><div><span style="color:rgb(28,33,33);font-family:Poppins,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:13px">1. layouts/v7 need to be copied to layouts/custom folder.</span><br style="box-sizing:border-box;color:rgb(28,33,33);font-family:Poppins,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:13px"><span style="color:rgb(28,33,33);font-family:Poppins,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:13px">2. In php files api's getHeaderScripts() and getHeaderCss() where they are loading js scripts and css files respectively. Depending on layouts/v7 or layouts/vlayout should be replaced with respective custom layout.</span><br style="box-sizing:border-box;color:rgb(28,33,33);font-family:Poppins,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:13px"><span style="color:rgb(28,33,33);font-family:Poppins,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:13px">3. Any image references from layouts/v7 should pass through vimage_path() api to get loaded from default layout, With necessary images copied to respective layout.</span><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 7, 2020 at 7:16 PM nilay khatri <<a href="mailto:nilay.spartan@gmail.com" target="_blank">nilay.spartan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi All,<br><div><br></div><div>for some users it is required to change the default Theme/Layout to make it more compatible/adaptable.</div><div><br></div><div>I haven't looked into this in detail, but I remember from a previous thread where makeyourcloud was involved, we can just make a new directory for the new layout and change the layout name in the loader. That should switch/enable the loader to look in the custom layout first and then fallback to the default layout.</div><div><br></div><div>Has anyone done any familiar work on this and what were the challenges? Is it the right way?</div><div><br></div><div>Thanks,</div><div><br></div><div>Nilay</div></div>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote></div>