[Dancer-users] Template - Using INCLUDE
Geistteufel
geistteufel at yahoo.fr
Sat Mar 26 14:51:18 CET 2011
Lol, I have test this already, and tell me file not found !
in fact I have write the file in the bad place, not in views, mistake with MacVim ... ok It works !
I will split up my code :)
thanks
Le 26 mars 2011 à 13:30, sawyer x a écrit :
> hey
>
> On Sat, Mar 26, 2011 at 1:58 PM, Geistteufel <geistteufel at yahoo.fr> wrote:
> I want to do something like this :
>
> <div>
> <div class="tabs"
> <% INCLUDE tabs %>
> </div>
> <% INCLUDE shorten %>
> <% INCLUDE sidebar %>
> </div>
>
>
> ... well instead of having one huge index file.
>
> How can I do that ?
>
>
> You'll need the extension as well:
>
> <% INCLUDE tabs.tt %>
> <% INCLUDE shorten.tt %>
> <% INCLUDE sidebar.tt %>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20110326/7f61f014/attachment.htm>
More information about the Dancer-users
mailing list