Results 1 to 3 of 3

Thread: Templates

  1. #1
    Join Date
    Feb 2007
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Templates

    HI.

    Many CMS and forums provide a template stystem like this from mybb:

    PHP Code:
    <html>
    <
    head>
    <
    title>{$mybb->settings['bbname']}</title>
    {
    $headerinclude}
    </
    head>
    <
    body>
    {
    $header}
    {
    $forums}
    {
    $boardstats}
    <
    table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder"
    Do you know a tutorial somewhere so I can copy this feature on my site, for instance:

    {logo}
    <whatever />
    {nav}
    {content}

    etc...?

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Jul 2008
    Posts
    199
    Thanks
    6
    Thanked 58 Times in 57 Posts

    Default

    As much as Smarty is the industry standard, if you want to go with something a bit lighter for personal use, try Bob.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •