How do you make multiple custom blocks
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.
How do you make multiple custom blocks
Your Portal Version: 1.0.2
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Basic Knowledge
Boardlink: http://nbkillas.com/forum/
What have you done before the problem was there?
What have you already tryed to solve the problem?
Description and Message
If you look at my board I have a Gametracker small custom block...
I also have another one under it that I got there with a simple copy paste in the portal body.html...the problem is that I can't edit the settings of the second box as to what server is displayed inn that box
Is there a way to make multiple custom blocks that i can add these servers to my portal with??
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Basic Knowledge
Boardlink: http://nbkillas.com/forum/
What have you done before the problem was there?
What have you already tryed to solve the problem?
Description and Message
If you look at my board I have a Gametracker small custom block...
I also have another one under it that I got there with a simple copy paste in the portal body.html...the problem is that I can't edit the settings of the second box as to what server is displayed inn that box
Is there a way to make multiple custom blocks that i can add these servers to my portal with??
Re: How do you make multiple custom blocks
You have to make two separate Blocks in your Blocks folder (just make a copy and rename it). Give them separate names, and include both of them in your portal_body.html
kein Support per PN / Messenger
no Support via PM / Messenger
no Support via PM / Messenger
Re: How do you make multiple custom blocks
That works great Thanks for the help
-
- Active Member
- Posts: 9
- Joined: 4. February 2009 16:22
- phpBB.de User: kb0000
- phpBB.com User: kb0000
- Contact:
Re: How do you make multiple custom blocks
I also want to do the same thing. I have made another copy of custom_small as custom_small_2.html
I have included both the files in portal_body.html
But the text and heading shown is same. What I need to do, also the new page settings is not coming in the .Mods section.
I have included both the files in portal_body.html
But the text and heading shown is same. What I need to do, also the new page settings is not coming in the .Mods section.
KB
kunals.com
kunals.com
Re: How do you make multiple custom blocks
No... thats right....
At this time, additional Custom Blocks wont be available in the ACP. You have to edit it by Hand, and copy your Text and Headline in there
At this time, additional Custom Blocks wont be available in the ACP. You have to edit it by Hand, and copy your Text and Headline in there
kein Support per PN / Messenger
no Support via PM / Messenger
no Support via PM / Messenger
-
- Active Member
- Posts: 2
- Joined: 9. February 2009 18:28
- phpBB.de User: nedumeritu
- phpBB.com User: nedumeritu
Re: How do you make multiple custom blocks
Sorry to tell you that there is nothing tro understand from your explanations.Mike wrote:You have to make two separate Blocks in your Blocks folder (just make a copy and rename it). Give them separate names, and include both of them in your portal_body.html
I did all the steps but nothing is working.
Now I have to clean all the mess I have done in all my phpBB and Portal.
No ofense, nothing personal, but first of all, even your proposal is a working one,
you have to explain it more clearly, inn that way so that even you to understand your explanations.
If I receive a serious sollution I can even make a donation but not for something that is
spoiling my work.
Re: How do you make multiple custom blocks
My "explanation" was an answer of rattmans question. And not a general "how to".
He understand what to do, and because of this you cannot say, that there is "nothing to understand".
If you have any trouble, ask your question. Otherwise nobody can help you.
-What do you want,
-What have you done,
-and what did not work?
He understand what to do, and because of this you cannot say, that there is "nothing to understand".
If you have any trouble, ask your question. Otherwise nobody can help you.
-What do you want,
-What have you done,
-and what did not work?
kein Support per PN / Messenger
no Support via PM / Messenger
no Support via PM / Messenger
Re: How do you make multiple custom blocks
Ca u please tell me how I can do that step by step ?
I copied the file but I dont know where to I should add it in the portal_body.html and how I can edit it so that my text is displayed.
Thx in advance
I copied the file but I dont know where to I should add it in the portal_body.html and how I can edit it so that my text is displayed.
Thx in advance
-
- Former Team Member
- Posts: 625
- Joined: 19. January 2008 23:56
- phpBB.de User: thomas.d
- phpBB.com User: thomas.d
- Contact:
Re: How do you make multiple custom blocks
You include your custom block(s) in portal_body.html exactly there where you want them to be displayed like this
Purge template- and theme cache after uploading the altered file/s.
Code: Select all
<!-- INCLUDE portal/block/your_block.html -->
Viele Grüße
Thomas
Deutsche Sprachdateien für
[Alpha] phpBB Calendar 0.0.8 (alightner) | [RC] phpBB Arcade 1.0.RC8 |
ACP Add User MOD 1.0.0 |
Thomas
Deutsche Sprachdateien für
[Alpha] phpBB Calendar 0.0.8 (alightner) | [RC] phpBB Arcade 1.0.RC8 |
ACP Add User MOD 1.0.0 |
Re: How do you make multiple custom blocks
You have to copy your Text in your copy of the Block you made.
This is an example of the custom_center.html from subsilver2. Your block may look different, but you should know what i mean...
Copy the Content of this block, Create a new file, called "custom_center_2.html" and paste the conten in there...
Then you can paste your text like this:
Then open your portal_body.html and look for this line:
After this you see all the block includes within switches. If you add an customblock it only works without such a switch.
Put in the block where you want it to have like this:
Thats all...
EDIT: Thomas was faster again...
EDIT2: and of course:
This is an example of the custom_center.html from subsilver2. Your block may look different, but you should know what i mean...
Code: Select all
<!--version $Id: custom_center.html 216 2008-04-29 07:23:22Z kevin74 $ //-->
<table class="tablebg" cellspacing="1" width="100%">
<tr>
<th>{PORTAL_CUSTOM_CENTER_HEADLINE}</th>
</tr>
<tr class="row1">
<td style="padding:5px 5px 5px 5px;">
<div class="postbody">
{PORTAL_CUSTOM_CENTER_CODE}
</div>
</td>
</tr>
</table>
<br />
Then you can paste your text like this:
Code: Select all
<!--version $Id: custom_center.html 216 2008-04-29 07:23:22Z kevin74 $ //-->
<table class="tablebg" cellspacing="1" width="100%">
<tr>
<th>put_your_Headline_here</th>
</tr>
<tr class="row1">
<td style="padding:5px 5px 5px 5px;">
<div class="postbody">
pur_your_text_here
Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
</div>
</td>
</tr>
</table>
<br />
Code: Select all
<!-- [+] center block area -->
Put in the block where you want it to have like this:
Code: Select all
<!-- INCLUDE portal/block/custom_center_2.html -->
EDIT: Thomas was faster again...
EDIT2: and of course:
thomas.d wrote:Purge template- and theme cache after uploading the altered file/s.
kein Support per PN / Messenger
no Support via PM / Messenger
no Support via PM / Messenger