Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Advanced Knowledge
Boardlink: http://thehazey.co.uk
What have you done before the problem was there?
Nothing
What have you already tryed to solve the problem?
Nothing
Description and Message
I want to have two center custom blocks, what code do I need to alter please
Custom Block
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.
-
- Active Member
- Posts: 18
- Joined: 12. February 2009 21:03
- phpBB.de User: webslug
- phpBB.com User: webslug
Re: Custom Block
1) In your styles folder navigate and open portal_body.html or portal_center.html if your using 1.05 or later.
Path;
styles/YOUR STYLE/template/portal
2) Search for "welcome.html", add the welcome2.html lines, as below.
3) Navigate to the following folder
Path;
styles/YOUR THEME/template/portal/block
4) Copy the welcome.html file and paste it in the folder. Rename it to welcome2.html
5) Edit the welcome2.html file to add the new content.
6) Check the Welcome page is enabled in the ACP -> Mods
7) Upload the modified files.
8) Clear your template cache.
Path;
styles/YOUR STYLE/template/portal
2) Search for "welcome.html", add the welcome2.html lines, as below.
Code: Select all
<!-- IF S_DISPLAY_WELCOME -->
<!-- IF S_DISPLAY_WELCOME_GUEST and S_USER_LOGGED_IN -->
<!-- INCLUDE portal/block/welcome.html -->
<!-- INCLUDE portal/block/welcome2.html -->
<!-- ELSE -->
<!-- INCLUDE portal/block/welcome.html -->
<!-- INCLUDE portal/block/welcome2.html -->
<!-- ENDIF -->
<!-- ENDIF -->
3) Navigate to the following folder
Path;
styles/YOUR THEME/template/portal/block
4) Copy the welcome.html file and paste it in the folder. Rename it to welcome2.html
5) Edit the welcome2.html file to add the new content.
6) Check the Welcome page is enabled in the ACP -> Mods
7) Upload the modified files.
8) Clear your template cache.
-
Topic author - Active Member
- Posts: 9
- Joined: 22. January 2010 15:19
- phpBB.com User: vonhazey
- Location: Deepcar
- Contact:
Re: Custom Block
No you miss understand I want to custom blocks that i can edit via the acp at the moment I only have one?