Ask Your Question

Get footer from url?

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

igalanis's avatar

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

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

Evgeny's avatar

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

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


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

Seen: 237 times

Last updated: Jun 27 '11