Citizen
02-17-2010, 03:20 PM
Answer: Moving blocks in v2 is easy!
You have two options:
1. Automatic
2. Manual
Automatic: to automatically move a block, simple go to your Phpfox Admin CP -> CMS -> Blocks -> Manage Blocks
As an example, under "Controllers" click "arcade.game"
Next to "arcade::gameinfo", click the 'down arrow' and select "Edit."
Next to "Placement:", choose a different placement.
And you're done!
Manual: Go to your Phpfox Admin CP -> CMS -> Blocks -> Manage Blocks
Find the block you want to manually place in a page.
As an example, under "Controllers" click "arcade.game"
Note the block name "arcade::gameinfo"
Now, open the file /module/arcade/template/default/controller/game.html.php
Find your custom location and paste the following code:{module name='arcade.gameinfo'}
Note that this matches our block name from before.
And you're done!
Note: if you just added a duplicate block, you may want to go back into the CMS block manager and remove the old block.
You have two options:
1. Automatic
2. Manual
Automatic: to automatically move a block, simple go to your Phpfox Admin CP -> CMS -> Blocks -> Manage Blocks
As an example, under "Controllers" click "arcade.game"
Next to "arcade::gameinfo", click the 'down arrow' and select "Edit."
Next to "Placement:", choose a different placement.
And you're done!
Manual: Go to your Phpfox Admin CP -> CMS -> Blocks -> Manage Blocks
Find the block you want to manually place in a page.
As an example, under "Controllers" click "arcade.game"
Note the block name "arcade::gameinfo"
Now, open the file /module/arcade/template/default/controller/game.html.php
Find your custom location and paste the following code:{module name='arcade.gameinfo'}
Note that this matches our block name from before.
And you're done!
Note: if you just added a duplicate block, you may want to go back into the CMS block manager and remove the old block.