Ask Your Question
2

Get footer from url?

asked 2011-06-27 08:01:15 -0600

igalanis gravatar image

Could I fetch the HTML for the footer from a url?

I 'm using a CMS to serve html chunks and I already have a footer, which I 'd hate to have to maintain separately.

I 'm guessing I 'll have to modify the python code someplace, but a hint where that place is would be very helpful

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-06-27 12:27:50 -0600

Evgeny gravatar image

updated 2011-06-27 12:30:51 -0600

The simplest is to insert an iframe in askbot/skins/default/templates/blocks/footer.html, but it may not be the best for SEO.

There is no hook currently in the python code to insert footer via an http call, but it could be added.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-06-27 08:01:15 -0600

Seen: 117 times

Last updated: Jun 27 '11