Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[RESOLVED] Plugin Theme : Sidebar option
#3
Thank you n00dles101 !

Can you tell me how to read the value of sidebaractive in my template ?

edit : i find it !
Code:
<?php
    $x = getXML($cyclehome_file);
    $sidebaractive = $x->sidebaractive;
    if ($sidebaractive == 'true')  {
        include('sidebar.php');
    }
?>
Reply


Messages In This Thread
[RESOLVED] Plugin Theme : Sidebar option - by didou038 - 2012-03-07, 22:38:21



Users browsing this thread: 2 Guest(s)