How do I put all of the nuke blocks to the group of the righ

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   How do I put all of the nuke blocks to the group of the righ
Rasho
CZ Newbie
Rasho has been a member for over 16 year's 16 Year Member
Status: Offline
Joined: Aug 11, 2008
0.00 posts per day
Posts: 4
Points: 0
   
How do I put all of the nuke blocks to the group of the right side?
PhpNuke version: 8.1.0.3.5b
Does anybody know how to?

etc: [ Register or login to view links on this board. ]
or [ Register or login to view links on this board. ]



Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
You would have to edit the theme file and add the left and right blocks where you want them.

You may have to make a table or div to hold them. Here is an example:


<table width="100%" border="0">
   <tr>
      <td width="70%">Main Content</td>
      <td width="15%">".blocks('Left')."</td>
      <td width="15%">".blocks('Right')."</td>
   </tr>
</table>


Of course you can adjust the width to fit what your after.



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: How do I put all of the nuke blocks to the group of the
Rasho
CZ Newbie
Rasho has been a member for over 16 year's 16 Year Member
Status: Offline
Joined: Aug 11, 2008
0.00 posts per day
Posts: 4
Points: 0
   
Good idea, but where the place the code?
In the theme.php I have this code:
/************************************************************/
/* Function themesidebox()                                  */
/*                                                          */
/* Control look of your blocks. Just simple.                */
/************************************************************/

function themesidebox($title, $content) {
   global $swapleftorright, $bgcolor1, $bgcolor2;

if ($swapleftorright=="0") { //setting this to "1" will swap left and right block appearance
    $tmpl_file = "themes/default/rblock.html";
} else {
    $tmpl_file = "themes/default/lblock.html";
}
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}

Sorry, for the my bad English. icon_cool.gif


Back to top Reply with quote
#4   re: How do I put all of the nuke blocks to the group of the
Rasho
CZ Newbie
Rasho has been a member for over 16 year's 16 Year Member
Status: Offline
Joined: Aug 11, 2008
0.00 posts per day
Posts: 4
Points: 0
   
Thanks.
I have solve this problem and theme (phpnuke ver. 8.1) working with group blocks in the right side.
icon_wink.gif



Back to top Reply with quote
#5   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Glad to see you got it. If you need any other help please feel free to ask.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#6   Thank
Rasho
CZ Newbie
Rasho has been a member for over 16 year's 16 Year Member
Status: Offline
Joined: Aug 11, 2008
0.00 posts per day
Posts: 4
Points: 0
   


Originally posted by Telli @ Tue Jul 07, 2009 3:52 pm:

Glad to see you got it. If you need any other help please feel free to ask.


OK. Thanks for good idea. icon_wink.gif



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum