<div dir="ltr">I think that you can look how Magento manage template fallback: <a href="http://www.classyllama.com/blog/depth-look-magento-theme-fallback">http://www.classyllama.com/blog/depth-look-magento-theme-fallback</a> </div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-09 8:30 GMT+01:00 Prasad <span dir="ltr"><<a href="mailto:prasad@vtiger.com" target="_blank">prasad@vtiger.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for the inputs. I'm not quite clear on the fallback at layout level (at this moment). <div><br><div>If there is prototype anyone can share - it would be really helpful.</div><div><br></div><div>Regards,<br></div><div>Prasad</div></div></div><div class="gmail_extra"><span class=""><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">--</div><div dir="ltr"><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><a href="http://www.facebook.com/vtiger" style="color:rgb(0,0,204)" target="_blank">FB</a> I </span><a href="http://twitter.com/vtigercrm" style="color:rgb(0,0,204)" target="_blank">Twit</a> I <a href="https://www.linkedin.com/company/1270573?trk=tyah" style="color:rgb(0,0,204)" target="_blank">LIn</a> I <a href="https://blogs.vtiger.com" style="color:rgb(0,0,204)" target="_blank">Blog</a> I <a href="https://www.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Website</a></div></div></div></div></div></div></div></div></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">On Mon, Nov 9, 2015 at 3:31 AM, Richard Hills - Technologywise <span dir="ltr"><<a href="mailto:richard@tw.co.nz" target="_blank">richard@tw.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Good to see others also see the need for fallback, I will add +1 to this and without it see no reason to use the new templating system.<div><div><br>
<br>
On 08/11/15 01:46, makeyourcloud wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Prasad,<br>
<br>
I agree with the others about the importance of a fallback solution to<br>
manage the views for custom modules,<br>
<br>
In my opinion (and this is what we had done with our layouts), the vtiger<br>
viewer should pick anyway the files from the vlayout dir if the needed files<br>
are not availables in the custom layout, so the layout developer could find<br>
an alternative way to make the missing view looking well just using custom<br>
css rules.<br>
<br>
As layout developers we could create new layouts customizing just the needed<br>
files, for example to create a new layout with just a different navigation<br>
bar we could create a simple layout structure with just few files, I think<br>
for this simple purpose it would be fine to edit just Header and MenuBar and<br>
add the needed js code in the application file.<br>
<br>
In this way we will work anyway using the core vtiger layout, and if someone<br>
would for example develop a new layout using a different css framework (eg<br>
bootstrap3 or foundation) it would be a developer choice to adapt the custom<br>
module views (eg redefining the missing boostrap2 classes in the css) or<br>
create new views adapted for his layout.<br>
<br>
About your questions:<br>
<br>
1 - If we still have the vlayout resources as fallback  files, we can simply<br>
choose what file need to change and it would be competence of the layout<br>
developer to check that the modified/added files are not corrupted and not<br>
cause conflict with other files<br>
<br>
2 - The layout developer should consider the option to change framework and<br>
in this case should create a totally different layout structure, replacing<br>
all the core vtiger files in his layout but choosing a solution for custom<br>
modules as explained above<br>
<br>
3 - Yes it should.<br>
<br>
4 - No, the list view should exactly fallback to the vlayout listview for<br>
the  current module (if present) or to the generic vtiger listview, and all<br>
files should follow this behavior.<br>
<br>
<br>
Hope this reply will help you understand our needs, and possibly inspire the<br>
vtiger team to a new solution for  this.<br>
<br>
Kind Regards,<br>
Federico Bempensato,<br>
MakeYourCloud Development Team - <a href="http://www.makeyourcloud.com" rel="noreferrer" target="_blank">http://www.makeyourcloud.com</a><br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtiger-crm.2324883.n4.nabble.com/Vtigercrm-developers-about-new-template-manager-Vtiger-6-4-tp17848p17856.html" rel="noreferrer" target="_blank">http://vtiger-crm.2324883.n4.nabble.com/Vtigercrm-developers-about-new-template-manager-Vtiger-6-4-tp17848p17856.html</a><br>
Sent from the vtigercrm-developers mailing list archive at Nabble.com.<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</blockquote>
<br></div></div><span><font color="#888888">
-- <br>
Richard Hills<br>
TechnologyWise Ltd, Tauranga, NZ<br>
<a href="mailto:richard@tw.co.nz" target="_blank">richard@tw.co.nz</a><br>
<a href="http://www.technologywise.co.nz" rel="noreferrer" target="_blank">www.technologywise.co.nz</a><br>
ph: <a href="tel:%2B64%20%280%297%20571%201060" value="+6475711060" target="_blank">+64 (0)7 571 1060</a><br>
fax: <a href="tel:%2B64%20%280%297%20571%201061" value="+6475711061" target="_blank">+64 (0)7 571 1061</a><br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</font></span></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>