PDA

View Full Version : How To Include Tpl files into body.php of main index ofsite?


gustotelmy
11-10-2005, 04:40 AM
I have a pre created website with the following include files:


-----------------------------
Header.php
----------------------------
Left / body.php
nav.php/
-----------------------------
Footer.php

---------------------------

How can I integrate the Link Directory into body.php???

I tried including the .tpl in the body.php but I keep getting errors...

please help thanks in advance

gustotelmy
11-10-2005, 06:00 AM
this helped me a lot
{topic no longer available}
she is a smarty....

i only need to know why my images arent showing (PR ones)
and why i cant get the submit to work

important i had to change the .htaccess file to add the following:

RewriteRule .* link.php [QSA,L]

which then acts as my index....

gustotelmy
11-10-2005, 06:44 PM
ok fixed the images thing........

However everything shows perfectly EXCEPT the menu bar goes across my whole page....

do i edit the MAIN.Css file to fix this? and where is the menu bar tag?

gustotelmy
11-11-2005, 07:22 AM
thanks everyone for the help....:roll:
i ended up figuring it out myself! :D

to integrate link directory to your site

just rename index to something

include that into your existing site...but make sure you alter the templates so that they dont have html tags like head and /html otherwise they mess up your page...

YEAH! looks great... time to add some mods.... :lol: