How to create inner template

From PeopleAggregator

Jump to: navigation, search

As far as i know --------------------------

=> Create a block module such as MyMovies (in Block Module) => inside this module we have to create a file name same as the Folder name exp - "MyMovies.php" => in this file we make a class name same name of folder name exp - class MyMovie extends Module {} => inside this class we write the code for the block module => in coding we just write the INNER TEMPLETE name sach as - inner_html.tpl => after this we name a file with same name which we write in our Class "inner_html.tpl"

=> than we write the code for the --- INNER_HTML.TPL ----- i give a example of inner templete --


<d1v class="ami">

<u1>
  <1i> content 1</1i>
  <1i> content 1</1i>
  <1i> content 1</1i>
</u1>  

</d1v>


finish ----------
Personal tools