Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm



Joined: Aug 13, 2009
Posts: 1123

PostPosted: Wed Sep 30, 2009 5:00 pm Reply with quote

Code:
function themefooter() {

    global $index, $foot1, $foot2, $foot3, $foot4, $copyright, $totaltime, $footer_message;
    if ($index == 1) {
   $tmpl_file = "themes/Mytheme/center_right.html";
   $thefile = implode("", file($tmpl_file));
   $thefile = addslashes($thefile);
   $thefile = "\$r_file=\"".$thefile."\";";
   eval($thefile);
   print $r_file;

   blocks(right);

    }   
              


       $footer_message = "$foot1<br>$foot2<br>$foot3<br>$copyright<br>$totaltime<br><a href=http://mysite.com title=\"Name of the site\">Name</a><br>";

       
    $tmpl_file = "themes/Mytheme/footer.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
                   
}


I am trying to display 2 blocks on the right side. Can you guide to do that?
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Wed Sep 30, 2009 5:10 pm Reply with quote

What theme are you using? All of the themes that are packaged with RN v2.4 should work. If it's not a theme that we released then check your theme index.php code with ours, like in fisubice, and modify yours accordingly.
 
View user's profile Send private message
Dawg
RavenNuke(tm) Development Team



Joined: Nov 07, 2003
Posts: 928

PostPosted: Wed Sep 30, 2009 6:37 pm Reply with quote

What theme are you using AND are you trying to display them on your frontpage or inside some module....Forums for example.

Dawg
 
View user's profile Send private message
hicuxunicorniobestbuildpc







PostPosted: Thu Oct 01, 2009 12:09 am Reply with quote

Yeah I am trying to display it on the frontpage. Thanks for replying
 
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Thu Oct 01, 2009 12:22 am Reply with quote

.....but what theme are you using?
 
View user's profile Send private message
wHiTeHaT
Life Cycles Becoming CPU Cycles



Joined: Jul 18, 2004
Posts: 579

PostPosted: Thu Oct 01, 2009 3:36 am Reply with quote

Here's a solution to do whatever and whenever you want and isnt theme related.
Only registered users can see links on this board! Get registered or login!
you can code inside the block file to show the block when are on the index page , multiple pages and modules and even per user.
 
View user's profile Send private message Send e-mail
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©