If you want to use the same layout across all controllers then you edit the list.html template (or which ever master template which contains the mv:generate="layouts/yourcontroller.rhtml") and you will edit this to be instead mv:generate="layouts/application.rhtml". There would only be one of these across all of your MasterView template files, all others would use import.
<br><br>In all your other templates you would use mv:import=&quot;layouts/yourcontroller.rhtml&quot;<br><br>If you had a layouts/appliction.rhtml previously on the file system then delete or rename it so there is no confusion as to which one is being used.
<br><br>You would probably want to rebuild your templates so they are all in sync using the new layout, you do this at the command line with <br><pre class="code">rake mv:rebuild_all<br><br>or <br><br>you can do it from the MasterView admin screen (if in development mode on localhost 
<br>and it hasn&#39;t been disabled in your settings)<br><br><a href="http://localhost:3000/masterview">http://localhost:3000/masterview</a><br>and click on the Rebuild All link<br><br><br></pre>If you wanted to use something other than 
applicion.rhtml then you would also have to specify the layout in your controller with the layout command, but since in the above we are using appliction.rhtml there is nothing else necessary in the code.<br><br>See if all this makes sense and works for you. We should add this to a FAQ, I&#39;ll make a note to do this.
<br><br>If you have any problems with everything I described let me know.<br><br>Blessings,<br><br>Jeff<br><br><br><br>On 1/2/07, <b class="gmail_sendername">Reza Primardiansyah</b> &lt;<a href="mailto:reza_prima77@yahoo.com">
reza_prima77@yahoo.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi, all<br><br>Can anyone show me how to create shared layout across
<br>controller so I can use one design that I can put<br>links to other controllers?<br><br>Thanks in advance<br></blockquote></div><br><br>