Custom Block

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
vonhazey
Active Member
Posts: 9
Joined: 22. January 2010 15:19
phpBB.com User: vonhazey
Location: Deepcar
Contact:

Custom Block

Post by vonhazey »

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
Image Image

webslug
Active Member
Posts: 18
Joined: 12. February 2009 21:03
phpBB.de User: webslug
phpBB.com User: webslug

Re: Custom Block

Post by webslug »

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.

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
vonhazey
Active Member
Posts: 9
Joined: 22. January 2010 15:19
phpBB.com User: vonhazey
Location: Deepcar
Contact:

Re: Custom Block

Post by vonhazey »

No you miss understand I want to custom blocks that i can edit via the acp at the moment I only have one?
Image Image
Locked

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