Add a Block
To add a Block to your page:- In your Game Portal project, go to the Pages tab and create a new page or edit an existing one.
- At the top of the page, click the Manage Blocks tab. The Blocks editor opens with some default Blocks to help you get started.
-
Click Add New Block and select the type of Block you want to add from the drop-down menu:
- Image: Add images to the page.
- Video: Add videos to the page.
- Content Preview: Display previews of your News and Articles.
- CTA: Insert a call-to-action button.
-
HTML: Embed custom design elements using HTML code.
The HTML Block only supports inline styles.
- Daily Bonus: Display the Daily Bonus panel so they can view their reward directly from the page.
-
Progress Bar: Display the Progress Bar offer so they can track their current progress directly from the page.
The Daily Bonus and Progress Bar are only visible to players who are logged in.
- The new Block is added to the list of Blocks on the page.
Configure a Block
To edit the information in a Block:- In your Game Portal project, go to the Pages tab and you’ll see a list of all your pages.
- Click the ellipsis of the page you want to edit, and then click Edit.
- Click the Manage Blocks tab.
- Click the Block you want to configure to view the fields you can edit.
- Complete the required fields for the Blocks you’re using:
Image
Image
- In the Image Block, click Item #1.
-
In Default Image, click Upload to open the Upload Image window. Add an image using one of these methods:
- To upload an image from the computer, do one of the following:
- Click the Upload tab and select a file from your computer.
- Drag and drop a file into the window.
- To select an existing image from the Assets Library:
- Click the Media tab.
- Select an image from the Assets Library and click Save.
- Click the image to reopen the Upload Image window and click the Upload tab to complete the remaining fields.
- To use an online image:
- Toggle Image URL on.
- Enter the image URL.
- To upload an image from the computer, do one of the following:
- Assign the image an ID Number.
- Click the drop-down menu and select an image category such as General or Product.
- Click Save. The window closes.
-
To add a mobile version of the image:
- In the Mobile Image box, click Upload.
- Follow the instructions in Step 2.
Uploading a Mobile Image replaces the Default Image when the page is viewed on a mobile device. - Add a Redirect URL.
-
Click the Visibility drop-down menu to select the Block visibility:
- Visible To All (default): The Block is visible to all visitors.
- Logged In Only: The Block is visible only to players who are logged in.
- Logged Out Only The Block is visible only to players who are logged out.
- In Segments, enter segment names to display the Block to select groups of players.
- Click Add Item to add another image.
Video
Video
- In the Video Block, click Item #1 to view the fields.
- In the Video URL field, paste the URL of the video.
-
In the Mobile Video URL field, paste a video URL to display a mobile version of the video.
Entering a Mobile Video URL replaces the Video URL when the page is viewed on a mobile device.
- Enable Autoplay to start the video automatically.
-
Click the Visibility drop-down menu to select the Block visibility:
- Visible To All (default): The Block is visible to all visitors.
- Logged In Only: The Block is shown only to players who are logged in.
- Logged Out Only: The Block is shown only to players who are logged out.
- In Segments, enter segment names to display the Block to select groups of players.
- Click Add Item to add another video.
Content Preview
Content Preview
- In Content Type, select which content type to display: News or Article.
- In Title, enter the title that will appear above the preview.
- In Max items, set the number of content items you want displayed in the preview.
-
Click the Visibility drop-down menu to select the Block visibility:
- Visible to Everyone (default): The Block is shown to all visitors.
- Logged-in Users Only: The Block is shown only to players who are logged in.
- Logged-out Users Only: The Block is shown only to players who are logged out.
- In Segments, enter segment names to display the Block to select groups of players.
CTA
CTA
- In the CTA Block, open Item #1.
-
In Default Asset, click Upload to open the Upload Image window. Add an image using one of these methods:
- To upload an image from the computer, do one of the following:
- Click the Upload tab and select a file from your computer.
- Drag and drop a file into the window.
- To select an existing image from the Assets Library:
- Click the Media tab.
- Select an image from the Assets Library and click Save.
- Click on the image to reopen the Upload Image window and click the Upload tab to complete the remaining fields.
- To upload an image from the computer, do one of the following:
-
To add a mobile version of the image:
- In the Mobile Asset field, click Upload.
- Follow the instructions in Step 2.
Uploading a Mobile Asset replaces the Default Asset when the page is viewed on a mobile device. - Add a Redirect URL.
- Select External Web Store Redirect if the redirect link as an external web store URL.
- In Button Text, enter a label for the CTA button.
-
Click the Visibility drop-down menu to select the Block visibility:
- Visible to Everyone (default): The Block is shown to all visitors.
- Logged-in Users Only: The Block is shown only to players who are logged in.
- Logged-out Users Only: The Block is shown only to players who are logged out.
- In Segments, enter segment names to display the Block to select groups of players.
HTML
HTML
- Click the HTML Block to view the HTML field.
-
Click inside the HTML editor box and enter your HTML:
- The field is required and you must enter a value.
- If you need styling, use inline styles. For example:
<div style="...">...</div>.
-
Click the Visibility drop-down menu to select the Block visibility:
- Visible To All (default): The Block is visible to all visitors.
- Logged In Only: The Block is visible only to players who are logged in.
- Logged Out Only The Block is visible only to players who are logged out.
- In Segments, enter segment names to display the Block to select groups of players.
Progress Bar
Progress Bar
-
In Default Background Image, click Upload to open the Upload Image window. Add an image using one of these methods:
- To upload an image from the computer, do one of the following:
- Click the Upload tab and select a file from your computer.
- Drag and drop a file into the window.
- To select an existing image from the Assets Library:
- Click the Media tab.
- Select an image from the Assets Library and click Save. The image is saved and the Upload Image window closes.
- Click on the image to reopen the Upload Image window and click the Upload tab to complete the remaining fields.
- To use an online image:
- Toggle Image URL on.
- Enter the image URL.
- To upload an image from the computer, do one of the following:
- Assign the image an ID Number.
- Click the drop-down menu and select an image category such as General or Product.
- Click Save. The window closes.
-
To add a mobile version of the image:
- In the Mobile Background Image box, click Upload.
- Follow the instructions in Step 2.
Uploading a Mobile Image replaces the Default Image when the page is viewed on a mobile device. - Add a Redirect URL.
- Select External Web Store Redirect if the redirect link as an external web store URL.
-
Click the Visibility drop-down menu to select the Block visibility:
- Visible To All (default): The Block is visible to all visitors.
- Logged In Only: The Block is visible only to players who are logged in.
- Logged Out Only The Block is visible only to players who are logged out.
- In Segments, enter segment names to display the Block to select groups of players.
Daily Bonus
Daily Bonus
-
In Default Background Image, click Upload to open the Upload Image window. Add an image using one of these methods:
- To upload an image from the computer, do one of the following:
- Click the Upload tab and select a file from your computer.
- Drag and drop a file into the window.
- To select an existing image from the Assets Library:
- Click the Media tab.
- Select an image from the Assets Library and click Save. The image is saved and the Upload Image window closes.
- Click on the image to reopen the Upload Image window and click the Upload tab to complete the remaining fields.
- To use an online image:
- Toggle Image URL on.
- Enter the image URL.
- To upload an image from the computer, do one of the following:
- Assign the image an ID Number.
- Click the drop-down menu and select an image category such as General or Background.
- Click Save. The window closes.
-
To add a mobile version of the background image:
- In the Mobile Background Image box, click Upload.
- Follow the instructions in Step 2.
Uploading a Mobile Image replaces the Default Image when the page is viewed on a mobile device. - Add a Redirect URL.
- Enable External Web Store Redirect if the redirect link as an external web store URL.
-
Click the Visibility drop-down menu to select the Block visibility:
- Visible To All (default): The Block is visible to all visitors.
- Logged In Only: The Block is visible only to players who are logged in.
- Logged Out Only The Block is visible only to players who are logged out.
- In Segments, enter segment names to display the Block to select groups of players.
- On the top-right of the page, click Update to save your changes.
Reorder a Block
To move the Blocks to different spots in the page layout:- In your Game Portal project, go to the Pages tab and you’ll see a list of all your pages.
- Click the ellipsis of the page you want to edit, and then select Edit.
- Click the Manage Blocks tab.
- Use the drag handle to hold and drag the Block to the desired position in the layout.
Delete a Block
- In your Game Portal project, go to the Pages tab and you’ll see a list of all your pages.
- Click the ellipsis of the page you want to edit, and then select Edit.
- Click the Manage Blocks tab.
- Locate the Block you want to delete, and then click the trash icon on the right side of the Block.
Export and import a Block
You can export and import Blocks to resue them in a different page. To export a Block:- On the top of the page, click Export.
- The page’s Blocks are downloaded as a JSON file.
- Go to the page where you want to add the Blocks, and then click Import to upload the downloaded JSON file from your computer.
- The imported Blocks will appear on your page.
