Adding HTML code, but where?
-
koltregaskes
- Regular
- Posts: 59
- Joined: Tue Jan 30, 2007 8:31 am
- Location: Thatcham, Berkshire, UK
- Contact:
Adding HTML code, but where?
I'm trying to add HTML code from MyBlogLog to verify my site. They want it in the first <HEAD> section of the page, before the first <BODY> section but I what file is that exactly?
You've got two options.
You'll could modify the index.tpl in your template's directory. This will be overwritten with the next update to the template. You could copy it into a new directory before you make the modifications to get around that, but then you won't get any improvements that are made the next time the template is updated.
The better option is install the HTML Nugget EVENT plugin. Go to your admin page and click the Configure Plugins link. Scroll down to the event plugins and click "Add a new event plugin". Find the HTML in Head plugin (might be a slightly different name). Click the install icon.
The configuration for the plugin will be shown. Choose where you want the HTML to appear and type in the HTML you want. You're done! This won't be overwritten on the next upgrade, and you get to keep any improvements that come along later.
You'll could modify the index.tpl in your template's directory. This will be overwritten with the next update to the template. You could copy it into a new directory before you make the modifications to get around that, but then you won't get any improvements that are made the next time the template is updated.
The better option is install the HTML Nugget EVENT plugin. Go to your admin page and click the Configure Plugins link. Scroll down to the event plugins and click "Add a new event plugin". Find the HTML in Head plugin (might be a slightly different name). Click the install icon.
The configuration for the plugin will be shown. Choose where you want the HTML to appear and type in the HTML you want. You're done! This won't be overwritten on the next upgrade, and you get to keep any improvements that come along later.
-
koltregaskes
- Regular
- Posts: 59
- Joined: Tue Jan 30, 2007 8:31 am
- Location: Thatcham, Berkshire, UK
- Contact:
Yes, "top of content" puts the HTML before the entries, while "bottom of content" puts it after the entries, both in the main page.
If you want to add some HTML to the sidebars, use the sidebar plugin called HTML Nugget. You'll get to enter your HTML, then you can use s9y's nifty drag-and-drop to change the order your sidebar boxes are displayed in.
If you want to add some HTML to the sidebars, use the sidebar plugin called HTML Nugget. You'll get to enter your HTML, then you can use s9y's nifty drag-and-drop to change the order your sidebar boxes are displayed in.