Two suggested additions: Javascript and custom Post Footers
I have two suggestions:
1) I very much want to be able to use javascript in my posts and pages on my blog (http://blog.captive-aquatics.com). When will TypePad allow this?
2) Custom footers for every post. I'd like to be able to edit a "Post Footer" section in Basic Templates to include text, HTML code, images, and/or javascript that will be at the footer of every post on my blog.
Thanks!
1) I very much want to be able to use javascript in my posts and pages on my blog (http://blog.captive-aquatics.com). When will TypePad allow this?
2) Custom footers for every post. I'd like to be able to edit a "Post Footer" section in Basic Templates to include text, HTML code, images, and/or javascript that will be at the footer of every post on my blog.
Thanks!
3
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?Have you seen the HTML widget in the Design screen? If you look at Weblogs > Design > Content you'll be able to add new side bar modules. If you choose the 'Widgets' category on this page you should see a module labeled 'Embed your own HTML'.
If you add this module you can add any page content you like including javascript.
TypePad currently doesn't support custom post or entry footers, but you could always add javascript code to alter the page. This would allow you to create custom footers without having to create an advanced template for your blog. -
Inappropriate?I'm looking to add javascript directly to my posts or pages, not to the sidebar.
How would I go about using javascript to alter the page footers? -
Inappropriate?Putting javascript into a sidebar widget does not limit it in any way to just affecting sidebar content. The sidebar is part of every page and is simply the place where this customization is available. Javascript is location independent.
To alter the page footers with javascript definitely requires some past javascript experience. However the concept is that you could use javascript to find the <div> tag wrapping the page footer. It has the class name 'footer' so you could find this element via the class name, then replace its contents with any arbitrary HTML.
If you're new to Javascript there's a good Javascript Tutorial on Web Monkey. Lesson three covers the types of things you'd need to know about to alter your footer. -
Inappropriate?A javascript tutorial doesn't include coding for typepad...how would I place a specific javascript on only one post, or one page?
-
Inappropriate?Hi Mike,
I posted the Javascript tutorial because the customization needed to alter the footer requires a base understanding that is better presented by sites like WebMonkey. Since this is a way to customize your blog outside of the TypePad system, there isn't a TypePad specific guide for how to do this.
As for adding javascript to a page or post, maybe you can give some additional detail about what you'd like to do? As I said earlier, you can add javascript to a page by putting it into an HTML widget. You can add javascript in a post by switching to the HTML view of the compose screen editor.
In both places the javascript you add should be within the standard HTML <script> tag, e.g.:
<script type="text/javascript">
// Javascript code here
</script>
If this still doesn't meet your needs maybe an example of what you'd like to do would help. -
Inappropriate?Well, if you look at the bottom of every post on my blog (blog.captive-aquatics.com) you'll see a row of small social bookmark buttons, a banner ad, and three links. I'd like these to appear at the bottom of every post, and I'd like to use a banner rotation script I have. Would you mind assisting me with how to do this?
-
Inappropriate?Or at least how to target different parts of the blog with the javascript would be helpful...
-
Inappropriate?Hi Mike,
This feature has actually been implemented recently and there's even a blog post on everything.typepad.com that addresses the question you have. Check out:
http://everything.typepad.com/blog/20...
No need for messy Javascript! -
Inappropriate?I know about the blog footer, I'm talking about a post footer :)
-
Ah my apologies, I think we've been talking past each other here. Post footer is a lot trickier. Unfortunately I don't think there is a good answer for this using non-advanced templates. -
you can do custom post footers in standard templates, I think - not anything too fancy, but it's there.
in advanced templates, you can adjust this all you like, AFAIK. -
Inappropriate?hello mike. it is indeed possible to include javascript in your post, you can do that by allowing javascript in your browser menu and then instead of composing the message in the richtext post screen, change it to HMTL and then start your post.
with regards to the post footers, its also possible, just go to weblogs> Designs> Content and then check the post footer box and then that's it. ^^
i hope this helps -
Inappropriate?how about javascript in the banner ? Can you do that ?
Loading Profile...



EMPLOYEE
