Your Portal Version: 1.0.2
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner
Boardlink: http://www.pixelsmashers.com/
What have you done before the problem was there?
What have you already tryed to solve the problem?
Description and Message
_________________________
I am trying to make a custom block but only have it specific to another page. I made a new php file and pasted the contents of portal.php in there and then changed the name. It works, but now I am a bit confused about where to go next. I want to add a custom block with custom code only on that renamed portal page. Any ideas?
edit:
I am trying to put the news block in manually and link it to another thread id. Perhaps I can set the forum id manually within the php file?
Custom block on another page
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Re: Custom block on another page
*I figured it out*
I made a new portal body, then copied the index php and renamed it. I took out the blocks I didn't want in the code. Then, I inserted the html code with an include statement into the new portal body. Finally. I copied the custom block code and edited it slightly. Next, I went back to the new portal_body and put div center tags around it. Quite fun indeed
.
I made a new portal body, then copied the index php and renamed it. I took out the blocks I didn't want in the code. Then, I inserted the html code with an include statement into the new portal body. Finally. I copied the custom block code and edited it slightly. Next, I went back to the new portal_body and put div center tags around it. Quite fun indeed
