KUKY2008-01-22 14:42 | Hello all. » Quick.Cms v1.x |
treewood (OpenSolution)2008-01-23 08:00 | KUKY - You must use this variable in index.php after code
if( is_file( $sActionFile ) )
|
KUKY2008-01-23 21:11 | treewood - Please can you write me a little of code in index.php when i would like to change $aData[sDescriptionShort] to $newvar and after it I work with $newvar and finally I use this variable in show_pages.tpl and "echo" it. Thanks, because I tested many combination in index.php but I don't know where I must write it and how to use it. |
treewood (OpenSolution)2008-01-24 08:00 | KUKY - ok ...
if( is_file( $sActionFile ) )after this code put this:
if( isset( $aData['sDescriptionShort'] ) )Now You have Your $newvar |
KUKY2008-01-24 21:48 | treewood - Sorry for my questions but it don't works :-(
if($newvar=="Ne"||empty($newvar)){$newvar="none";}
|
treewood (OpenSolution)2008-01-25 08:21 | KUKY - oh i understand ... if You want to display it in pages_show.tpl then You must dont edit index.php ... You write me to edit index.php but in this case if You want to display it in pages_show.tpl You must put code:
$content .= $tpl->tbHtml( 'pages_show.tpl', 'SHOW' );
|
KUKY2008-01-25 22:11 | Oh thank You VERY MUCH!!! It works fine! Iam very happy. Thank you. You made VERY NICE CMS system. The best CMS system! |