I have my PR4 Gaming Directory added to TLA but when i try to put the code in the template footer file it does not work, does any one know how i can do it? is there a work around or somewhere else i can put the code? I tried doing it with an incude file and put the code <?php include("test.php"); ?> in the footer and then the tla code in the test.php file but that doesn't work. can anyone help? I'm running phpld 3.0.5
After a bit more searching i found the solution myself, if any one else need to know, here is the solution Change <?php to {php} and ?> {/php} so the code looks like this {php} TLA's code {/php}
yes, so its sitewide, i did want it on homepage only but i dont think there is a specific file for just the homepage.
{if $category.ID eq 0} html code or any blah blah blah {/if} whatever you want to show only on homepage, put under bla bla blah
The above code will work, but the TLA links will be still showing at few other pages like latest links, top hits, search result page etc. try this: {if $category.ID eq 0 and not $list and not $search} html code or any blah blah blah {/if} and to stop showing it on submit page, detail page, include the code in main.tpl in place of footer.tpl
Cheers, I didnt notice that, i modified the if statement, and for the details and submit page i changed footer.php to footer2.php and created a duplicate footer file without the tla code. Thanks alots guys
my code will not show links only in category pages. But on all details pages, top hits, submit page etc. How to prevent the homepage link showing on all the link details pages ?
i changed footer.tpl to footer2.tpl in the details.tpl file and created a duplicate footer file without the tla code called footer2.tpl and that worked a treat it now only showing on homepage and no other pages.