How to Add Javascript/HTML Tags in a New Block
You can display html and JavaScript tags by using a newly generated block as a foundation.
Requirements
You need to make sure you have the correct set up and that you can login to the admin panel.
You will need to make sure you have made a new block. You can learn how to make a new block by checking out How to Add a Custom Item by Using New Block.
Instructions
When a new block is made, an entry in the database is created relating to the new block. The problem with making a new block from the admin panel is that it is tied to the html editor that is used after making a new block from the admin panel. This makes it impossible to add JavaScript and other custom tags. This tutorial will show you how to add JavaScript in a block so you can add things like Google AdSense.
Here's what you need to do:
1. Make sure you've made a new block and remember the name you assigned to it. We will need to look for that name in the database.
2. Connect to your database via phpMyAdmin or whatever you are using. It is important that you are able to located the database tables. We will be editing the record that matches the new block.
3. Once connected, find the "IndexCompose" table.
4. In the "IndexCompose" table, find the name of the block that you added. You can then edit the content field.
For example, you can add HTML or Google search script:
You can see a sample here on the front of BoonexNerd.com.
Download(s)
N/A
Addendum
N/A

|