in the home page doesnt appear for example the modules block, and it is active.
Appears only the central block where there is the "Welcome to PHP-Nuke" message. And in this page (the home page) must appear
On the left side: Modules, Who s on line, Languages
On the right side: Survey, Login
they are all active, but are not showed up. This has happended for all modules, but for example i ve added the "modules" block in the download module, and then it was showed properly.
The primary problem is that i cant add blocks to the home page, because the home page module is not showed in the block menager from the admin panel.
The secondary problem is that in some modules the blocks are not showed if i set the position on the center up, center down, and right, as i said above.
Thansk for your help again
edit: Maybe i ve installed the menager module in a wrong way (i followed line for line the readme), or i don't know your tweaks.
sandman229 Sergeant
Joined: Jul 28, 2003
Posts: 102
Location: Victorville, Ca.
Posted:
Thu Apr 03, 2008 5:25 am
darafat wrote:
in the home page doesnt appear for example the modules block, and it is active.
Appears only the central block where there is the "Welcome to PHP-Nuke" message. And in this page (the home page) must appear
On the left side: Modules, Who s on line, Languages
On the right side: Survey, Login
they are all active, but are not showed up. This has happended for all modules, but for example i ve added the "modules" block in the download module, and then it was showed properly.
The primary problem is that i cant add blocks to the home page, because the home page module is not showed in the block menager from the admin panel.
The secondary problem is that in some modules the blocks are not showed if i set the position on the center up, center down, and right, as i said above.
Thansk for your help again
edit: Maybe i ve installed the menager module in a wrong way (i followed line for line the readme), or i don't know your tweaks.
I think I had that problem when I first started also, but I can't remember what I had to do to fix the problem. There was something I had to change but its been so long that I can't remember what I did. Both of my web sites run this and both are 8.0 with no problems.. I'll let you know if and when I remember what I had to do. I'll have to check my files..
What is your home page?? It should be there. I'll have to check the instructions again and files to see what I had to change..
woooooooooow
thanks so much for your help!!!
i really appriciate that man.
THANKS
spottedhog Captain
Joined: Apr 30, 2004
Posts: 556
Posted:
Thu Apr 03, 2008 7:39 am
I think you guys are comparing apples to oranges here...
darafat, from what I understood, you were wanting a block to display only in a specific module you created, correct? If this is true, then the advice I gave you is what may work best, without needing to change all the rest of the Nuke code.
SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
sandman229 Sergeant
Joined: Jul 28, 2003
Posts: 102
Location: Victorville, Ca.
Posted:
Thu Apr 03, 2008 8:19 am
spottedhog wrote:
I think you guys are comparing apples to oranges here...
darafat, from what I understood, you were wanting a block to display only in a specific module you created, correct? If this is true, then the advice I gave you is what may work best, without needing to change all the rest of the Nuke code.
...but, you can do as you wish....
Block manager doesn't change all the rest of the nuke code. You just changing where the blocks go and to which modules you want then.. You can have different blocks on every module you have.. instead of having the same block (left side) on every module you have..
when I said "changing all the Nuke code", I was referring to changing versions of Nuke, or to any tweaking not related to the specific module he was creating...
Why reinvent the wheel when he needed something for one module only?
SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
sandman229 Sergeant
Joined: Jul 28, 2003
Posts: 102
Location: Victorville, Ca.
Posted:
Thu Apr 03, 2008 4:02 pm
darafat wrote:
woooooooooow
thanks so much for your help!!!
i really appriciate that man.
THANKS
I just installed it on a clean 8.0 and it worked just fine.
Try this and see if this works..
Quote:
//$sql = "SELECT bid, bkey, title, content, url, blockfile, view, expire, action, subscription FROM ".$prefix."_blocks WHERE bposition='$pos' AND active='1' $querylang ORDER BY weight ASC";
if (strlen($name) != 0) {
$name = str_replace(' ','_',$name);
$name = str_replace('%20','_',$name);
$sql = "SELECT b.bid, b.bkey, b.title, b.content, b.url, b.blockfile, b.view, b.expire, b.action, b.subscription FROM ".$prefix."_blocks b, ".$prefix."_blocks_manager m WHERE b.bid=m.bid AND m.title='$name' AND m.bposition='$pos' AND b.active='1' $querylang ORDER BY m.weight ASC";
} else {
$sql = "SELECT b.bid, b.bkey, b.title, b.content, b.url, b.blockfile, b.view, b.expire, b.action, b.subscription FROM ".$prefix."_blocks b, ".$prefix."_blocks_manager m WHERE b.bid=m.bid AND m.title='admin' AND m.bposition='$pos' AND b.active='1' $querylang ORDER BY m.weight ASC";
}
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