Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  
    I made a website with smarty template engine, works just fine,
    the systems gathers the various .tpl files to build the website.
    But how do i use the php include to show the gallery in a .tpl file?
    I can't use php scripting in a .tpl file right?
    And the .tpl file does not neccesarely contain a head tag, etc.

    Does anybody have a solution?
  2.  
    ok I succeded to spread the 3 php includes in the header.tpl and the gallery.tpl pretty easily by using tags like this:
    {php} the_gallery_head(); {/php}

    however when I run index.php the layout looks fine but where the gallery should apear it says:

    Warning: include(/themes/default/header.php) [function.include]: failed to open stream: No such file or directory in /home/staal/domains/plaatstaal.net/public_html/plogger/plog-functions.php on line 1635

    Warning: include() [function.include]: Failed opening '/themes/default/header.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/staal/domains/plaatstaal.net/public_html/plogger/plog-functions.php on line 1635
    No collections yet

    Warning: include(/themes/default/footer.php) [function.include]: failed to open stream: No such file or directory in /home/staal/domains/plaatstaal.net/public_html/plogger/plog-functions.php on line 1644

    Warning: include() [function.include]: Failed opening '/themes/default/footer.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/staal/domains/plaatstaal.net/public_html/plogger/plog-functions.php on line 1644


    the index.php is located in the root just as the plogger directory.
    What am I doing wrong?
  3.  
    Maybe I need to add plogger/... to the urls when woking with a template system like this?