Mam problem w cmsie na plikach tpl ( DataLife Engine ).Chciałbym przypisać zmiennej {title} taką samą wartość w php. Próbowałem to zrobić takim kodem:
Plik A4EO1pa.php:
<?php $tpl->set ( '{title}', $title); ?>
Po zapisaniu otrzymuję kompletnie inny tytuł, który za każdym razem jest inny, tak jakby był on losowany z bazy bez reguł a ja potrzebuje tytuł konkretnego ID.Pomocy

Plik fullstory.tpl
<table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr class="newstn1"> <td colspan="3"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left"> <img src="{THEME}/images/newsn1.jpg" alt="" border="0" /> </td> <td width="100%" class="ntitle"> [full-link]{title}[/full-link] //Tutaj wyświetla tytuł konkretnego artykułu i chcem otrzymać ten sam w pliku php </td> <td> <div class="newsavtor"> Premiera:<br />[xfvalue_premiera] rok </div> <div class="newsdatet"> {date} </div> </td> </tr> </table> </td> </tr> <tr align="left" valign="top"> <td class="downwhite4"> </td> <td width="100%" class="downwhite5"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> {short-story} <center> {full-story}</center> <br /> </td> </tr> </tr> <td> <div class="infrownews"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" width="180" valign="center"> {rating} </td> <td class="newslooks" align="center" valign="center"> Odsłon: {views} </td> <td class="newscomms" align="center" valign="center"> [com-link]Komentarzy ({comments-num})[/com-link] </td> <td> </td> </tr> </table> </div> </td> </tr> </table> </td> <?php //* include "A4EO1pa.php"; //* ?> //* </tr> <tr align="left" valign="top"> <td class="downwhite7"> <img src="{THEME}/images/transp.gif" alt="" border="0" width="20" height="20" /> </td> <td width="100%" class="downwhite8"> </td> <td class="downwhite9"> <img src="{THEME}/images/transp.gif" alt="" border="0" width="20" height="20" /> </td> </tr> </table>