PDA

View Full Version : Important Question re: Includes: how to get smarty titles??


gustotelmy
12-06-2005, 03:50 AM
I have included the PHPLD onto my page and it looks beautiful Finally solved it....
however i just see another problem.... :?

now I see that the header.tpl is sending out the whole HTML header again... (no wonder the bots weren't finding my Link Directory....)

ok now I need the following info:
how do i get smarty titles into my index.php??

i tried adding the title as {strip}<head>

<title>{$smarty.const.DIRECTORY_TITLE}{$smarty.capture.ti tle|strip}</title>

however that doesnt work... help me please this is a loosing battle!
:o :?

PS ( i also tried dumping in all my php files into the header and footer.tpl files... i get a smart error like that.... so no go either way...)

Solved Kind of here ()http://www.phplinkdirectory.com/forum/viewtopic.php?t=1327&highlight=includes+smarty+titles

is there still a way to include the index.php into a php file and still get dynamic titles??