Custom block on another page

Current Version: 1.0.6
Released: 09.01.10
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.
Locked

Topic author
fac7orx
Active Member
Posts: 8
Joined: 17. December 2008 00:56

Custom block on another page

Post by fac7orx »

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?

Topic author
fac7orx
Active Member
Posts: 8
Joined: 17. December 2008 00:56

Re: Custom block on another page

Post by fac7orx »

*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 ;).
Locked

Return to “board3 Portal 1.0.x - English Support”