However it wasn't rendering my php properly. So I changed it to
Code:
function themesidebox($title, $content) {
include("themes/CS_BF2142/blocks.php");
}
Is there anything bad about doing this?
hue Support Mod
Joined: Apr 18, 2003
Posts: 368
Location: Ohio
Posted:
Sat May 19, 2007 6:53 am
Editing the html that was within the echo/print statement would probably be the best way .
_________________ Go Go Buckeyes!!
SideX Nuke Soldier
Joined: May 17, 2006
Posts: 23
Posted:
Sat May 19, 2007 10:31 am
Which echo/print statemenet are you talking about? The only one I see is the "print $r_file;" statement, which wouldn't follow the correct logic I need. There is no echo/print statements in blocks.php that work because implode, stripslashes, and eval cause it to not execute properly. At least thats what I'm blaming it on.
Which will use different images depending on the block name.
hue Support Mod
Joined: Apr 18, 2003
Posts: 368
Location: Ohio
Posted:
Sat May 19, 2007 11:10 am
I should have clarified myself a bit more as I made just a "generalized" statement, and not so much intended directly towards your issue at hand. For example :
Ah OK. Thats pretty much what I was doing, but rather than including the block code inside the theme.php file I was putting the echo statement in blocks.php and just including it. Same difference
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