View Full Version : Add phplinkdirectory to CMS
Is there a way to add this directory to CMS like mambo?
Thanks.
regards,
Ap0s7le
07-17-2005, 06:33 PM
I'm sure there is.
Personally I wont be doing it so hey ;)
later
I am looking through phplinkdirectory's files code.
I think the file that supply the directory main section is /templates/main.tpl
If we add a code to include this file in the CMS's html as below, will it works?
<?php include(" /templates/main.tpl") ?>
or more compliated coding is required?
I looked at index.php's code. it is like Mars languague to me. :oops:
Not a bit of html...
:D
regards,
Ap0s7le
07-17-2005, 07:42 PM
main.tpl is just that, a tpl = template file.
The guts of what makes it work is the index.php which initiates the variables that are used in the TPL files.
If you include the index that should give you the desired results you're looking for.
If you don't want the header, top bar or footer you can always go into the main.tpl and find the following and just remove it. Keep in mind, removing the header will change the look since the CSS file is included in it.
{include file="header.tpl"}
{include file="top_bar.tpl"}
{include file="footer.tpl"}
If you have anymore questions feel free to let me know.
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.